aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/msn/msn.h
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2006-01-04 12:33:29 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2006-01-04 12:33:29 +0100
commit0196c47511000b3ee2060af6e7fd600b23876010 (patch)
tree6e68ec0d648362277e4ac2d3ef12dcef48ece9de /protocols/msn/msn.h
parent2a6ca4f4d8c8ec86b8bb38442189c85a001a5f6c (diff)
MSN consts!
Diffstat (limited to 'protocols/msn/msn.h')
-rw-r--r--protocols/msn/msn.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/protocols/msn/msn.h b/protocols/msn/msn.h
index c8c7a788..1cb96a93 100644
--- a/protocols/msn/msn.h
+++ b/protocols/msn/msn.h
@@ -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 );