aboutsummaryrefslogtreecommitdiffstats
path: root/bitlbee.h
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-08-31 22:05:36 +0200
committerWilmer van der Gaast <wilmer@gaast.net>2010-08-31 22:05:36 +0200
commit83586911a0aa768ed196051950ebd8ffce37d467 (patch)
treea4a942ca4cbc0dc6ea2dae9ac469feb2286d4cb6 /bitlbee.h
parentad2d8bccb2a27688845d87b59eddff976ade5ef7 (diff)
Added root_command_add() and use it to create the "otr" command.
Diffstat (limited to 'bitlbee.h')
-rw-r--r--bitlbee.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitlbee.h b/bitlbee.h
index ae8f34d9..e312dc4c 100644
--- a/bitlbee.h
+++ b/bitlbee.h
@@ -164,6 +164,7 @@ gboolean bitlbee_io_current_client_write( gpointer data, gint source, b_input_co
void root_command_string( irc_t *irc, char *command );
void root_command( irc_t *irc, char *command[] );
+gboolean root_command_add( const char *command, int params, void (*func)(irc_t *, char **args), int flags );
gboolean cmd_identify_finish( gpointer data, gint fd, b_input_condition cond );
gboolean bitlbee_shutdown( gpointer data, gint fd, b_input_condition cond );