X-Git-Url: http://git.maemo.org/git/?p=python-purple;a=blobdiff_plain;f=libpurple%2Faccount.pxd;h=bbda93a35aa9ce9bcf6e547e6e11524c1da9370b;hp=69d6efff7330a0e8c0da875da23b076fb8158c9a;hb=e7e4e8ff4937aed9c1b732719bc310c3e8a88f5e;hpb=3317112f6f04d1fdc7b338b947f18e811c9b9e7e diff --git a/libpurple/account.pxd b/libpurple/account.pxd index 69d6eff..bbda93a 100644 --- a/libpurple/account.pxd +++ b/libpurple/account.pxd @@ -17,6 +17,8 @@ # along with this program. If not, see . # +cimport glib + cdef extern from "libpurple/account.h": ctypedef struct PurpleAccount: char* username @@ -24,11 +26,11 @@ cdef extern from "libpurple/account.h": ctypedef struct PurpleAccountUiOps: pass - PurpleAccount *c_purple_account_new "purple_account_new" (const_char_ptr username, const_char_ptr protocol_id) - void c_purple_account_set_password "purple_account_set_password" (PurpleAccount *account, const_char_ptr password) - const_char_ptr c_purple_account_get_password "purple_account_get_password" (PurpleAccount *account) - void c_purple_account_set_enabled "purple_account_set_enabled" (PurpleAccount *account, const_char_ptr ui, gboolean value) - const_char_ptr c_purple_account_get_username "purple_account_get_username" (PurpleAccount *account) - GList *c_purple_accounts_get_all_active "purple_accounts_get_all_active" () + PurpleAccount *c_purple_account_new "purple_account_new" (char *username, char *protocol_id) + void c_purple_account_set_password "purple_account_set_password" (PurpleAccount *account, char *password) + char *c_purple_account_get_password "purple_account_get_password" (PurpleAccount *account) + void c_purple_account_set_enabled "purple_account_set_enabled" (PurpleAccount *account, char *ui, glib.gboolean value) + char *c_purple_account_get_username "purple_account_get_username" (PurpleAccount *account) + glib.GList *c_purple_accounts_get_all_active "purple_accounts_get_all_active" () void c_purple_accounts_set_ui_ops "purple_accounts_set_ui_ops" (PurpleAccountUiOps *ops) - gboolean c_purple_account_is_connected "purple_account_is_connected" (PurpleAccount *account) + glib.gboolean c_purple_account_is_connected "purple_account_is_connected" (PurpleAccount *account)