events

events

Functions

Types and Values

struct event
struct event_list
struct dim_structure
struct filename_plus_event

Description

Functions

initialize_event ()

struct event *
initialize_event (void);

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);

Parameters

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 (void);

free_filename_plus_event ()

void
free_filename_plus_event (struct filename_plus_event *fpe);

initialize_event_list ()

struct event_list *
initialize_event_list (void);

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 (void);

default_dim_structure ()

struct dim_structure *
default_dim_structure (void);

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);

Types and Values

struct event

struct event {
	char **path_entries;
	int path_length;
	int *dim_entries;
	int dim_length;
};

struct event_list

struct event_list {
	struct event **events;
	int num_events;
};

struct dim_structure

struct dim_structure {
	int *dims;
	int num_dims;
};

struct filename_plus_event

struct filename_plus_event {
	char *filename;
	struct event *ev;
};