diff 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
line wrap: on
line diff
--- a/mcabber/src/roster.c	Tue Dec 06 21:13:03 2005 +0100
+++ b/mcabber/src/roster.c	Fri Dec 09 19:49:58 2005 +0100
@@ -25,6 +25,21 @@
 #include "roster.h"
 
 
+char *strrole[] = { /* Should match enum in roster.h */
+  "none",
+  "moderator",
+  "participant",
+  "visitor"
+};
+
+char *straffil[] = { /* Should match enum roster.h */
+  "none",
+  "owner",
+  "admin",
+  "memeber",
+  "outcast"
+};
+
 /* Resource structure */
 
 typedef struct {