aboutsummaryrefslogtreecommitdiffstats
path: root/libasn1print/asn1print.h
blob: 02ac4bea34d49269a6a8745a5252cd4aa35dc48c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef	ASN1PRINT_H
#define	ASN1PRINT_H

enum asn1print_flags {
	APF_NOFLAGS,
	APF_NOINDENT		= 0x01,	/* Disable indentation */
	APF_LINE_COMMENTS	= 0x02, /* Include line comments */
	APF_PRINT_XML_DTD	= 0x04,	/* Generate XML DTD */
	APF_PRINT_CONSTRAINTS	= 0x08,	/* Explain constraints */
	APF_PRINT_CLASS_MATRIX	= 0x10,	/* Dump class matrix */
};

/*
 * Print the contents of the parsed ASN.1 syntax tree.
 */
int asn1print(asn1p_t *asn, enum asn1print_flags flags);


#endif	/* ASN1PRINT_H */