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

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

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


#endif	/* _ASN1PRINT_H_ */