diff libpurple/protocols/jabber/caps.h @ 25191:5ad14a53e266

Partial disapproval of b8fdbd255c614e7305f835b843a3414675a86a19 Don't refcount the Client Info struct. It's always owned by the capstable and will be freed via jabber_caps_uninit().
author Paul Aurich <paul@darkrain42.org>
date Fri, 19 Dec 2008 04:28:38 +0000
parents 3bec4f4db198
children bc7fac8e2f79
line wrap: on
line diff
--- a/libpurple/protocols/jabber/caps.h	Fri Dec 19 04:18:42 2008 +0000
+++ b/libpurple/protocols/jabber/caps.h	Fri Dec 19 04:28:38 2008 +0000
@@ -35,7 +35,6 @@
 	GList *features; /* char * */
 	GList *forms; /* xmlnode * */
 	JabberCapsNodeExts *exts;
-	guint ref;
 };
 
 /*
@@ -56,14 +55,6 @@
 	GHashTable *exts; /* char *ext_name -> GList *features */
 };
 
-/**
- * Adjust the refcount for JabberCapsClientInfo. When the refcount reaches
- * 0, the data will be destroyed.
- */
-void jabber_caps_client_info_unref(JabberCapsClientInfo *info);
-JabberCapsClientInfo* jabber_caps_client_info_ref(JabberCapsClientInfo *info);
-
-
 typedef void (*jabber_caps_get_info_cb)(JabberCapsClientInfo *info, GList *exts, gpointer user_data);
 
 void jabber_caps_init(void);