Debian Codegraph @

addons/ooh323c/src/printHandler.h

raw symbols SCIP
1 /*
2 * Copyright (C) 2004-2005 by Objective Systems, Inc.
3 *
4 * This software is furnished under an open source license and may be
5 * used and copied only in accordance with the terms of this license.
6 * The text of the license may generally be found in the root
7 * directory of this installation in the COPYING file. It
8 * can also be viewed online at the following URL:
9 *
10 * http://www.obj-sys.com/open/license.html
11 *
12 * Any redistributions of this file including modified versions must
13 * maintain this copyright notice.
14 *
15 *****************************************************************************/
16 /**
17 @file printHandler.h
18 This is an implementation of a simple print handler. It outputs
19 the fields of an encoded PER message to stdout in a structured output
20 format..
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