Mercurial > pidgin
diff libpurple/protocols/myspace/myspace.h @ 17679:608e4b47dfae
Allow setting status to away or online.
author | Jeffrey Connelly <jaconnel@calpoly.edu> |
---|---|
date | Mon, 02 Jul 2007 07:07:48 +0000 |
parents | e24d44e3b6d2 |
children | d87916bd1d73 |
line wrap: on
line diff
--- a/libpurple/protocols/myspace/myspace.h Mon Jul 02 05:13:11 2007 +0000 +++ b/libpurple/protocols/myspace/myspace.h Mon Jul 02 07:07:48 2007 +0000 @@ -133,6 +133,7 @@ #define MSIM_STATUS_CODE_OFFLINE 0 /* or hidden */ #define MSIM_STATUS_CODE_ONLINE 1 #define MSIM_STATUS_CODE_AWAY 5 +/* TODO: hidden */ /* Random number in every MsimSession, to ensure it is valid. */ #define MSIM_SESSION_STRUCT_MAGIC 0xe4a6752b @@ -202,6 +203,8 @@ void msim_get_info_cb(MsimSession *session, MsimMessage *userinfo, gpointer data); void msim_get_info(PurpleConnection *gc, const gchar *name); +void msim_set_status(PurpleAccount *account, PurpleStatus *status); + void msim_store_buddy_info_each(gpointer key, gpointer value, gpointer user_data); gboolean msim_store_buddy_info(MsimSession *session, MsimMessage *msg); gboolean msim_process_reply(MsimSession *session, MsimMessage *msg);