/Users/huttone/Devel/sedflux-new/sedflux/trunk/ew/utils/eh_glib.h File Reference

Go to the source code of this file.

Defines

#define G_NPOS   G_MAXLONG
#define G_WHITESPACE   " \t\n"
#define g_array_set_val(a, i, v)   g_array_set_vals( a , i , &v , 1 )

Functions

gsize eh_string_find_first_of (GString *s, char c)
gsize eh_string_last_first_of (GString *s, char c)
void eh_string_remove_chr (GString *s, char c)
void eh_string_remove_white_space (GString *s)
char * eh_string_c_str (GString *)
GSList * eh_slist_remove_and_free (GSList *l, gpointer p)
void eh_free_slist_data (gpointer data, gpointer user_data)


Define Documentation

#define g_array_set_val ( a,
i,
 )     g_array_set_vals( a , i , &v , 1 )

Definition at line 41 of file eh_glib.h.

#define G_NPOS   G_MAXLONG

Definition at line 38 of file eh_glib.h.

Referenced by eh_string_find_first_of(), eh_string_find_last_of(), and eh_string_remove_chr().

#define G_WHITESPACE   " \t\n"

Definition at line 39 of file eh_glib.h.

Referenced by eh_string_remove_white_space().


Function Documentation

void eh_free_slist_data ( gpointer  data,
gpointer  user_data 
)

Definition at line 82 of file eh_glib.c.

References eh_free.

Referenced by sed_hydro_process_records().

GSList* eh_slist_remove_and_free ( GSList *  l,
gpointer  p 
)

Definition at line 75 of file eh_glib.c.

References eh_free.

char* eh_string_c_str ( GString *   ) 

Definition at line 50 of file eh_glib.c.

Referenced by eh_str_to_time_in_years().

gsize eh_string_find_first_of ( GString *  s,
char  c 
)

Definition at line 23 of file eh_glib.c.

References G_NPOS.

Referenced by eh_str_to_time_in_years(), and eh_string_remove_chr().

gsize eh_string_last_first_of ( GString *  s,
char  c 
)

void eh_string_remove_chr ( GString *  s,
char  c 
)

Definition at line 35 of file eh_glib.c.

References eh_string_find_first_of(), and G_NPOS.

Referenced by eh_string_remove_white_space().

void eh_string_remove_white_space ( GString *  s  ) 

Definition at line 42 of file eh_glib.c.

References eh_string_remove_chr(), and G_WHITESPACE.

Referenced by eh_str_to_time_in_years().


Generated on Fri Jan 4 18:04:18 2008 for sedflux by  doxygen 1.5.2