S2OPC OPCUA Toolkit
|
#include <stdarg.h>
#include <stdbool.h>
#include <stddef.h>
#include "expat.h"
Go to the source code of this file.
Data Structures | |
struct | SOPC_HelperExpatCtx |
Macros | |
#define | SKIP_TAG_LEN 256 |
#define | LOG(str) |
#define | LOG_XML_ERROR(parser, str) |
#define | LOGF(format, ...) |
#define | LOG_XML_ERRORF(parser, format, ...) |
#define | LOG_MEMORY_ALLOCATION_FAILURE LOG("Memory allocation failure") |
Typedefs | |
typedef struct SOPC_HelperExpatCtx | SOPC_HelperExpatCtx |
Functions | |
void | SOPC_HelperExpat_CharDataReset (SOPC_HelperExpatCtx *ctx) |
bool | SOPC_HelperExpat_CharDataAppend (SOPC_HelperExpatCtx *ctx, const char *data, size_t len) |
const char * | SOPC_HelperExpat_CharDataStripped (SOPC_HelperExpatCtx *ctx) |
void | SOPC_HelperExpat_PushSkipTag (SOPC_HelperExpatCtx *ctx, const char *name) |
bool | SOPC_HelperExpat_IsSkipTagActive (SOPC_HelperExpatCtx *ctx) |
bool | SOPC_HelperExpat_PopSkipTag (SOPC_HelperExpatCtx *ctx, const char *name) |
const char * | SOPC_HelperExpat_GetAttr (SOPC_HelperExpatCtx *ctx, const char *attrName, const XML_Char **attrs) |
#define SKIP_TAG_LEN 256 |
#define LOG | ( | str | ) |
#define LOG_XML_ERROR | ( | parser, | |
str ) |
#define LOGF | ( | format, | |
... ) |
#define LOG_XML_ERRORF | ( | parser, | |
format, | |||
... ) |
#define LOG_MEMORY_ALLOCATION_FAILURE LOG("Memory allocation failure") |
typedef struct SOPC_HelperExpatCtx SOPC_HelperExpatCtx |
void SOPC_HelperExpat_CharDataReset | ( | SOPC_HelperExpatCtx * | ctx | ) |
bool SOPC_HelperExpat_CharDataAppend | ( | SOPC_HelperExpatCtx * | ctx, |
const char * | data, | ||
size_t | len ) |
const char * SOPC_HelperExpat_CharDataStripped | ( | SOPC_HelperExpatCtx * | ctx | ) |
void SOPC_HelperExpat_PushSkipTag | ( | SOPC_HelperExpatCtx * | ctx, |
const char * | name ) |
bool SOPC_HelperExpat_IsSkipTagActive | ( | SOPC_HelperExpatCtx * | ctx | ) |
bool SOPC_HelperExpat_PopSkipTag | ( | SOPC_HelperExpatCtx * | ctx, |
const char * | name ) |
const char * SOPC_HelperExpat_GetAttr | ( | SOPC_HelperExpatCtx * | ctx, |
const char * | attrName, | ||
const XML_Char ** | attrs ) |