about summary refs log tree commit diff stats
path: root/src/contact.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/contact.h')
-rw-r--r--src/contact.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/contact.h b/src/contact.h
index 91bc1024..beba5725 100644
--- a/src/contact.h
+++ b/src/contact.h
@@ -28,7 +28,8 @@
 typedef struct p_contact_t *PContact;
 
 PContact p_contact_new(const char * const barejid, const char * const name,
-    const char * const subscription, gboolean pending_out);
+    const char * const subscription, const char * const offline_message,
+    gboolean pending_out);
 PContact p_contact_new_subscription(const char * const barejid,
     const char * const subscription, gboolean pending_out);
 void p_contact_add_resource(PContact contact, Resource *resource);
@@ -37,17 +38,17 @@ void p_contact_free(PContact contact);
 const char* p_contact_barejid(PContact contact);
 const char* p_contact_name(PContact contact);
 const char* p_contact_presence(PContact contact);
-const char* p_contact_status(PContact contact, const char * const resource);
+const char* p_contact_status(PContact contact);
 const char* p_contact_subscription(const PContact contact);
-const char* p_contact_caps_str(const PContact contact);
+GList * p_contact_get_available_resources(const PContact contact);
 GDateTime* p_contact_last_activity(const PContact contact);
 gboolean p_contact_pending_out(const PContact contact);
 void p_contact_set_presence(const PContact contact, Resource *resource);
 void p_contact_set_status(const PContact contact, const char * const status);
 void p_contact_set_subscription(const PContact contact, const char * const subscription);
-void p_contact_set_caps_str(const PContact contact, const char * const caps_str);
 void p_contact_set_pending_out(const PContact contact, gboolean pending_out);
 void p_contact_set_last_activity(const PContact contact, GDateTime *last_activity);
 gboolean p_contact_is_available(const PContact contact);
+gboolean p_contact_has_available_resource(const PContact contact);
 
 #endif