00001 /* 00002 * cmdt.h 00003 * stuff for builtin commands 00004 * 00005 * $Id: cmdt.h,v 1.16 2011/02/13 14:19:33 simple Exp $ 00006 */ 00007 /* 00008 * Copyright (C) 1997 Robey Pointer 00009 * Copyright (C) 1999 - 2011 Eggheads Development Team 00010 * 00011 * This program is free software; you can redistribute it and/or 00012 * modify it under the terms of the GNU General Public License 00013 * as published by the Free Software Foundation; either version 2 00014 * of the License, or (at your option) any later version. 00015 * 00016 * This program is distributed in the hope that it will be useful, 00017 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00018 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00019 * GNU General Public License for more details. 00020 * 00021 * You should have received a copy of the GNU General Public License 00022 * along with this program; if not, write to the Free Software 00023 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00024 */ 00025 00026 #ifndef _EGG_CMDT_H 00027 #define _EGG_CMDT_H 00028 00029 typedef struct { 00030 char *name; 00031 char *flags; 00032 IntFunc func; 00033 char *funcname; 00034 } cmd_t; 00035 00036 typedef struct { 00037 char *name; 00038 IntFunc func; 00039 } botcmd_t; 00040 00041 #endif /* _EGG_CMDT_H */