Bump version.
[libtasn1.git] / lib / parser_aux.h
blob3055510cbefb04c6c72bfc1028f4af19214fa5c6
2 #ifndef _PARSER_AUX_H
3 #define _PARSER_AUX_H
6 /***************************************/
7 /* Functions used by ASN.1 parser */
8 /***************************************/
9 node_asn *
10 _asn1_add_node(unsigned int type);
12 node_asn *
13 _asn1_set_value(node_asn *node,const void *value,unsigned int len);
15 node_asn *
16 _asn1_set_name(node_asn *node,const char *name);
18 node_asn *
19 _asn1_set_right(node_asn *node,node_asn *right);
21 node_asn *
22 _asn1_get_right(node_asn *node);
24 node_asn *
25 _asn1_get_last_right(node_asn *node);
27 node_asn *
28 _asn1_set_down(node_asn *node,node_asn *down);
30 char *
31 _asn1_get_name(node_asn *node);
33 node_asn *
34 _asn1_get_down(node_asn *node);
36 node_asn *
37 _asn1_mod_type(node_asn *node,unsigned int value);
39 void
40 _asn1_remove_node(node_asn *node);
42 void _asn1_delete_list(void);
44 void _asn1_delete_list_and_nodes(void);
46 char * _asn1_ltostr(long v,char *str);
48 node_asn * _asn1_find_up(node_asn *node);
50 asn1_retCode _asn1_change_integer_value(ASN1_TYPE node);
52 asn1_retCode _asn1_expand_object_id(ASN1_TYPE node);
54 asn1_retCode _asn1_type_set_config(ASN1_TYPE node);
56 asn1_retCode _asn1_check_identifier(ASN1_TYPE node);
58 asn1_retCode _asn1_set_default_tag(ASN1_TYPE node);
60 #endif