parser.h
silly/src/parser.h · 583 B
From the archive silly.tar.gz
Download the archive « Back to the archive contents
/*
SillyMUD Distribution V1.1b (c) 1993 SillyMUD Developement
See license.doc for distribution terms. SillyMUD is based on DIKUMUD
*/
#define MAGIC 96 /* Magic number for the hash table */
typedef struct command_node NODE;
struct command_node {
char *name;
void (*func)(struct char_data *ch, char *arg, int cmd);
int number;
byte min_pos;
byte min_level;
byte log;
struct command_node *next;
struct command_node *previous;
};
struct radix_list {
struct command_node *next;
unsigned short int number;
byte max_len;
};