Changeset 9fae35c for commands.h
- Timestamp:
- 2006-01-23T23:28:13Z (18 years ago)
- Branches:
- master
- Children:
- ec3e411
- Parents:
- 7308b63 (diff), 68c7c14 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
commands.h
r7308b63 r9fae35c 29 29 #include "bitlbee.h" 30 30 31 /* Hmm... Linked list? Plleeeeaaase?? ;-) */ 32 33 typedef struct command_t 31 typedef struct command 34 32 { 35 33 char *command; 36 34 int required_parameters; 37 int (*execute)(irc_t *, char **args); 35 void (*execute)(irc_t *, char **args); 36 int flags; 38 37 } command_t; 39 38 40 int cmd_account( irc_t *irc, char **cmd ); 41 int cmd_help( irc_t *irc, char **args); 42 int cmd_info( irc_t *irc, char **args); 43 int cmd_add( irc_t *irc, char **args) ; 44 int cmd_rename( irc_t *irc, char **args ); 45 int cmd_remove( irc_t *irc, char **args ); 46 int cmd_block( irc_t *irc, char **args ); 47 int cmd_allow( irc_t *irc, char **args ); 48 int cmd_save( irc_t *irc, char **args ); 49 int cmd_set( irc_t *irc, char **args ); 50 int cmd_yesno( irc_t *irc, char **args ); 51 int cmd_identify( irc_t *irc, char **args ); 52 int cmd_register( irc_t *irc, char **args ); 53 int cmd_drop( irc_t *irc, char **args ); 54 int cmd_blist( irc_t *irc, char **cmd ); 55 int cmd_nick( irc_t *irc, char **cmd ); 56 int cmd_qlist( irc_t *irc, char **cmd ); 57 int cmd_import_buddies( irc_t *irc, char **cmd ); 58 int cmd_dump( irc_t *irc, char **cmd ); 39 extern const command_t commands[]; 59 40 41 #define IRC_CMD_PRE_LOGIN 1 42 #define IRC_CMD_LOGGED_IN 2 43 #define IRC_CMD_OPER_ONLY 4 44 #define IRC_CMD_TO_MASTER 8 60 45 61 62 extern command_t commands[]; 46 #define IPC_CMD_TO_CHILDREN 1 63 47 64 48 #endif
Note: See TracChangeset
for help on using the changeset viewer.