Changeset c6ca3ee for protocols/nogaim.c


Ignore:
Timestamp:
2010-03-14T17:49:24Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
fb00989
Parents:
6a78c0e
Message:

Some const/etc cleanups submitted by domen@… back in bug #431.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/nogaim.c

    r6a78c0e rc6ca3ee  
    352352/* list.c */
    353353
    354 void imcb_add_buddy( struct im_connection *ic, char *handle, char *group )
     354void imcb_add_buddy( struct im_connection *ic, const char *handle, const char *group )
    355355{
    356356        user_t *u;
     
    426426}
    427427
    428 void imcb_rename_buddy( struct im_connection *ic, char *handle, char *realname )
     428void imcb_rename_buddy( struct im_connection *ic, const char *handle, const char *realname )
    429429{
    430430        user_t *u = user_findhandle( ic, handle );
     
    443443}
    444444
    445 void imcb_remove_buddy( struct im_connection *ic, char *handle, char *group )
     445void imcb_remove_buddy( struct im_connection *ic, const char *handle, char *group )
    446446{
    447447        user_t *u;
     
    628628}
    629629
    630 void imcb_buddy_msg( struct im_connection *ic, char *handle, char *msg, uint32_t flags, time_t sent_at )
     630void imcb_buddy_msg( struct im_connection *ic, const char *handle, char *msg, uint32_t flags, time_t sent_at )
    631631{
    632632        irc_t *irc = ic->irc;
     
    695695}
    696696
    697 struct groupchat *imcb_chat_new( struct im_connection *ic, char *handle )
     697struct groupchat *imcb_chat_new( struct im_connection *ic, const char *handle )
    698698{
    699699        struct groupchat *c;
     
    761761}
    762762
    763 void imcb_chat_msg( struct groupchat *c, char *who, char *msg, uint32_t flags, time_t sent_at )
     763void imcb_chat_msg( struct groupchat *c, const char *who, char *msg, uint32_t flags, time_t sent_at )
    764764{
    765765        struct im_connection *ic = c->ic;
     
    833833/* buddy_chat.c */
    834834
    835 void imcb_chat_add_buddy( struct groupchat *b, char *handle )
     835void imcb_chat_add_buddy( struct groupchat *b, const char *handle )
    836836{
    837837        user_t *u = user_findhandle( b->ic, handle );
     
    868868
    869869/* This function is one BIG hack... :-( EREWRITE */
    870 void imcb_chat_remove_buddy( struct groupchat *b, char *handle, char *reason )
     870void imcb_chat_remove_buddy( struct groupchat *b, const char *handle, const char *reason )
    871871{
    872872        user_t *u;
Note: See TracChangeset for help on using the changeset viewer.