lib/cfg_parse.c
/**
 * This function initializes a cfg_struct, and must be called before
 * performing any further operations.
 * @return Pointer to newly initialized cfg_struct object.
 */
This function initializes a cfg_struct, and must be called before
performing any further operations.
@return Pointer to newly initialized cfg_struct object.
This function initializes a cfg_struct and must be called before performing any further operations . @return Pointer to newly initialized cfg_struct object .
struct cfg_struct * cfg_init()
{
  struct cfg_struct *temp;
  temp = (struct cfg_struct *)cfg_malloc(sizeof(struct cfg_struct));
  temp->head = NULL;
  return temp;
}
struct cfg_struct * cfg_init ( ) { struct cfg_struct * temp ; temp = ( struct cfg_struct * ) cfg_malloc ( sizeof ( struct cfg_struct ) ) ; temp -> head = NULL ; return temp ; }
This function initializes a cfg_struct, and must be called before
 performing any further operations.
This function initializes a cfg_struct and must be called before performing any further operations .