|
|
 |
 |
|
asn1XerCTypes.h File Reference
Detailed Description
#include <stdio.h>
#include <stdlib.h>
#include <setjmp.h>
#include "asn1xer.h"
#include "csaxParser.h"
Go to the source code of this file.
|
Classes |
| struct | ASN1SAXCDecodeHandlerBase |
Defines |
|
#define | ISCOMPLETE(e) (e->mSaxBase.mLevel == e->mSaxBase.mStartLevel) |
|
#define | ASN1SAXCTRY(pctxt, stat) if ((stat = setjmp((pctxt)->jmpMark)) == 0) |
| #define | ASN1SAXCTHROW(pctxt, stat) |
|
#define | ASN1SAXCCATCH else |
|
#define | STRX(pctxt, pWideStr) xerTextToCStr ((pctxt), (pWideStr)) |
|
#define | LSTRX(pctxt, pLStr) strcpy ((char*)ASN1MALLOC (pctxt, strlen (pLStr) + 1), (pLStr)) |
| #define | XERCDIAGSTRM2(pctxt, a) RTDIAGSTRM2(pctxt,a) |
|
#define | XERCDIAGSTRM3(pctxt, a, b) RTDIAGSTRM3(pctxt,a,b) |
| #define | XERCDIAGSTRM4(pctxt, a, b, c) |
|
#define | DECLARE_NON_COMPACT_VAR(type, var) type var |
Typedefs |
|
typedef void(* | ASN1XERStartElementHandler )(void *userData, ASN1Const XMLCHAR *name, ASN1Const XMLCHAR **atts) |
|
typedef void(* | ASN1XEREndElementHandler )(void *userData, ASN1Const XMLCHAR *name) |
|
typedef void(* | ASN1XERCharacterHandler )(void *userData, ASN1Const XMLCHAR *s, int len) |
|
typedef ASN1SAXCDecodeHandlerBase | ASN1SAXCDecodeHandlerBase |
Define Documentation
| #define ASN1SAXCTHROW |
( |
pctxt, |
|
|
stat |
|
) |
|
|
|
|
Value: do { LOG_ASN1ERR ((pctxt), stat); \
longjmp((pctxt)->jmpMark, stat); } while (0)
|
| #define XERCDIAGSTRM2 |
( |
pctxt, |
|
|
a |
|
) |
RTDIAGSTRM2(pctxt,a) |
|
| #define XERCDIAGSTRM4 |
( |
pctxt, |
|
|
a, |
|
|
b, |
|
|
c |
|
) |
|
|
|
|
Value: do { \
void* p = (void*)b; \
RTDIAGSTRM4(pctxt,a,p,c ); \
ASN1MEMFREEPTR(pctxt,p); \
} while (0)
|
|
This document may be distributed in any form, electronic
or otherwise, provided that it is distributed in its entirety
and that the copyright and this notice are included.
|
This file was last modified on
1 Oct 2004. ASN1C XER Runtime, ASN1C v5.7x |
|