Mercurial > ~mikael > mcabber > hg
comparison mcabber/src/roster.c @ 584:414fbf558f1e
jb_room_setattrib()
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Fri, 09 Dec 2005 19:49:58 +0100 |
parents | fed6d1e4d7a9 |
children | 9516db839e08 |
comparison
equal
deleted
inserted
replaced
583:32ae027a3238 | 584:414fbf558f1e |
---|---|
22 #define _GNU_SOURCE /* for strcasestr() */ | 22 #define _GNU_SOURCE /* for strcasestr() */ |
23 #include <string.h> | 23 #include <string.h> |
24 | 24 |
25 #include "roster.h" | 25 #include "roster.h" |
26 | 26 |
27 | |
28 char *strrole[] = { /* Should match enum in roster.h */ | |
29 "none", | |
30 "moderator", | |
31 "participant", | |
32 "visitor" | |
33 }; | |
34 | |
35 char *straffil[] = { /* Should match enum roster.h */ | |
36 "none", | |
37 "owner", | |
38 "admin", | |
39 "memeber", | |
40 "outcast" | |
41 }; | |
27 | 42 |
28 /* Resource structure */ | 43 /* Resource structure */ |
29 | 44 |
30 typedef struct { | 45 typedef struct { |
31 gchar *name; | 46 gchar *name; |