1 /* 2 * cmdt.h 3 * stuff for builtin commands 4 */ 5 /* 6 * Copyright (C) 1997 Robey Pointer 7 * Copyright (C) 1999 - 2021 Eggheads Development Team 8 * 9 * This program is free software; you can redistribute it and/or 10 * modify it under the terms of the GNU General Public License 11 * as published by the Free Software Foundation; either version 2 12 * of the License, or (at your option) any later version. 13 * 14 * This program is distributed in the hope that it will be useful, 15 * but WITHOUT ANY WARRANTY; without even the implied warranty of 16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 * GNU General Public License for more details. 18 * 19 * You should have received a copy of the GNU General Public License 20 * along with this program; if not, write to the Free Software 21 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 22 */ 23 24 #ifndef _EGG_CMDT_H 25 #define _EGG_CMDT_H 26 27 typedef struct { 28 char *name; 29 char *flags; 30 IntFunc func; 31 char *funcname; 32 } cmd_t; 33 34 typedef struct { 35 char *name; 36 IntFunc func; 37 } botcmd_t; 38 39 typedef struct { 40 char *name; 41 char *flags; 42 IntFunc func; 43 } botscmd_t; 44 45 #endif /* _EGG_CMDT_H */ 46