aboutsummaryrefslogtreecommitdiffstats
path: root/libasn1print/asn1print.h
blob: 51233e99e7b31836727b71a602b0e97c3abe4690 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#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 */
};

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


#endif	/* _ASN1PRINT_H_ */