events

events

Synopsis

struct              event;
struct              event_list;

struct event *      initialize_event                    ();
int                 push_path_entry_to_event            (struct event *ev,
                                                         const char *entry);
int                 pop_path_entry_from_event           (struct event *ev);
int                 push_dim_entry_to_event             (struct event *ev,
                                                         int entry);
int                 pop_dim_entry_from_event            (struct event *ev);
struct event *      copy_event                          (struct event *ev);
void                free_event                          (struct event *ev);
int                 find_event                          (struct event *ev,
                                                         struct event_list *el);
char *              get_event_string                    (struct event *ev);
struct event *      get_event_from_event_string         (const char *ev_string);
char *              event_path_placeholder_subst        (const char *ev_name,
                                                         const char *data);
char *              partial_event_substitution          (struct event *ev,
                                                         const char *data);
char *              retrieve_full_path                  (struct event *ev,
                                                         const char *data);
struct filename_plus_event * initialize_filename_plus_event
                                                        ();
void                free_filename_plus_event            (struct filename_plus_event *fpe);
struct event_list * initialize_event_list               ();
int                 append_event_to_event_list          (struct event_list *ev_list,
                                                         struct event *ev);
int                 add_non_existing_event_to_event_list
                                                        (struct event_list *ev_list,
                                                         struct event *ev);
struct event_list * copy_event_list                     (struct event_list *el);
void                free_event_list                     (struct event_list *el);
struct dim_structure * initialize_dim_structure         ();
struct dim_structure * default_dim_structure            ();
int                 set_dim_structure_entry             (struct dim_structure *hsd,
                                                         const char *string_dim,
                                                         const char *val_string);
void                free_dim_structure_entry            (struct dim_structure *hsd);
void                free_dim_structure                  (struct dim_structure *hsd);

Description

Details

struct event

struct event;

struct event_list

struct event_list;

initialize_event ()

struct event *      initialize_event                    ();

push_path_entry_to_event ()

int                 push_path_entry_to_event            (struct event *ev,
                                                         const char *entry);

pop_path_entry_from_event ()

int                 pop_path_entry_from_event           (struct event *ev);

push_dim_entry_to_event ()

int                 push_dim_entry_to_event             (struct event *ev,
                                                         int entry);

pop_dim_entry_from_event ()

int                 pop_dim_entry_from_event            (struct event *ev);

copy_event ()

struct event *      copy_event                          (struct event *ev);

free_event ()

void                free_event                          (struct event *ev);

find_event ()

int                 find_event                          (struct event *ev,
                                                         struct event_list *el);

ev :

An event structure

el :

An event list

Returns :

the indexing into el of the event matching ev, of el->num_events if no such event is found.

get_event_string ()

char *              get_event_string                    (struct event *ev);

get_event_from_event_string ()

struct event *      get_event_from_event_string         (const char *ev_string);

event_path_placeholder_subst ()

char *              event_path_placeholder_subst        (const char *ev_name,
                                                         const char *data);

partial_event_substitution ()

char *              partial_event_substitution          (struct event *ev,
                                                         const char *data);

retrieve_full_path ()

char *              retrieve_full_path                  (struct event *ev,
                                                         const char *data);

initialize_filename_plus_event ()

struct filename_plus_event * initialize_filename_plus_event
                                                        ();

free_filename_plus_event ()

void                free_filename_plus_event            (struct filename_plus_event *fpe);

initialize_event_list ()

struct event_list * initialize_event_list               ();

append_event_to_event_list ()

int                 append_event_to_event_list          (struct event_list *ev_list,
                                                         struct event *ev);

add_non_existing_event_to_event_list ()

int                 add_non_existing_event_to_event_list
                                                        (struct event_list *ev_list,
                                                         struct event *ev);

copy_event_list ()

struct event_list * copy_event_list                     (struct event_list *el);

free_event_list ()

void                free_event_list                     (struct event_list *el);

initialize_dim_structure ()

struct dim_structure * initialize_dim_structure         ();

default_dim_structure ()

struct dim_structure * default_dim_structure            ();

set_dim_structure_entry ()

int                 set_dim_structure_entry             (struct dim_structure *hsd,
                                                         const char *string_dim,
                                                         const char *val_string);

free_dim_structure_entry ()

void                free_dim_structure_entry            (struct dim_structure *hsd);

free_dim_structure ()

void                free_dim_structure                  (struct dim_structure *hsd);