/mnt/hgfs/jamie_On_My_Mac/store/version_control/svn/integralive/library/trunk/Integra/integra_path.h File Reference

#include <Integra/integra_error.h>

Go to the source code of this file.

Data Structures

struct  ntg_path_
struct  ntg_node_list_
 node list expressed as an array of paths More...

Typedefs

typedef struct ntg_path_ ntg_path
typedef struct ntg_node_list_ ntg_node_list
 node list expressed as an array of paths

Functions

ntg_pathntg_path_from_string (const char *path_string)
 create an ntg_path from a '.' delimited string
char * ntg_path_to_string (const ntg_path *path)
 create a '.' delimited string from a '.' delimited path
char * ntg_path_pop_element (const ntg_path *path, ntg_path **new_path)
ntg_pathntg_path_append_element (ntg_path *path, const char *element)
ntg_pathntg_path_join (ntg_path *start, ntg_path *end)
ntg_error_code ntg_path_validate (const ntg_path *path)
ntg_pathntg_path_new (void)
ntg_error_code ntg_path_free (ntg_path *path)

Typedef Documentation

typedef struct ntg_node_list_ ntg_node_list

node list expressed as an array of paths

typedef struct ntg_path_ ntg_path

Function Documentation

ntg_path* ntg_path_append_element ( ntg_path path,
const char *  element 
)
ntg_error_code ntg_path_free ( ntg_path path  ) 
ntg_path* ntg_path_from_string ( const char *  path_string  ) 

create an ntg_path from a '.' delimited string

References ntg_path_::elems, ntg_path_::n_elems, ntg_malloc(), and ntg_path_append_element().

Referenced by ntg_server_delete_connection(), and ntg_server_update_connection().

ntg_path* ntg_path_join ( ntg_path start,
ntg_path end 
)
ntg_path* ntg_path_new ( void   ) 
char* ntg_path_pop_element ( const ntg_path path,
ntg_path **  new_path 
)
char* ntg_path_to_string ( const ntg_path path  ) 

create a '.' delimited string from a '.' delimited path

References ntg_path_::elems, ntg_path_::n_elems, ntg_malloc(), NTG_NO_ERROR, ntg_path_validate(), and ntg_realloc().

ntg_error_code ntg_path_validate ( const ntg_path path  ) 

Generated on Tue Jan 5 14:02:29 2010 for LibIntegra by  doxygen 1.6.1