| Libtlen2 Reference Manual |
|---|
gboolean tlen_subscribe_request (TlenConnection *tc, const gchar *id); gboolean tlen_subscribe_accept (TlenConnection *tc, const gchar *id); gboolean tlen_unsubscribe_accept (TlenConnection *tc, const gchar *id); gboolean tlen_unsubscribe_request (TlenConnection *tc, const gchar *id); gboolean tlen_contact_remove (TlenConnection *tc, const gchar *id); gboolean tlen_contact_add (TlenConnection *tc, const gchar *id, const gchar *name, const gchar *group);
gboolean tlen_subscribe_request (TlenConnection *tc, const gchar *id);
Send a request for subscription.
| tc : | connection to use. |
| id : | id in form login or login(at)tlen.pl |
| Returns : | TRUE if request was sent, FALSE otherwise |
gboolean tlen_subscribe_accept (TlenConnection *tc, const gchar *id);
Accept subscription.
| tc : | connection to use. |
| id : | id in form login or login(at)tlen.pl |
| Returns : | TRUE if request was sent, FALSE otherwise |
gboolean tlen_unsubscribe_accept (TlenConnection *tc, const gchar *id);
Accept unsubscription.
| tc : | connection to use. |
| id : | id in form login or login(at)tlen.pl |
| Returns : | TRUE if request was sent, FALSE otherwise |
gboolean tlen_unsubscribe_request (TlenConnection *tc, const gchar *id);
Send a request for unsubscription from user roster.
| tc : | connection to use. |
| id : | id in form login or login(at)tlen.pl |
| Returns : | TRUE if request was sent, FALSE otherwise |
gboolean tlen_contact_remove (TlenConnection *tc, const gchar *id);
Remove user from your roster.
| tc : | connection to use. |
| id : | id in form login or login(at)tlen.pl |
| Returns : | TRUE if request was sent, FALSE otherwise |
| <<< Simple commands | Search >>> |