Go to the source code of this file.
Data Structures | |
struct | value_t |
Functions | |
value_t * | new_value_t (guint length, guchar *bin_data) |
treatment_t * | copy_treatment (treatment_t *tment) |
Copies the treatment and calls the treatment copy function that copies the data of the treatment itself. | |
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. | |
GList * | init_treatments (void) |
Here we do init the available treatment list Should only be called once at init time. |
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.
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.
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_reverse_copy(), treatment_reverse_do_it(), treatment_reverse_init(), and treatment_reverse_kill().
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.