Changeset fb117aee
- Timestamp:
- 2010-04-02T02:29:45Z (15 years ago)
- Branches:
- master
- Children:
- 231b08b
- Parents:
- e63507a
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
bitlbee.h
re63507a rfb117aee 159 159 gboolean bitlbee_io_current_client_write( gpointer data, gint source, b_input_condition cond ); 160 160 161 //void root_command_string( irc_t *irc, user_t *u, char *command, int flags);161 void root_command_string( irc_t *irc, char *command ); 162 162 void root_command( irc_t *irc, char *command[] ); 163 163 gboolean bitlbee_shutdown( gpointer data, gint fd, b_input_condition cond ); -
irc.c
re63507a rfb117aee 25 25 26 26 #include "bitlbee.h" 27 #include "ipc.h" 27 28 28 29 GSList *irc_connection_list; -
irc_channel.c
re63507a rfb117aee 139 139 static gboolean control_channel_privmsg( irc_channel_t *ic, const char *msg ) 140 140 { 141 char cmd[strlen(msg)+1]; 142 141 143 g_free( ic->irc->last_root_cmd ); 142 144 ic->irc->last_root_cmd = g_strdup( ic->name ); 143 145 144 root_command_string( ic->irc, msg ); 146 strcpy( cmd, msg ); 147 root_command_string( ic->irc, cmd ); 145 148 146 149 return TRUE; -
irc_commands.c
re63507a rfb117aee 39 39 out we don't require it, which will break this feature.) 40 40 Try to identify using the given password. */ 41 /*return root_command( irc, send_cmd );*/41 return root_command( irc, send_cmd ); 42 42 } 43 43 /* Handling in pre-logged-in state, first see if this server is -
irc_user.c
re63507a rfb117aee 121 121 static gboolean root_privmsg( irc_user_t *iu, const char *msg ) 122 122 { 123 char cmd[strlen(msg)+1]; 124 123 125 g_free( iu->irc->last_root_cmd ); 124 126 iu->irc->last_root_cmd = g_strdup( iu->nick ); 125 127 126 root_command_string( iu->irc, msg ); 128 strcpy( cmd, msg ); 129 root_command_string( iu->irc, cmd ); 127 130 128 131 return TRUE; -
protocols/account.c
re63507a rfb117aee 217 217 { 218 218 account_t *a, *l = NULL; 219 struct chat *c, *nc;220 219 221 220 if( acc->ic ) -
protocols/bee.h
re63507a rfb117aee 91 91 /* Not implemented yet! */ G_MODULE_EXPORT void imcb_buddy_times( struct im_connection *ic, const char *handle, time_t login, time_t idle ); 92 92 /* Call when a handle says something. 'flags' and 'sent_at may be just 0. */ 93 G_MODULE_EXPORT void imcb_buddy_msg( struct im_connection *ic, const char *handle, char *msg, uint32_tflags, time_t sent_at );93 G_MODULE_EXPORT void imcb_buddy_msg( struct im_connection *ic, const char *handle, char *msg, guint32 flags, time_t sent_at ); 94 94 95 95 #endif /* __BEE_H__ */ -
protocols/bee_user.c
re63507a rfb117aee 92 92 msg = buf; 93 93 } 94 95 st = bu->ic->acc->prpl->buddy_msg( bu->ic, bu->handle, msg, flags ); 94 else 95 buf = g_strdup( msg ); 96 97 st = bu->ic->acc->prpl->buddy_msg( bu->ic, bu->handle, buf, flags ); 96 98 g_free( buf ); 97 99 -
protocols/nogaim.c
re63507a rfb117aee 37 37 #include "nogaim.h" 38 38 #include "chat.h" 39 40 static int remove_chat_buddy_silent( struct groupchat *b, const char *handle );41 39 42 40 GSList *connections; … … 475 473 }; 476 474 475 #if 0 477 476 static void imcb_ask_auth_cb_no( void *data ) 478 477 { … … 494 493 g_free( cbd ); 495 494 } 495 #endif 496 496 497 497 void imcb_ask_auth( struct im_connection *ic, const char *handle, const char *realname ) … … 516 516 517 517 518 #if 0 518 519 static void imcb_ask_add_cb_no( void *data ) 519 520 { … … 530 531 return imcb_ask_add_cb_no( data ); 531 532 } 533 #endif 532 534 533 535 void imcb_ask_add( struct im_connection *ic, const char *handle, const char *realname ) … … 597 599 return c; 598 600 #endif 601 return NULL; 599 602 } 600 603 … … 783 786 } 784 787 788 #if 0 785 789 static int remove_chat_buddy_silent( struct groupchat *b, const char *handle ) 786 790 { 787 #if 0788 791 GList *i; 789 792 … … 801 804 i = i->next; 802 805 } 803 #endif804 806 805 807 return 0; 806 808 } 809 #endif 807 810 808 811
Note: See TracChangeset
for help on using the changeset viewer.