parser_aux.c File Reference

#include <int.h>
#include "parser_aux.h"
#include "gstr.h"
#include "structure.h"
#include "element.h"

Include dependency graph for parser_aux.c:

Go to the source code of this file.

Typedefs

typedef struct list_struct list_type

Functions

node_asnMHD__asn1_add_node (unsigned int type)
: null terminated string with the element's name to find.
MHD__asn1_find_node: : NODE_ASN element pointer.

Searches for an element called NAME starting from POINTER. The name is composed by differents identifiers separated by dots. When *POINTER has a name, the first identifier must be the name of *POINTER, otherwise it must be the name of one child of *POINTER.

Return value: the searching result. NULL if not found.

ASN1_TYPE MHD__asn1_find_node (ASN1_TYPE pointer, const char *name)
node_asnMHD__asn1_set_value (node_asn *node, const void *_value, unsigned int len)
node_asnMHD__asn1_set_name (node_asn *node, const char *name)
node_asnMHD__asn1_set_right (node_asn *node, node_asn *right)
node_asnMHD__asn1_set_down (node_asn *node, node_asn *down)
void MHD__asn1_remove_node (node_asn *node)
node_asnMHD__asn1_find_up (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)
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)

Variables

char MHD__asn1_identifierMissing [MAX_NAME_SIZE+1]
list_typeMHD_firstElement = NULL


Typedef Documentation

typedef struct list_struct list_type


Function Documentation

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().

Here is the caller graph for this function:

MHD__asn1_retCode MHD__asn1_change_integer_value ( ASN1_TYPE  node  ) 

MHD__asn1_retCode MHD__asn1_check_identifier ( ASN1_TYPE  node  ) 

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().

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

MHD__asn1_retCode MHD__asn1_expand_object_id ( ASN1_TYPE  node  ) 

ASN1_TYPE MHD__asn1_find_node ( ASN1_TYPE  pointer,
const char *  name 
)

node_asn* MHD__asn1_find_up ( node_asn node  ) 

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().

Here is the caller graph for this function:

void MHD__asn1_remove_node ( node_asn node  ) 

node_asn* MHD__asn1_set_down ( node_asn node,
node_asn down 
)

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_value ( node_asn node,
const void *  _value,
unsigned int  len 
)


Variable Documentation

char MHD__asn1_identifierMissing[MAX_NAME_SIZE+1]

Definition at line 31 of file parser_aux.c.

Referenced by MHD__asn1_array2tree(), and MHD__asn1_check_identifier().


Generated on Fri Feb 27 18:32:23 2009 for GNU libmicrohttpd by  doxygen 1.5.7.1