events.h

pdirt/drv/compiler/events.h · 604 B

From the archive pDirt-1_tar.gz

Download the archive   « Back to the archive contents

#ifndef _MUDC_EVENTS_H_
#define _MUDC_EVENTS_H_

/******************************************************************************
 **                      DEFINES AND TYPE DEFINITIONS
 *****************************************************************************/
#define MAX_EVENTLEN	20

typedef struct _event_record {
    char	event[MAX_EVENTLEN];		/* The event name */
    char	*event_check;			/* The if-statement contents */
} event_record;

int find_event_num(char *event);
char *find_event_check(int event);
char *find_event_name(int num);
int load_events(char *event_file);
int last_event();
#endif

Site Stats

Snippets: 1791
Codebases: 571