/* Port the net-snmp API */
Int asn_check_packet (uchar * Pkt, size_t Len );
Uchar * asn_parse_int (uchar * data, size_t * datalength, uchar * type, long * INTP,
Size_t intsize );
Uchar * asn_build_int (uchar * data, size_t * datalength, uchar type, long * intsize,
Size_t );
Uchar * asn_parse_unsigned_int (uchar * data, size_t * datalength, uchar * type,
Ulong * INTP, size_t intsize );
Uchar * asn_build_unsigned_int (uchar * data, size_t * datalength, uchar type,
Ulong * INTP, size_t intsize );
Uchar * asn_parse_string (uchar * data, size_t * datalength, uchar * type,
Uchar * string, size_t * strlength );
Uchar * asn_build_string (uchar * data, size_t * datalength, uchar type,
Const uchar * string, size_t strlength );
Uchar * asn_parse_header (uchar * data, size_t * datalength, uchar * type );
Uchar * asn_parse_sequence (uchar * data, size_t * datalength, uchar * type, uchar expected_type,/* must be this type */
Const char * estr);/* error message prefix */
Uchar * asn_build_header (uchar * data, size_t * datalength, uchar type, size_t length );
Uchar * asn_build_sequence (uchar * data, size_t * datalength, uchar type, size_t length );
Uchar * asn_parse_length (uchar * data, ulong * length );
Uchar * asn_build_length (uchar * data, size_t * datalength, size_t length );
Uchar * asn_parse_objid (uchar * data, size_t * datalength, uchar * type, ulong * objid,
Size_t * objidlength );
Uchar * asn_build_objid (uchar * data, size_t * datalength, uchar type, ulong * objid,
Size_t objidlength );
Uchar * asn_parse_null (uchar * data, size_t * datalength, uchar * type );
Uchar * asn_build_null (uchar * data, size_t * datalength, uchar type );
Uchar * asn_parse_bitstring (uchar * data, size_t * datalength, uchar * type,
Uchar * string, size_t * strlength );
Uchar * asn_build_bitstring (uchar * data, size_t * datalength, uchar type,
Uchar * string, size_t strlength );
Uchar * asn_parse_unsigned_int64 (uchar * data, size_t * datalength, uchar * type,
Struct counter64 * CP, size_t countersize );
Uchar * asn_build_unsigned_int64 (uchar * data, size_t * datalength, uchar type,
Struct counter64 * CP, size_t countersize );
Uchar * asn_parse_signed_int64 (uchar * data, size_t * datalength, uchar * type,
Struct counter64 * CP, size_t countersize );
Uchar * asn_build_signed_int64 (uchar * data, size_t * datalength, uchar type,
Struct counter64 * CP, size_t countersize );
Uchar * asn_build_float (uchar * data, size_t * datalength, uchar type, float *,
Size_t );
Uchar * asn_parse_float (uchar * data, size_t * datalength, uchar * type, float * floatp,
Size_t floatsize );
Uchar * asn_build_double (uchar * data, size_t * datalength, uchar type, double * doublep,
Size_t doublesize );
Uchar * asn_parse_double (uchar * data, size_t * datalength, uchar * type,
Double * doublep, size_t doublesize );