mcabber/src/roster.c
changeset 141 6533a231a65e
parent 128 81ccb1091dd8
child 147 7571de4aed73
--- a/mcabber/src/roster.c	Thu Apr 28 20:11:31 2005 +0000
+++ b/mcabber/src/roster.c	Thu Apr 28 20:34:40 2005 +0000
@@ -264,6 +264,14 @@
   return roster_usr->type;
 }
 
+inline guint roster_exists(const char *jidname, enum findwhat type,
+        guint roster_type)
+{
+  if (roster_find(jidname, type, roster_type))
+    return TRUE;
+  return FALSE;
+}
+
 // char *roster_getgroup(...)   / Or *GSList?  Which use??
 // ... setgroup(char*) ??
 // guchar roster_getflags(...)