mcabber/src/roster.c
changeset 584 414fbf558f1e
parent 580 fed6d1e4d7a9
child 603 9516db839e08
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;