ref: b402639434e9360c99fc8b9cb12d51614abfbeea
dir: /dat.h/
typedef struct Prefix Prefix;
typedef struct Request Request;
typedef struct Command Command;
typedef struct Reply Reply;
#pragma varargck type "R" Request
struct Prefix
{
char *name;
char *user;
char *host;
};
struct Request
{
Command *cmd;
Prefix prefix;
char *args[15];
};
struct Command
{
char *name;
void (*func)(Request*);
};
struct Reply
{
int nr;
char *msg;
};
extern int debug;