commands.h

TinyMAZE/src/hdrs/commands.h · 351 B

From the archive TinyMAZEv2.5a.tar.gz

Download the archive   « Back to the archive contents

#ifndef COMMAND_H
#define COMMAND_H

#define NOARGS 0x0
#define ARG1   0x1
#define ARG2   0x2
#define PURE   0x4
#define PURE2  0x8

struct command_struct
{
  char *name;
  void (*func)();
  unsigned long int flags;
};

typedef struct command_struct CS;

extern struct command_struct command_set[];
extern void *guest_command_set[];

#endif COMMAND_H

Site Stats

Snippets: 1791
Codebases: 571