version 1.3 | | version 1.4 |
---|
| | |
/* | | /* |
* static char *rcsid_commands_h = | | * static char *rcsid_commands_h = |
* "$Id: commands.h,v 1.3 2001/09/27 19:37:39 garbled Exp $"; | | * "$Id: commands.h,v 1.4 2005/08/12 13:46:34 ryo_saeba Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
typedef int (*CommFunc)(object *op, char *params); | | typedef int (*CommFunc)(object *op, char *params); |
| | |
typedef struct { /* global list's structure */ | | typedef struct { /* global list's structure */ |
char *name; | | const char *name; |
CommFunc func; | | CommFunc func; |
float time; /* How long it takes to execute this command */ | | float time; /* How long it takes to execute this command */ |
} CommArray_s; | | } CommArray_s; |