diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-02-12 20:26:20 +1300 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2006-02-12 20:26:20 +1300 |
commit | 5ebe625399d5116e222d6389434f645e906265ec (patch) | |
tree | 91a48ae6564ed891a23b1f5de2f630185fd0b39d /protocols/msn/msn.h | |
parent | a323a22773714a19254db34156500a67e5916451 (diff) | |
parent | 58bc4e69967a8feec0a60dfab716985191c12817 (diff) |
Merge
Diffstat (limited to 'protocols/msn/msn.h')
-rw-r--r-- | protocols/msn/msn.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/protocols/msn/msn.h b/protocols/msn/msn.h index c8c7a788..9727c537 100644 --- a/protocols/msn/msn.h +++ b/protocols/msn/msn.h @@ -66,7 +66,7 @@ struct msn_data GSList *msgq; GSList *switchboards; int buddycount; - struct msn_away_state *away_state; + const struct msn_away_state *away_state; }; struct msn_switchboard @@ -130,8 +130,8 @@ struct msn_handler_data #define STATUS_SB_CHAT_SPARE 8 /* Same, but also for groupchats (not used yet). */ int msn_chat_id; -extern struct msn_away_state msn_away_state_list[]; -extern struct msn_status_code msn_status_code_list[]; +extern const struct msn_away_state msn_away_state_list[]; +extern const struct msn_status_code msn_status_code_list[]; /* Keep a list of all the active connections. We need these lists because "connected" callbacks might be called when the connection they belong too @@ -155,10 +155,10 @@ char **msn_linesplit( char *line ); int msn_handler( struct msn_handler_data *h ); /* tables.c */ -struct msn_away_state *msn_away_state_by_number( int number ); -struct msn_away_state *msn_away_state_by_code( char *code ); -struct msn_away_state *msn_away_state_by_name( char *name ); -struct msn_status_code *msn_status_by_number( int number ); +const struct msn_away_state *msn_away_state_by_number( int number ); +const struct msn_away_state *msn_away_state_by_code( char *code ); +const struct msn_away_state *msn_away_state_by_name( char *name ); +const struct msn_status_code *msn_status_by_number( int number ); /* sb.c */ int msn_sb_write( struct msn_switchboard *sb, char *s, int len ); |