Go to the source code of this file.
Functions | |
node_asn * | MHD__asn1_add_node (unsigned int type) |
node_asn * | MHD__asn1_set_value (node_asn *node, const void *value, unsigned int len) |
node_asn * | MHD__asn1_set_name (node_asn *node, const char *name) |
node_asn * | MHD__asn1_set_right (node_asn *node, node_asn *right) |
node_asn * | MHD__asn1_set_down (node_asn *node, node_asn *down) |
void | MHD__asn1_remove_node (node_asn *node) |
void | MHD__asn1_delete_list (void) |
void | MHD__asn1_delete_list_and_nodes (void) |
char * | MHD__asn1_ltostr (long v, char *str) |
node_asn * | MHD__asn1_find_up (node_asn *node) |
MHD__asn1_retCode | MHD__asn1_change_integer_value (ASN1_TYPE node) |
MHD__asn1_retCode | MHD__asn1_expand_object_id (ASN1_TYPE node) |
MHD__asn1_retCode | MHD__asn1_check_identifier (ASN1_TYPE node) |
node_asn* MHD__asn1_add_node | ( | unsigned int | type | ) |
Definition at line 58 of file parser_aux.c.
References MHD__asn1_calloc, MHD__asn1_free, MHD__asn1_malloc, MHD_firstElement, and node_asn_struct::type.
Referenced by MHD__asn1_array2tree().
MHD__asn1_retCode MHD__asn1_change_integer_value | ( | ASN1_TYPE | node | ) |
Definition at line 428 of file parser_aux.c.
References ASN1_ELEMENT_NOT_FOUND, ASN1_SUCCESS, CONST_ASSIGN, node_asn_struct::down, MHD__asn1_convert_integer(), MHD__asn1_find_up(), MHD__asn1_octet_der(), MHD__asn1_set_value(), node_asn_struct::right, SIZEOF_UNSIGNED_LONG_INT, node_asn_struct::type, type_field, TYPE_INTEGER, and node_asn_struct::value.
Referenced by MHD__asn1_array2tree().
MHD__asn1_retCode MHD__asn1_check_identifier | ( | ASN1_TYPE | node | ) |
Definition at line 682 of file parser_aux.c.
References ASN1_ELEMENT_NOT_FOUND, ASN1_IDENTIFIER_NOT_FOUND, ASN1_SUCCESS, CONST_ASSIGN, CONST_DEFAULT, node_asn_struct::down, MAX_NAME_SIZE, MHD__asn1_find_node(), MHD__asn1_find_up(), MHD__asn1_identifierMissing, MHD__asn1_str_cat(), MHD__asn1_str_cpy(), node_asn_struct::name, node_asn_struct::right, node_asn_struct::type, TYPE_CONSTANT, TYPE_DEFAULT, type_field, TYPE_IDENTIFIER, TYPE_OBJECT_ID, and node_asn_struct::value.
Referenced by MHD__asn1_array2tree().
void MHD__asn1_delete_list | ( | void | ) |
Definition at line 351 of file parser_aux.c.
References MHD__asn1_free, and MHD_firstElement.
Referenced by MHD__asn1_array2tree().
void MHD__asn1_delete_list_and_nodes | ( | void | ) |
Definition at line 369 of file parser_aux.c.
References MHD__asn1_free, MHD__asn1_remove_node(), and MHD_firstElement.
Referenced by MHD__asn1_array2tree().
MHD__asn1_retCode MHD__asn1_expand_object_id | ( | ASN1_TYPE | node | ) |
Definition at line 496 of file parser_aux.c.
References ASN1_ELEMENT_NOT_FOUND, ASN1_SUCCESS, CONST_ASSIGN, CONST_DEFAULT, node_asn_struct::down, DOWN, MAX_NAME_SIZE, MHD__asn1_add_node_only(), MHD__asn1_find_node(), MHD__asn1_find_up(), MHD__asn1_remove_node(), MHD__asn1_set_down(), MHD__asn1_set_name(), MHD__asn1_set_right(), MHD__asn1_set_value(), MHD__asn1_str_cat(), MHD__asn1_str_cpy(), node_asn_struct::name, RIGHT, node_asn_struct::right, node_asn_struct::type, TYPE_CONSTANT, TYPE_DEFAULT, type_field, TYPE_OBJECT_ID, UP, and node_asn_struct::value.
Referenced by MHD__asn1_array2tree().
Definition at line 330 of file parser_aux.c.
References node_asn_struct::left, and node_asn_struct::right.
Referenced by MHD__asn1_array2tree(), MHD__asn1_change_integer_value(), MHD__asn1_check_identifier(), MHD__asn1_copy_structure3(), MHD__asn1_delete_not_used(), MHD__asn1_delete_structure(), MHD__asn1_der_coding(), MHD__asn1_der_decoding(), MHD__asn1_der_decoding_startEnd(), MHD__asn1_expand_identifier(), MHD__asn1_expand_object_id(), MHD__asn1_hierarchical_name(), and MHD__asn1_type_choice_config().
char* MHD__asn1_ltostr | ( | long | v, | |
char * | str | |||
) |
Definition at line 384 of file parser_aux.c.
Referenced by MHD__asn1_append_sequence_set(), MHD__asn1_der_coding(), MHD__asn1_der_decoding(), MHD__asn1_get_objectid_der(), and MHD__asn1_insert_tag_der().
void MHD__asn1_remove_node | ( | node_asn * | node | ) |
Definition at line 310 of file parser_aux.c.
References MHD__asn1_free, node_asn_struct::name, and node_asn_struct::value.
Referenced by MHD__asn1_delete_list_and_nodes(), MHD__asn1_delete_structure(), MHD__asn1_expand_identifier(), and MHD__asn1_expand_object_id().
Definition at line 292 of file parser_aux.c.
References node_asn_struct::down, and node_asn_struct::left.
Referenced by MHD__asn1_array2tree(), MHD__asn1_copy_structure3(), MHD__asn1_delete_structure(), MHD__asn1_expand_identifier(), MHD__asn1_expand_object_id(), and MHD__asn1_type_choice_config().
Definition at line 237 of file parser_aux.c.
References MHD__asn1_free, MHD__asn1_strdup, and node_asn_struct::name.
Referenced by MHD__asn1_append_sequence_set(), MHD__asn1_array2tree(), MHD__asn1_complete_explicit_tag(), MHD__asn1_copy_structure3(), MHD__asn1_create_element(), MHD__asn1_expand_identifier(), MHD__asn1_expand_object_id(), and MHD__asn1_insert_tag_der().
Definition at line 272 of file parser_aux.c.
References node_asn_struct::left, and node_asn_struct::right.
Referenced by MHD__asn1_append_sequence_set(), MHD__asn1_array2tree(), MHD__asn1_copy_structure3(), MHD__asn1_delete_structure(), MHD__asn1_expand_identifier(), MHD__asn1_expand_object_id(), and MHD__asn1_type_choice_config().
Definition at line 203 of file parser_aux.c.
References MHD__asn1_free, MHD__asn1_malloc, node_asn_struct::value, and node_asn_struct::value_len.
Referenced by MHD__asn1_array2tree(), MHD__asn1_change_integer_value(), MHD__asn1_copy_structure3(), MHD__asn1_der_coding(), MHD__asn1_der_decoding(), MHD__asn1_expand_object_id(), MHD__asn1_get_octet_string(), MHD__asn1_type_choice_config(), and MHD__asn1_write_value().