heraia/trunk/src/include/treatments.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  value_t

Functions

value_tnew_value_t (guint length, guchar *bin_data)
treatment_tcopy_treatment (treatment_t *tment)
treatment_tfind_treatment (GList *tment_list, gchar *tment_name)
GList * init_treatments (void)


Function Documentation

treatment_t* copy_treatment ( treatment_t tment  ) 

Copies the treatment and calls the treatment copy function that copies the data of the treatment itself

Definition at line 62 of file treatments.c.

References treatment_t::copy, treatment_t::data, treatment_t::do_it, treatment_t::init, treatment_t::kill, and treatment_t::name.

Referenced by cb_changed_in_treatment_container_widget(), and copy_data_type_struct().

treatment_t* find_treatment ( GList *  tment_list,
gchar *  tment_name 
)

Finds a treatment, by name, in the treatment list returns the treatment if found, NULL otherwise

Definition at line 100 of file treatments.c.

References treatment_t::data, and treatment_t::name.

Referenced by cb_changed_in_treatment_container_widget().

GList* init_treatments ( void   ) 

Here we do init the available treatment list Should only be called once at init time

Definition at line 124 of file treatments.c.

References treatment_t::copy, treatment_t::do_it, treatment_t::init, treatment_t::kill, treatment_t::name, treatment_reverse_copy(), treatment_reverse_do_it(), treatment_reverse_init(), and treatment_reverse_kill().

Referenced by heraia_init_main_struct().

Here is the call graph for this function:

value_t* new_value_t ( guint  length,
guchar *  bin_data 
)

Definition at line 43 of file treatments.c.

References value_t::bytes, and value_t::length.

Referenced by refresh_all_ud_data_interpretor(), and refresh_hex_datas_entry().


Generated on Sun Aug 24 19:28:30 2008 for Heraia by  doxygen 1.5.6