| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
#ifndef _PRINTHANDLER_H_ |
| 24 |
#define _PRINTHANDLER_H_ |
| 25 |
|
| 26 |
#include "eventHandler.h" |
| 27 |
|
| 28 |
extern EventHandler printHandler; |
| 29 |
|
| 30 |
void initializePrintHandler(EventHandler *printHandler, char * varname); |
| 31 |
void finishPrint(void); |
| 32 |
void indent (void); |
| 33 |
void printStartElement (const char* name, int index ); |
| 34 |
void printEndElement (const char* name, int index ); |
| 35 |
void printBoolValue (ASN1BOOL value); |
| 36 |
void printIntValue (ASN1INT value); |
| 37 |
void printuIntValue (ASN1UINT value); |
| 38 |
void printBitStrValue (ASN1UINT numbits, const ASN1OCTET* data); |
| 39 |
void printOctStrValue (ASN1UINT numocts, const ASN1OCTET* data); |
| 40 |
void printCharStrValue (const char* value); |
| 41 |
void printCharStr16BitValue (ASN1UINT nchars, ASN116BITCHAR* data); |
| 42 |
void printNullValue (void); |
| 43 |
void printOidValue (ASN1UINT numSubIds, ASN1UINT* pSubIds); |
| 44 |
void printEnumValue (ASN1UINT value); |
| 45 |
void printOpenTypeValue (ASN1UINT numocts, const ASN1OCTET* data); |
| 46 |
|
| 47 |
#endif |