1 /* Generated by Cython 0.9.8 on Wed Dec 10 14:36:50 2008 */
3 #define PY_SSIZE_T_CLEAN
5 #include "structmember.h"
7 #define PY_LONG_LONG LONG_LONG
10 #define DL_EXPORT(t) t
12 #if PY_VERSION_HEX < 0x02040000
13 #define METH_COEXIST 0
15 #if PY_VERSION_HEX < 0x02050000
16 typedef int Py_ssize_t;
17 #define PY_SSIZE_T_MAX INT_MAX
18 #define PY_SSIZE_T_MIN INT_MIN
19 #define PyInt_FromSsize_t(z) PyInt_FromLong(z)
20 #define PyInt_AsSsize_t(o) PyInt_AsLong(o)
21 #define PyNumber_Index(o) PyNumber_Int(o)
22 #define PyIndex_Check(o) PyNumber_Check(o)
24 #if PY_VERSION_HEX < 0x02060000
25 #define Py_REFCNT(ob) (((PyObject*)(ob))->ob_refcnt)
26 #define Py_TYPE(ob) (((PyObject*)(ob))->ob_type)
27 #define Py_SIZE(ob) ((PyVarObject*)(ob))->ob_size)
28 #define PyVarObject_HEAD_INIT(type, size) \
29 PyObject_HEAD_INIT(type) size,
39 Py_ssize_t *suboffsets;
44 #define PyBUF_SIMPLE 0
45 #define PyBUF_WRITABLE 0x0001
46 #define PyBUF_LOCK 0x0002
47 #define PyBUF_FORMAT 0x0004
48 #define PyBUF_ND 0x0008
49 #define PyBUF_STRIDES (0x0010 | PyBUF_ND)
50 #define PyBUF_C_CONTIGUOUS (0x0020 | PyBUF_STRIDES)
51 #define PyBUF_F_CONTIGUOUS (0x0040 | PyBUF_STRIDES)
52 #define PyBUF_ANY_CONTIGUOUS (0x0080 | PyBUF_STRIDES)
53 #define PyBUF_INDIRECT (0x0100 | PyBUF_STRIDES)
55 #if PY_MAJOR_VERSION < 3
56 #define __Pyx_BUILTIN_MODULE_NAME "__builtin__"
58 #define __Pyx_BUILTIN_MODULE_NAME "builtins"
60 #if PY_MAJOR_VERSION >= 3
61 #define Py_TPFLAGS_CHECKTYPES 0
62 #define Py_TPFLAGS_HAVE_INDEX 0
64 #if PY_MAJOR_VERSION >= 3
65 #define PyBaseString_Type PyUnicode_Type
66 #define PyString_Type PyBytes_Type
67 #define PyInt_Type PyLong_Type
68 #define PyInt_Check(op) PyLong_Check(op)
69 #define PyInt_CheckExact(op) PyLong_CheckExact(op)
70 #define PyInt_FromString PyLong_FromString
71 #define PyInt_FromUnicode PyLong_FromUnicode
72 #define PyInt_FromLong PyLong_FromLong
73 #define PyInt_FromSize_t PyLong_FromSize_t
74 #define PyInt_FromSsize_t PyLong_FromSsize_t
75 #define PyInt_AsLong PyLong_AsLong
76 #define PyInt_AS_LONG PyLong_AS_LONG
77 #define PyInt_AsSsize_t PyLong_AsSsize_t
78 #define PyInt_AsUnsignedLongMask PyLong_AsUnsignedLongMask
79 #define PyInt_AsUnsignedLongLongMask PyLong_AsUnsignedLongLongMask
80 #define PyNumber_Divide(x,y) PyNumber_TrueDivide(x,y)
82 #define PyBytes_Type PyString_Type
84 #if PY_MAJOR_VERSION >= 3
85 #define PyMethod_New(func, self, klass) PyInstanceMethod_New(func)
94 #define __PYX_EXTERN_C extern "C"
96 #define __PYX_EXTERN_C extern
99 #define __PYX_HAVE_API__purple
100 #include "libpurple/purple.h"
101 #include "c_purple.h"
103 #include "libpurple/blist.h"
104 #include "libpurple/connection.h"
105 #include "libpurple/log.h"
106 #include "libpurple/proxy.h"
107 #include "libpurple/status.h"
108 #include "libpurple/account.h"
109 #include "libpurple/prefs.h"
110 #include "libpurple/accountopt.h"
111 #include "libpurple/buddyicon.h"
112 #include "libpurple/plugin.h"
113 #include "libpurple/prpl.h"
115 #include "libpurple/conversation.h"
116 #include "libpurple/core.h"
117 #include "libpurple/debug.h"
118 #include "libpurple/eventloop.h"
119 #include "libpurple/ft.h"
120 #include "libpurple/idle.h"
121 #include "libpurple/notify.h"
122 #include "libpurple/pounce.h"
123 #include "libpurple/privacy.h"
124 #include "libpurple/request.h"
125 #include "libpurple/roomlist.h"
126 #include "libpurple/server.h"
127 #include "libpurple/signals.h"
128 #include "libpurple/value.h"
129 #include "libpurple/savedstatuses.h"
130 #include "libpurple/xmlnode.h"
131 #include "libpurple/util.h"
135 #define INLINE __inline__
137 #define INLINE __inline
142 typedef struct {PyObject **p; char *s; long n; char is_unicode; char intern; char is_identifier;} __Pyx_StringTabEntry; /*proto*/
146 static int __pyx_skip_dispatch = 0;
149 /* Type Conversion Predeclarations */
151 #if PY_MAJOR_VERSION < 3
152 #define __Pyx_PyBytes_FromString PyString_FromString
153 #define __Pyx_PyBytes_AsString PyString_AsString
155 #define __Pyx_PyBytes_FromString PyBytes_FromString
156 #define __Pyx_PyBytes_AsString PyBytes_AsString
159 #define __Pyx_PyBool_FromLong(b) ((b) ? (Py_INCREF(Py_True), Py_True) : (Py_INCREF(Py_False), Py_False))
160 static INLINE int __Pyx_PyObject_IsTrue(PyObject* x);
161 static INLINE PY_LONG_LONG __pyx_PyInt_AsLongLong(PyObject* x);
162 static INLINE unsigned PY_LONG_LONG __pyx_PyInt_AsUnsignedLongLong(PyObject* x);
163 static INLINE Py_ssize_t __pyx_PyIndex_AsSsize_t(PyObject* b);
165 #define __pyx_PyInt_AsLong(x) (PyInt_CheckExact(x) ? PyInt_AS_LONG(x) : PyInt_AsLong(x))
166 #define __pyx_PyFloat_AsDouble(x) (PyFloat_CheckExact(x) ? PyFloat_AS_DOUBLE(x) : PyFloat_AsDouble(x))
168 static INLINE unsigned char __pyx_PyInt_unsigned_char(PyObject* x);
169 static INLINE unsigned short __pyx_PyInt_unsigned_short(PyObject* x);
170 static INLINE char __pyx_PyInt_char(PyObject* x);
171 static INLINE short __pyx_PyInt_short(PyObject* x);
172 static INLINE int __pyx_PyInt_int(PyObject* x);
173 static INLINE long __pyx_PyInt_long(PyObject* x);
174 static INLINE signed char __pyx_PyInt_signed_char(PyObject* x);
175 static INLINE signed short __pyx_PyInt_signed_short(PyObject* x);
176 static INLINE signed int __pyx_PyInt_signed_int(PyObject* x);
177 static INLINE signed long __pyx_PyInt_signed_long(PyObject* x);
178 static INLINE long double __pyx_PyInt_long_double(PyObject* x);
180 /* Test for GCC > 2.95 */
181 #if __GNUC__ > 2 || (__GNUC__ == 2 && (__GNUC_MINOR__ > 95))
182 #define likely(x) __builtin_expect(!!(x), 1)
183 #define unlikely(x) __builtin_expect(!!(x), 0)
184 #else /* __GNUC__ > 2 ... */
185 #define likely(x) (x)
186 #define unlikely(x) (x)
187 #endif /* __GNUC__ > 2 ... */
189 #define likely(x) (x)
190 #define unlikely(x) (x)
191 #endif /* __GNUC__ */
193 static PyObject *__pyx_m;
194 static PyObject *__pyx_b;
195 static PyObject *__pyx_empty_tuple;
196 static int __pyx_lineno;
197 static int __pyx_clineno = 0;
198 static const char * __pyx_cfilenm= __FILE__;
199 static const char *__pyx_filename;
200 static const char **__pyx_f;
202 static INLINE void __Pyx_RaiseArgtupleTooLong(Py_ssize_t num_expected, Py_ssize_t num_found); /*proto*/
204 #if PY_VERSION_HEX >= 0x02060000
205 /* #define __Pyx_TypeModified(t) PyType_Modified(t) */ /* Py3.0beta1 */
206 static void __Pyx_TypeModified(PyTypeObject* type); /*proto*/
208 #define __Pyx_TypeModified(t)
211 static int __Pyx_CheckKeywordStrings(PyObject *kwdict, const char* function_name, int kw_allowed); /*proto*/
213 static int __Pyx_ArgTypeTest(PyObject *obj, PyTypeObject *type, int none_allowed, char *name, int exact); /*proto*/
215 static PyObject *__Pyx_Import(PyObject *name, PyObject *from_list); /*proto*/
217 static PyObject *__Pyx_GetName(PyObject *dict, PyObject *name); /*proto*/
219 static void __Pyx_WriteUnraisable(const char *name); /*proto*/
221 static INLINE PyObject *__Pyx_GetItemInt(PyObject *o, Py_ssize_t i, int is_unsigned) {
223 if (PyList_CheckExact(o) && 0 <= i && i < PyList_GET_SIZE(o)) {
224 r = PyList_GET_ITEM(o, i);
227 else if (PyTuple_CheckExact(o) && 0 <= i && i < PyTuple_GET_SIZE(o)) {
228 r = PyTuple_GET_ITEM(o, i);
231 else if (Py_TYPE(o)->tp_as_sequence && Py_TYPE(o)->tp_as_sequence->sq_item && (likely(i >= 0) || !is_unsigned))
232 r = PySequence_GetItem(o, i);
234 PyObject *j = (likely(i >= 0) || !is_unsigned) ? PyInt_FromLong(i) : PyLong_FromUnsignedLongLong((sizeof(unsigned long long) > sizeof(Py_ssize_t) ? (1ULL << (sizeof(Py_ssize_t)*8)) : 0) + i);
237 r = PyObject_GetItem(o, j);
243 static INLINE PyObject* __Pyx_PyObject_Append(PyObject* L, PyObject* x) {
244 if (likely(PyList_CheckExact(L))) {
245 if (PyList_Append(L, x) < 0) return NULL;
247 return Py_None; // this is just to have an accurate signature
250 return PyObject_CallMethod(L, "append", "(O)", x);
254 static int __Pyx_InitStrings(__Pyx_StringTabEntry *t); /*proto*/
256 static int __Pyx_SetVtable(PyObject *dict, void *vtable); /*proto*/
258 static void __Pyx_AddTraceback(const char *funcname); /*proto*/
260 /* Type declarations */
262 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":22
265 * cdef class Buddy: # <<<<<<<<<<<<<<
270 struct __pyx_obj_6purple_Buddy {
272 struct __pyx_vtabstruct_6purple_Buddy *__pyx_vtab;
278 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":61
281 * cdef class Purple: # <<<<<<<<<<<<<<
286 struct __pyx_obj_6purple_Purple {
288 struct __pyx_vtabstruct_6purple_Purple *__pyx_vtab;
291 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":56
292 * USE_ENVVAR = property(get_USE_ENVVAR)
294 * cdef class ProxyInfo: # <<<<<<<<<<<<<<
296 * cdef proxy.PurpleProxyInfo *c_proxyinfo
299 struct __pyx_obj_6purple_ProxyInfo {
301 PurpleProxyInfo *c_proxyinfo;
305 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":22
308 * cdef class Protocol: # <<<<<<<<<<<<<<
313 struct __pyx_obj_6purple_Protocol {
315 struct __pyx_vtabstruct_6purple_Protocol *__pyx_vtab;
320 struct __pyx_obj_6purple_ProxyInfoType {
322 PurpleProxyType c_type;
325 struct __pyx_obj_6purple_Conversation {
327 struct __pyx_vtabstruct_6purple_Conversation *__pyx_vtab;
334 struct __pyx_obj_6purple_Account {
336 struct __pyx_vtabstruct_6purple_Account *__pyx_vtab;
337 PyObject *__username;
338 PyObject *__protocol;
344 struct __pyx_vtabstruct_6purple_Protocol {
345 PurplePlugin *(*_get_structure)(struct __pyx_obj_6purple_Protocol *);
347 static struct __pyx_vtabstruct_6purple_Protocol *__pyx_vtabptr_6purple_Protocol;
350 struct __pyx_vtabstruct_6purple_Buddy {
351 PurpleBuddy *(*_get_structure)(struct __pyx_obj_6purple_Buddy *);
353 static struct __pyx_vtabstruct_6purple_Buddy *__pyx_vtabptr_6purple_Buddy;
356 struct __pyx_vtabstruct_6purple_Conversation {
357 PurpleConversation *(*_get_structure)(struct __pyx_obj_6purple_Conversation *);
359 static struct __pyx_vtabstruct_6purple_Conversation *__pyx_vtabptr_6purple_Conversation;
362 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":61
365 * cdef class Purple: # <<<<<<<<<<<<<<
370 struct __pyx_vtabstruct_6purple_Purple {
371 void (*__core_ui_ops_ui_prefs_init)(struct __pyx_obj_6purple_Purple *);
372 void (*__core_ui_ops_debug_init)(struct __pyx_obj_6purple_Purple *);
373 void (*__core_ui_ops_ui_init)(struct __pyx_obj_6purple_Purple *);
374 void (*__core_ui_ops_quit)(struct __pyx_obj_6purple_Purple *);
375 GHashTable *(*__core_ui_ops_get_ui_info)(struct __pyx_obj_6purple_Purple *);
377 static struct __pyx_vtabstruct_6purple_Purple *__pyx_vtabptr_6purple_Purple;
380 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":22
383 * cdef class Account: # <<<<<<<<<<<<<<
388 struct __pyx_vtabstruct_6purple_Account {
389 PurpleAccount *(*_get_structure)(struct __pyx_obj_6purple_Account *);
391 static struct __pyx_vtabstruct_6purple_Account *__pyx_vtabptr_6purple_Account;
392 /* Module declarations from glib */
394 /* Module declarations from account */
396 /* Module declarations from prefs */
398 /* Module declarations from accountopt */
400 /* Module declarations from buddyicon */
402 /* Module declarations from blist */
404 /* Module declarations from prpl */
406 /* Module declarations from plugin */
408 /* Module declarations from connection */
410 /* Module declarations from conversation */
412 /* Module declarations from core */
414 /* Module declarations from debug */
416 /* Module declarations from eventloop */
418 /* Module declarations from ft */
420 /* Module declarations from idle */
422 /* Module declarations from notify */
424 /* Module declarations from pounce */
426 /* Module declarations from privacy */
428 /* Module declarations from proxy */
430 /* Module declarations from request */
432 /* Module declarations from roomlist */
434 /* Module declarations from server */
436 /* Module declarations from signals */
438 /* Module declarations from value */
440 /* Module declarations from status */
442 /* Module declarations from savedstatuses */
444 /* Module declarations from xmlnode */
446 /* Module declarations from util */
448 /* Module declarations from purple */
450 static PyTypeObject *__pyx_ptype_6purple_Purple = 0;
451 static PyTypeObject *__pyx_ptype_6purple_Protocol = 0;
452 static PyTypeObject *__pyx_ptype_6purple_ProxyInfoType = 0;
453 static PyTypeObject *__pyx_ptype_6purple_ProxyInfo = 0;
454 static PyTypeObject *__pyx_ptype_6purple_Account = 0;
455 static PyTypeObject *__pyx_ptype_6purple_Buddy = 0;
456 static PyTypeObject *__pyx_ptype_6purple_Conversation = 0;
457 static GHashTable *__pyx_v_6purple_c_ui_info;
458 static char *__pyx_v_6purple_c_ui_name;
459 static char *__pyx_v_6purple_c_ui_version;
460 static char *__pyx_v_6purple_c_ui_website;
461 static char *__pyx_v_6purple_c_ui_dev_website;
462 static PurpleAccountUiOps __pyx_v_6purple_c_account_ui_ops;
463 static PurpleBlistUiOps __pyx_v_6purple_c_blist_ui_ops;
464 static PurpleConnectionUiOps __pyx_v_6purple_c_conn_ui_ops;
465 static PurpleConversationUiOps __pyx_v_6purple_c_conv_ui_ops;
466 static PurpleCoreUiOps __pyx_v_6purple_c_core_ui_ops;
467 static PurpleEventLoopUiOps __pyx_v_6purple_c_eventloop_ui_ops;
468 static PurpleNotifyUiOps __pyx_v_6purple_c_notify_ui_ops;
469 static PurpleRequestUiOps __pyx_v_6purple_c_request_ui_ops;
470 static PurpleAccountRequestAuthorizationCb __pyx_v_6purple_c_request_authorize_authorize_cb;
471 static PurpleAccountRequestAuthorizationCb __pyx_v_6purple_c_request_authorize_deny_cb;
472 static void *__pyx_v_6purple_c_request_authorize_user_data;
473 static void __pyx_f_6purple_notify_added(PurpleAccount *, const char *, const char *, const char *, const char *); /*proto*/
474 static void __pyx_f_6purple_status_changed(PurpleAccount *, PurpleStatus *); /*proto*/
475 static void __pyx_f_6purple_request_add(PurpleAccount *, const char *, const char *, const char *, const char *); /*proto*/
476 static void *__pyx_f_6purple_request_authorize(PurpleAccount *, const char *, const char *, const char *, const char *, gboolean, PurpleAccountRequestAuthorizationCb, PurpleAccountRequestAuthorizationCb, void *); /*proto*/
477 static void __pyx_f_6purple_close_account_request(void *); /*proto*/
478 static void __pyx_f_6purple___group_node_cb(PurpleBlistNode *, PyObject *); /*proto*/
479 static void __pyx_f_6purple___contact_node_cb(PurpleBlistNode *, PyObject *); /*proto*/
480 static void __pyx_f_6purple___buddy_node_cb(PurpleBlistNode *, PyObject *); /*proto*/
481 static void __pyx_f_6purple___chat_node_cb(PurpleBlistNode *, PyObject *); /*proto*/
482 static void __pyx_f_6purple___other_node_cb(PurpleBlistNode *, PyObject *); /*proto*/
483 static void __pyx_f_6purple_new_list(PurpleBuddyList *); /*proto*/
484 static void __pyx_f_6purple_new_node(PurpleBlistNode *); /*proto*/
485 static void __pyx_f_6purple_show(PurpleBuddyList *); /*proto*/
486 static void __pyx_f_6purple_update(PurpleBuddyList *, PurpleBlistNode *); /*proto*/
487 static void __pyx_f_6purple_remove(PurpleBuddyList *, PurpleBlistNode *); /*proto*/
488 static void __pyx_f_6purple_destroy(PurpleBuddyList *); /*proto*/
489 static void __pyx_f_6purple_set_visible(PurpleBuddyList *, gboolean); /*proto*/
490 static void __pyx_f_6purple_request_add_buddy(PurpleAccount *, const char *, const char *, const char *); /*proto*/
491 static void __pyx_f_6purple_request_add_chat(PurpleAccount *, PurpleGroup *, const char *, const char *); /*proto*/
492 static void __pyx_f_6purple_request_add_group(void); /*proto*/
493 static void __pyx_f_6purple_connect_progress(PurpleConnection *, const char *, size_t, size_t); /*proto*/
494 static void __pyx_f_6purple_connected(PurpleConnection *); /*proto*/
495 static void __pyx_f_6purple_disconnected(PurpleConnection *); /*proto*/
496 static void __pyx_f_6purple_notice(PurpleConnection *, const char *); /*proto*/
497 static void __pyx_f_6purple_report_disconnect(PurpleConnection *, const char *); /*proto*/
498 static void __pyx_f_6purple_network_connected(void); /*proto*/
499 static void __pyx_f_6purple_network_disconnected(void); /*proto*/
500 static void __pyx_f_6purple_report_disconnect_reason(PurpleConnection *, PurpleConnectionError, const char *); /*proto*/
501 static void __pyx_f_6purple_create_conversation(PurpleConversation *); /*proto*/
502 static void __pyx_f_6purple_destroy_conversation(PurpleConversation *); /*proto*/
503 static void __pyx_f_6purple_write_chat(PurpleConversation *, const char *, const char *, PurpleMessageFlags, time_t); /*proto*/
504 static void __pyx_f_6purple_write_im(PurpleConversation *, const char *, const char *, PurpleMessageFlags, time_t); /*proto*/
505 static void __pyx_f_6purple_write_conv(PurpleConversation *, const char *, const char *, const char *, PurpleMessageFlags, time_t); /*proto*/
506 static void __pyx_f_6purple_chat_add_users(PurpleConversation *, GList *, gboolean); /*proto*/
507 static void __pyx_f_6purple_chat_rename_user(PurpleConversation *, const char *, const char *, const char *); /*proto*/
508 static void __pyx_f_6purple_chat_remove_users(PurpleConversation *, GList *); /*proto*/
509 static void __pyx_f_6purple_chat_update_user(PurpleConversation *, const char *); /*proto*/
510 static void __pyx_f_6purple_present(PurpleConversation *); /*proto*/
511 static gboolean __pyx_f_6purple_has_focus(PurpleConversation *); /*proto*/
512 static gboolean __pyx_f_6purple_custom_smiley_add(PurpleConversation *, const char *, gboolean); /*proto*/
513 static void __pyx_f_6purple_custom_smiley_write(PurpleConversation *, const char *, const guchar *, gsize); /*proto*/
514 static void __pyx_f_6purple_custom_smiley_close(PurpleConversation *, const char *); /*proto*/
515 static void __pyx_f_6purple_send_confirm(PurpleConversation *, const char *); /*proto*/
516 static void *__pyx_f_6purple_notify_message(PurpleNotifyMsgType, const char *, const char *, const char *); /*proto*/
517 static void *__pyx_f_6purple_notify_email(PurpleConnection *, const char *, const char *, const char *, const char *); /*proto*/
518 static void *__pyx_f_6purple_notify_emails(PurpleConnection *, size_t, gboolean, const char **, const char **, const char **, const char **); /*proto*/
519 static void *__pyx_f_6purple_notify_formatted(const char *, const char *, const char *, const char *); /*proto*/
520 static void *__pyx_f_6purple_notify_searchresults(PurpleConnection *, const char *, const char *, const char *, PurpleNotifySearchResults *, gpointer); /*proto*/
521 static void __pyx_f_6purple_notify_searchresults_new_rows(PurpleConnection *, PurpleNotifySearchResults *, void *); /*proto*/
522 static void *__pyx_f_6purple_notify_userinfo(PurpleConnection *, const char *, PurpleNotifyUserInfo *); /*proto*/
523 static void *__pyx_f_6purple_notify_uri(const char *); /*proto*/
524 static void __pyx_f_6purple_close_notify(PurpleNotifyType, void *); /*proto*/
525 static void *__pyx_f_6purple_request_input(const char *, const char *, const char *, const char *, gboolean, gboolean, gchar *, const char *, GCallback, const char *, GCallback, PurpleAccount *, const char *, PurpleConversation *, void *); /*proto*/
526 static void *__pyx_f_6purple_request_choice(const char *, const char *, const char *, int, const char *, GCallback, const char *, GCallback, PurpleAccount *, const char *, PurpleConversation *, void *, va_list); /*proto*/
527 static void *__pyx_f_6purple_request_action(const char *, const char *, const char *, int, PurpleAccount *, const char *, PurpleConversation *, void *, size_t, va_list); /*proto*/
528 static void *__pyx_f_6purple_request_fields(const char *, const char *, const char *, PurpleRequestFields *, const char *, GCallback, const char *, GCallback, PurpleAccount *, const char *, PurpleConversation *, void *); /*proto*/
529 static void *__pyx_f_6purple_request_file(const char *, const char *, gboolean, GCallback, GCallback, PurpleAccount *, const char *, PurpleConversation *, void *); /*proto*/
530 static void __pyx_f_6purple_close_request(PurpleRequestType, void *); /*proto*/
531 static void *__pyx_f_6purple_request_folder(const char *, const char *, GCallback, GCallback, PurpleAccount *, const char *, PurpleConversation *, void *); /*proto*/
532 static void __pyx_f_6purple_signal_signed_on_cb(PurpleConnection *, gpointer); /*proto*/
533 static void __pyx_f_6purple_signal_signed_off_cb(PurpleConnection *, gpointer); /*proto*/
534 static void __pyx_f_6purple_signal_connection_error_cb(PurpleConnection *, PurpleConnectionError, const gchar *); /*proto*/
535 static void __pyx_f_6purple_signal_buddy_signed_on_cb(PurpleBuddy *); /*proto*/
536 static void __pyx_f_6purple_signal_buddy_signed_off_cb(PurpleBuddy *); /*proto*/
537 static gboolean __pyx_f_6purple_signal_receiving_im_msg_cb(PurpleAccount *, char **, char **, PurpleConversation *, PurpleMessageFlags *); /*proto*/
538 static void __pyx_f_6purple_jabber_receiving_xmlnode_cb(PurpleConnection *, xmlnode **, gpointer); /*proto*/
541 /* Implementation of purple */
544 static char __pyx_k___init__[] = "__init__";
545 static char __pyx_k_destroy[] = "destroy";
546 static char __pyx_k___get_ui_name[] = "__get_ui_name";
547 static char __pyx_k_ui_name[] = "ui_name";
548 static char __pyx_k_1[] = "__glib_iteration_when_idle";
549 static char __pyx_k_purple_init[] = "purple_init";
550 static char __pyx_k_add_callback[] = "add_callback";
551 static char __pyx_k_signal_connect[] = "signal_connect";
552 static char __pyx_k_accounts_get_all[] = "accounts_get_all";
553 static char __pyx_k_2[] = "accounts_get_all_active";
554 static char __pyx_k_protocols_get_all[] = "protocols_get_all";
555 static char __pyx_k___get_exists[] = "__get_exists";
556 static char __pyx_k_exists[] = "exists";
557 static char __pyx_k___get_id[] = "__get_id";
558 static char __pyx_k_id[] = "id";
559 static char __pyx_k___get_name[] = "__get_name";
560 static char __pyx_k_name[] = "name";
561 static char __pyx_k_3[] = "__get_options_labels";
562 static char __pyx_k_options_labels[] = "options_labels";
563 static char __pyx_k_4[] = "__get_options_values";
564 static char __pyx_k_options_values[] = "options_values";
565 static char __pyx_k_get_NONE[] = "get_NONE";
566 static char __pyx_k_NONE[] = "NONE";
567 static char __pyx_k_get_USE_GLOBAL[] = "get_USE_GLOBAL";
568 static char __pyx_k_USE_GLOBAL[] = "USE_GLOBAL";
569 static char __pyx_k_get_HTTP[] = "get_HTTP";
570 static char __pyx_k_HTTP[] = "HTTP";
571 static char __pyx_k_5[] = "get_SOCKS4";
572 static char __pyx_k_6[] = "get_SOCKS5";
573 static char __pyx_k_get_USE_ENVVAR[] = "get_USE_ENVVAR";
574 static char __pyx_k_USE_ENVVAR[] = "USE_ENVVAR";
575 static char __pyx_k_set_type[] = "set_type";
576 static char __pyx_k_set_host[] = "set_host";
577 static char __pyx_k_set_port[] = "set_port";
578 static char __pyx_k_set_username[] = "set_username";
579 static char __pyx_k_set_password[] = "set_password";
580 static char __pyx_k_get_types[] = "get_types";
581 static char __pyx_k_set_info[] = "set_info";
582 static char __pyx_k___is_connected[] = "__is_connected";
583 static char __pyx_k_is_connected[] = "is_connected";
584 static char __pyx_k___is_connecting[] = "__is_connecting";
585 static char __pyx_k_is_connecting[] = "is_connecting";
586 static char __pyx_k___is_disconnected[] = "__is_disconnected";
587 static char __pyx_k_is_disconnected[] = "is_disconnected";
588 static char __pyx_k___get_core[] = "__get_core";
589 static char __pyx_k_core[] = "core";
590 static char __pyx_k___get_username[] = "__get_username";
591 static char __pyx_k_username[] = "username";
592 static char __pyx_k___get_protocol[] = "__get_protocol";
593 static char __pyx_k_protocol[] = "protocol";
594 static char __pyx_k_7[] = "_get_protocol_options";
595 static char __pyx_k_protocol_options[] = "protocol_options";
596 static char __pyx_k___get_password[] = "__get_password";
597 static char __pyx_k_password[] = "password";
598 static char __pyx_k___get_alias[] = "__get_alias";
599 static char __pyx_k_alias[] = "alias";
600 static char __pyx_k___get_user_info[] = "__get_user_info";
601 static char __pyx_k_user_info[] = "user_info";
602 static char __pyx_k_8[] = "__get_remember_password";
603 static char __pyx_k_remember_password[] = "remember_password";
604 static char __pyx_k___get_enabled[] = "__get_enabled";
605 static char __pyx_k_enabled[] = "enabled";
606 static char __pyx_k___get_status_types[] = "__get_status_types";
607 static char __pyx_k_status_types[] = "status_types";
608 static char __pyx_k___get_active_status[] = "__get_active_status";
609 static char __pyx_k_active_status[] = "active_status";
610 static char __pyx_k_set_protocol[] = "set_protocol";
611 static char __pyx_k_9[] = "set_protocol_options";
612 static char __pyx_k_set_alias[] = "set_alias";
613 static char __pyx_k_set_user_info[] = "set_user_info";
614 static char __pyx_k_10[] = "set_remember_password";
615 static char __pyx_k_set_enabled[] = "set_enabled";
616 static char __pyx_k_new[] = "new";
617 static char __pyx_k_remove[] = "remove";
618 static char __pyx_k_connect[] = "connect";
619 static char __pyx_k_disconnect[] = "disconnect";
620 static char __pyx_k_add_buddy[] = "add_buddy";
621 static char __pyx_k_remove_buddy[] = "remove_buddy";
622 static char __pyx_k_get_buddies_online[] = "get_buddies_online";
623 static char __pyx_k_get_buddies[] = "get_buddies";
624 static char __pyx_k_request_add_buddy[] = "request_add_buddy";
625 static char __pyx_k_set_active_status[] = "set_active_status";
626 static char __pyx_k_set_status_message[] = "set_status_message";
627 static char __pyx_k___get_account[] = "__get_account";
628 static char __pyx_k_account[] = "account";
629 static char __pyx_k___get_group[] = "__get_group";
630 static char __pyx_k_group[] = "group";
631 static char __pyx_k___get_server_alias[] = "__get_server_alias";
632 static char __pyx_k_server_alias[] = "server_alias";
633 static char __pyx_k___get_contact_alias[] = "__get_contact_alias";
634 static char __pyx_k_contact_alias[] = "contact_alias";
635 static char __pyx_k___get_local_alias[] = "__get_local_alias";
636 static char __pyx_k_local_alias[] = "local_alias";
637 static char __pyx_k___get_available[] = "__get_available";
638 static char __pyx_k_available[] = "available";
639 static char __pyx_k___get_online[] = "__get_online";
640 static char __pyx_k_online[] = "online";
641 static char __pyx_k___get_idle[] = "__get_idle";
642 static char __pyx_k_idle[] = "idle";
643 static char __pyx_k_set_group[] = "set_group";
644 static char __pyx_k_set_ui_ops[] = "set_ui_ops";
645 static char __pyx_k_im_send[] = "im_send";
646 static char __pyx_k_ecore[] = "ecore";
647 static char __pyx_k_account_cbs[] = "account_cbs";
648 static char __pyx_k_blist_cbs[] = "blist_cbs";
649 static char __pyx_k_connection_cbs[] = "connection_cbs";
650 static char __pyx_k_conversation_cbs[] = "conversation_cbs";
651 static char __pyx_k_notify_cbs[] = "notify_cbs";
652 static char __pyx_k_request_cbs[] = "request_cbs";
653 static char __pyx_k_signal_cbs[] = "signal_cbs";
654 static char __pyx_k_property[] = "property";
656 static PyObject *__pyx_kp___init__;
657 static PyObject *__pyx_kp_destroy;
658 static PyObject *__pyx_kp___get_ui_name;
659 static PyObject *__pyx_kp_ui_name;
660 static PyObject *__pyx_kp_1;
661 static PyObject *__pyx_kp_purple_init;
662 static PyObject *__pyx_kp_add_callback;
663 static PyObject *__pyx_kp_signal_connect;
664 static PyObject *__pyx_kp_accounts_get_all;
665 static PyObject *__pyx_kp_2;
666 static PyObject *__pyx_kp_protocols_get_all;
667 static PyObject *__pyx_kp___get_exists;
668 static PyObject *__pyx_kp_exists;
669 static PyObject *__pyx_kp___get_id;
670 static PyObject *__pyx_kp_id;
671 static PyObject *__pyx_kp___get_name;
672 static PyObject *__pyx_kp_name;
673 static PyObject *__pyx_kp_3;
674 static PyObject *__pyx_kp_options_labels;
675 static PyObject *__pyx_kp_4;
676 static PyObject *__pyx_kp_options_values;
677 static PyObject *__pyx_kp_get_NONE;
678 static PyObject *__pyx_kp_NONE;
679 static PyObject *__pyx_kp_get_USE_GLOBAL;
680 static PyObject *__pyx_kp_USE_GLOBAL;
681 static PyObject *__pyx_kp_get_HTTP;
682 static PyObject *__pyx_kp_HTTP;
683 static PyObject *__pyx_kp_5;
684 static PyObject *__pyx_kp_6;
685 static PyObject *__pyx_kp_get_USE_ENVVAR;
686 static PyObject *__pyx_kp_USE_ENVVAR;
687 static PyObject *__pyx_kp_set_type;
688 static PyObject *__pyx_kp_set_host;
689 static PyObject *__pyx_kp_set_port;
690 static PyObject *__pyx_kp_set_username;
691 static PyObject *__pyx_kp_set_password;
692 static PyObject *__pyx_kp_get_types;
693 static PyObject *__pyx_kp_set_info;
694 static PyObject *__pyx_kp___is_connected;
695 static PyObject *__pyx_kp_is_connected;
696 static PyObject *__pyx_kp___is_connecting;
697 static PyObject *__pyx_kp_is_connecting;
698 static PyObject *__pyx_kp___is_disconnected;
699 static PyObject *__pyx_kp_is_disconnected;
700 static PyObject *__pyx_kp___get_core;
701 static PyObject *__pyx_kp_core;
702 static PyObject *__pyx_kp___get_username;
703 static PyObject *__pyx_kp_username;
704 static PyObject *__pyx_kp___get_protocol;
705 static PyObject *__pyx_kp_protocol;
706 static PyObject *__pyx_kp_7;
707 static PyObject *__pyx_kp_protocol_options;
708 static PyObject *__pyx_kp___get_password;
709 static PyObject *__pyx_kp_password;
710 static PyObject *__pyx_kp___get_alias;
711 static PyObject *__pyx_kp_alias;
712 static PyObject *__pyx_kp___get_user_info;
713 static PyObject *__pyx_kp_user_info;
714 static PyObject *__pyx_kp_8;
715 static PyObject *__pyx_kp_remember_password;
716 static PyObject *__pyx_kp___get_enabled;
717 static PyObject *__pyx_kp_enabled;
718 static PyObject *__pyx_kp___get_status_types;
719 static PyObject *__pyx_kp_status_types;
720 static PyObject *__pyx_kp___get_active_status;
721 static PyObject *__pyx_kp_active_status;
722 static PyObject *__pyx_kp_set_protocol;
723 static PyObject *__pyx_kp_9;
724 static PyObject *__pyx_kp_set_alias;
725 static PyObject *__pyx_kp_set_user_info;
726 static PyObject *__pyx_kp_10;
727 static PyObject *__pyx_kp_set_enabled;
728 static PyObject *__pyx_kp_new;
729 static PyObject *__pyx_kp_remove;
730 static PyObject *__pyx_kp_connect;
731 static PyObject *__pyx_kp_disconnect;
732 static PyObject *__pyx_kp_add_buddy;
733 static PyObject *__pyx_kp_remove_buddy;
734 static PyObject *__pyx_kp_get_buddies_online;
735 static PyObject *__pyx_kp_get_buddies;
736 static PyObject *__pyx_kp_request_add_buddy;
737 static PyObject *__pyx_kp_set_active_status;
738 static PyObject *__pyx_kp_set_status_message;
739 static PyObject *__pyx_kp___get_account;
740 static PyObject *__pyx_kp_account;
741 static PyObject *__pyx_kp___get_group;
742 static PyObject *__pyx_kp_group;
743 static PyObject *__pyx_kp___get_server_alias;
744 static PyObject *__pyx_kp_server_alias;
745 static PyObject *__pyx_kp___get_contact_alias;
746 static PyObject *__pyx_kp_contact_alias;
747 static PyObject *__pyx_kp___get_local_alias;
748 static PyObject *__pyx_kp_local_alias;
749 static PyObject *__pyx_kp___get_available;
750 static PyObject *__pyx_kp_available;
751 static PyObject *__pyx_kp___get_online;
752 static PyObject *__pyx_kp_online;
753 static PyObject *__pyx_kp___get_idle;
754 static PyObject *__pyx_kp_idle;
755 static PyObject *__pyx_kp_set_group;
756 static PyObject *__pyx_kp_set_ui_ops;
757 static PyObject *__pyx_kp_im_send;
758 static PyObject *__pyx_kp_ecore;
759 static PyObject *__pyx_kp_account_cbs;
760 static PyObject *__pyx_kp_blist_cbs;
761 static PyObject *__pyx_kp_connection_cbs;
762 static PyObject *__pyx_kp_conversation_cbs;
763 static PyObject *__pyx_kp_notify_cbs;
764 static PyObject *__pyx_kp_request_cbs;
765 static PyObject *__pyx_kp_signal_cbs;
766 static PyObject *__pyx_kp_property;
769 static PyObject *__pyx_builtin_property;
771 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":31
772 * cdef void *c_request_authorize_user_data = NULL
774 * def call_authorize_cb(): # <<<<<<<<<<<<<<
775 * global c_request_authorize_authorize_cb
776 * global c_request_authorize_deny_cb
779 static PyObject *__pyx_pf_6purple_call_authorize_cb(PyObject *__pyx_self, PyObject *unused); /*proto*/
780 static PyObject *__pyx_pf_6purple_call_authorize_cb(PyObject *__pyx_self, PyObject *unused) {
784 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":36
785 * global c_request_authorize_user_data
787 * if c_request_authorize_authorize_cb: # <<<<<<<<<<<<<<
788 * c_request_authorize_authorize_cb(c_request_authorize_user_data)
789 * c_request_authorize_authorize_cb = NULL
791 __pyx_1 = (__pyx_v_6purple_c_request_authorize_authorize_cb != 0);
794 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":37
796 * if c_request_authorize_authorize_cb:
797 * c_request_authorize_authorize_cb(c_request_authorize_user_data) # <<<<<<<<<<<<<<
798 * c_request_authorize_authorize_cb = NULL
799 * c_request_authorize_deny_cb = NULL
801 __pyx_v_6purple_c_request_authorize_authorize_cb(__pyx_v_6purple_c_request_authorize_user_data);
806 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":38
807 * if c_request_authorize_authorize_cb:
808 * c_request_authorize_authorize_cb(c_request_authorize_user_data)
809 * c_request_authorize_authorize_cb = NULL # <<<<<<<<<<<<<<
810 * c_request_authorize_deny_cb = NULL
811 * c_request_authorize_user_data = NULL
813 __pyx_v_6purple_c_request_authorize_authorize_cb = NULL;
815 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":39
816 * c_request_authorize_authorize_cb(c_request_authorize_user_data)
817 * c_request_authorize_authorize_cb = NULL
818 * c_request_authorize_deny_cb = NULL # <<<<<<<<<<<<<<
819 * c_request_authorize_user_data = NULL
822 __pyx_v_6purple_c_request_authorize_deny_cb = NULL;
824 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":40
825 * c_request_authorize_authorize_cb = NULL
826 * c_request_authorize_deny_cb = NULL
827 * c_request_authorize_user_data = NULL # <<<<<<<<<<<<<<
829 * def call_deny_cb():
831 __pyx_v_6purple_c_request_authorize_user_data = NULL;
833 __pyx_r = Py_None; Py_INCREF(Py_None);
837 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":42
838 * c_request_authorize_user_data = NULL
840 * def call_deny_cb(): # <<<<<<<<<<<<<<
841 * global c_request_authorize_authorize_cb
842 * global c_request_authorize_deny_cb
845 static PyObject *__pyx_pf_6purple_call_deny_cb(PyObject *__pyx_self, PyObject *unused); /*proto*/
846 static PyObject *__pyx_pf_6purple_call_deny_cb(PyObject *__pyx_self, PyObject *unused) {
850 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":47
851 * global c_request_authorize_user_data
853 * if c_request_authorize_deny_cb: # <<<<<<<<<<<<<<
854 * c_request_authorize_deny_cb(c_request_authorize_user_data)
855 * c_request_authorize_authorize_cb = NULL
857 __pyx_1 = (__pyx_v_6purple_c_request_authorize_deny_cb != 0);
860 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":48
862 * if c_request_authorize_deny_cb:
863 * c_request_authorize_deny_cb(c_request_authorize_user_data) # <<<<<<<<<<<<<<
864 * c_request_authorize_authorize_cb = NULL
865 * c_request_authorize_deny_cb = NULL
867 __pyx_v_6purple_c_request_authorize_deny_cb(__pyx_v_6purple_c_request_authorize_user_data);
872 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":49
873 * if c_request_authorize_deny_cb:
874 * c_request_authorize_deny_cb(c_request_authorize_user_data)
875 * c_request_authorize_authorize_cb = NULL # <<<<<<<<<<<<<<
876 * c_request_authorize_deny_cb = NULL
877 * c_request_authorize_user_data = NULL
879 __pyx_v_6purple_c_request_authorize_authorize_cb = NULL;
881 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":50
882 * c_request_authorize_deny_cb(c_request_authorize_user_data)
883 * c_request_authorize_authorize_cb = NULL
884 * c_request_authorize_deny_cb = NULL # <<<<<<<<<<<<<<
885 * c_request_authorize_user_data = NULL
888 __pyx_v_6purple_c_request_authorize_deny_cb = NULL;
890 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":51
891 * c_request_authorize_authorize_cb = NULL
892 * c_request_authorize_deny_cb = NULL
893 * c_request_authorize_user_data = NULL # <<<<<<<<<<<<<<
895 * cdef void notify_added(account.PurpleAccount *c_account, \
897 __pyx_v_6purple_c_request_authorize_user_data = NULL;
899 __pyx_r = Py_None; Py_INCREF(Py_None);
903 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":53
904 * c_request_authorize_user_data = NULL
906 * cdef void notify_added(account.PurpleAccount *c_account, \ # <<<<<<<<<<<<<<
907 * const_char *remote_user, const_char *id, const_char *alias, \
908 * const_char *c_message):
911 static char __pyx_k_has_key[] = "has_key";
913 static PyObject *__pyx_kp_has_key;
915 static PyObject *__pyx_kp_14;
916 static PyObject *__pyx_kp_15;
918 static char __pyx_k_11[] = "account";
919 static char __pyx_k_12[] = "%s";
920 static char __pyx_k_13[] = "notify-added\n";
921 static char __pyx_k_14[] = "notify-added";
922 static char __pyx_k_15[] = "notify-added";
924 static void __pyx_f_6purple_notify_added(PurpleAccount *__pyx_v_c_account, const char *__pyx_v_remote_user, const char *__pyx_v_id, const char *__pyx_v_alias, const char *__pyx_v_c_message) {
925 PurpleConnection *__pyx_v_gc;
926 PyObject *__pyx_v_remote_alias;
927 PyObject *__pyx_v_username;
928 PyObject *__pyx_v_protocol_id;
929 PyObject *__pyx_v_message;
931 PyObject *__pyx_2 = 0;
932 PyObject *__pyx_3 = 0;
933 PyObject *__pyx_4 = 0;
934 PyObject *__pyx_5 = 0;
935 __pyx_v_remote_alias = Py_None; Py_INCREF(Py_None);
936 __pyx_v_username = Py_None; Py_INCREF(Py_None);
937 __pyx_v_protocol_id = Py_None; Py_INCREF(Py_None);
938 __pyx_v_message = Py_None; Py_INCREF(Py_None);
940 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":61
942 * cdef connection.PurpleConnection *gc = \
943 * account.purple_account_get_connection(c_account) # <<<<<<<<<<<<<<
945 * debug.purple_debug_info("account", "%s", "notify-added\n")
947 __pyx_v_gc = purple_account_get_connection(__pyx_v_c_account);
950 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":63
951 * account.purple_account_get_connection(c_account)
953 * debug.purple_debug_info("account", "%s", "notify-added\n") # <<<<<<<<<<<<<<
957 purple_debug_info(__pyx_k_11, __pyx_k_12, __pyx_k_13);
959 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":65
960 * debug.purple_debug_info("account", "%s", "notify-added\n")
962 * if alias: # <<<<<<<<<<<<<<
963 * remote_alias = <char *> alias
966 __pyx_1 = (__pyx_v_alias != 0);
969 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":66
972 * remote_alias = <char *> alias # <<<<<<<<<<<<<<
974 * remote_alias = None
976 __pyx_2 = __Pyx_PyBytes_FromString(((char *)__pyx_v_alias)); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 66; __pyx_clineno = __LINE__; goto __pyx_L1;}
977 Py_DECREF(__pyx_v_remote_alias);
978 __pyx_v_remote_alias = __pyx_2;
984 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":68
985 * remote_alias = <char *> alias
987 * remote_alias = None # <<<<<<<<<<<<<<
992 Py_DECREF(__pyx_v_remote_alias);
993 __pyx_v_remote_alias = Py_None;
997 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":70
998 * remote_alias = None
1000 * if id: # <<<<<<<<<<<<<<
1001 * username = <char *> id
1002 * elif connection.purple_connection_get_display_name(gc) != NULL:
1004 __pyx_1 = (__pyx_v_id != 0);
1007 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":71
1010 * username = <char *> id # <<<<<<<<<<<<<<
1011 * elif connection.purple_connection_get_display_name(gc) != NULL:
1012 * username = connection.purple_connection_get_display_name(gc)
1014 __pyx_2 = __Pyx_PyBytes_FromString(((char *)__pyx_v_id)); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 71; __pyx_clineno = __LINE__; goto __pyx_L1;}
1015 Py_DECREF(__pyx_v_username);
1016 __pyx_v_username = __pyx_2;
1021 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":72
1023 * username = <char *> id
1024 * elif connection.purple_connection_get_display_name(gc) != NULL: # <<<<<<<<<<<<<<
1025 * username = connection.purple_connection_get_display_name(gc)
1028 __pyx_1 = (purple_connection_get_display_name(__pyx_v_gc) != NULL);
1031 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":73
1032 * username = <char *> id
1033 * elif connection.purple_connection_get_display_name(gc) != NULL:
1034 * username = connection.purple_connection_get_display_name(gc) # <<<<<<<<<<<<<<
1036 * username = account.purple_account_get_username(c_account)
1038 __pyx_2 = __Pyx_PyBytes_FromString(purple_connection_get_display_name(__pyx_v_gc)); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 73; __pyx_clineno = __LINE__; goto __pyx_L1;}
1039 Py_DECREF(__pyx_v_username);
1040 __pyx_v_username = __pyx_2;
1046 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":75
1047 * username = connection.purple_connection_get_display_name(gc)
1049 * username = account.purple_account_get_username(c_account) # <<<<<<<<<<<<<<
1051 * protocol_id = account.purple_account_get_protocol_id(c_account)
1053 __pyx_2 = __Pyx_PyBytes_FromString(purple_account_get_username(__pyx_v_c_account)); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 75; __pyx_clineno = __LINE__; goto __pyx_L1;}
1054 Py_DECREF(__pyx_v_username);
1055 __pyx_v_username = __pyx_2;
1060 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":77
1061 * username = account.purple_account_get_username(c_account)
1063 * protocol_id = account.purple_account_get_protocol_id(c_account) # <<<<<<<<<<<<<<
1067 __pyx_2 = __Pyx_PyBytes_FromString(purple_account_get_protocol_id(__pyx_v_c_account)); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L1;}
1068 Py_DECREF(__pyx_v_protocol_id);
1069 __pyx_v_protocol_id = __pyx_2;
1072 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":79
1073 * protocol_id = account.purple_account_get_protocol_id(c_account)
1075 * if c_message: # <<<<<<<<<<<<<<
1076 * message = <char *> c_message
1079 __pyx_1 = (__pyx_v_c_message != 0);
1082 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":80
1085 * message = <char *> c_message # <<<<<<<<<<<<<<
1089 __pyx_2 = __Pyx_PyBytes_FromString(((char *)__pyx_v_c_message)); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 80; __pyx_clineno = __LINE__; goto __pyx_L1;}
1090 Py_DECREF(__pyx_v_message);
1091 __pyx_v_message = __pyx_2;
1097 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":82
1098 * message = <char *> c_message
1100 * message = None # <<<<<<<<<<<<<<
1102 * if account_cbs.has_key("notify-added"):
1105 Py_DECREF(__pyx_v_message);
1106 __pyx_v_message = Py_None;
1110 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":84
1113 * if account_cbs.has_key("notify-added"): # <<<<<<<<<<<<<<
1114 * (<object> account_cbs["notify-added"])( \
1115 * (<char *> remote_user, remote_alias), \
1117 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_account_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 84; __pyx_clineno = __LINE__; goto __pyx_L1;}
1118 __pyx_3 = PyObject_GetAttr(__pyx_2, __pyx_kp_has_key); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 84; __pyx_clineno = __LINE__; goto __pyx_L1;}
1119 Py_DECREF(__pyx_2); __pyx_2 = 0;
1120 __pyx_2 = PyTuple_New(1); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 84; __pyx_clineno = __LINE__; goto __pyx_L1;}
1121 Py_INCREF(__pyx_kp_14);
1122 PyTuple_SET_ITEM(__pyx_2, 0, __pyx_kp_14);
1123 __pyx_4 = PyObject_Call(__pyx_3, ((PyObject *)__pyx_2), NULL); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 84; __pyx_clineno = __LINE__; goto __pyx_L1;}
1124 Py_DECREF(__pyx_3); __pyx_3 = 0;
1125 Py_DECREF(((PyObject *)__pyx_2)); __pyx_2 = 0;
1126 __pyx_1 = __Pyx_PyObject_IsTrue(__pyx_4); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 84; __pyx_clineno = __LINE__; goto __pyx_L1;}
1127 Py_DECREF(__pyx_4); __pyx_4 = 0;
1130 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":85
1132 * if account_cbs.has_key("notify-added"):
1133 * (<object> account_cbs["notify-added"])( \ # <<<<<<<<<<<<<<
1134 * (<char *> remote_user, remote_alias), \
1135 * (username, protocol_id), message)
1137 __pyx_3 = __Pyx_GetName(__pyx_m, __pyx_kp_account_cbs); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 85; __pyx_clineno = __LINE__; goto __pyx_L1;}
1138 __pyx_2 = PyObject_GetItem(__pyx_3, __pyx_kp_15); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 85; __pyx_clineno = __LINE__; goto __pyx_L1;}
1139 Py_DECREF(__pyx_3); __pyx_3 = 0;
1141 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":86
1142 * if account_cbs.has_key("notify-added"):
1143 * (<object> account_cbs["notify-added"])( \
1144 * (<char *> remote_user, remote_alias), \ # <<<<<<<<<<<<<<
1145 * (username, protocol_id), message)
1148 __pyx_4 = __Pyx_PyBytes_FromString(((char *)__pyx_v_remote_user)); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 86; __pyx_clineno = __LINE__; goto __pyx_L1;}
1149 __pyx_3 = PyTuple_New(2); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 86; __pyx_clineno = __LINE__; goto __pyx_L1;}
1150 PyTuple_SET_ITEM(__pyx_3, 0, __pyx_4);
1151 Py_INCREF(__pyx_v_remote_alias);
1152 PyTuple_SET_ITEM(__pyx_3, 1, __pyx_v_remote_alias);
1155 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":87
1156 * (<object> account_cbs["notify-added"])( \
1157 * (<char *> remote_user, remote_alias), \
1158 * (username, protocol_id), message) # <<<<<<<<<<<<<<
1160 * cdef void status_changed(account.PurpleAccount *c_account, \
1162 __pyx_4 = PyTuple_New(2); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 87; __pyx_clineno = __LINE__; goto __pyx_L1;}
1163 Py_INCREF(__pyx_v_username);
1164 PyTuple_SET_ITEM(__pyx_4, 0, __pyx_v_username);
1165 Py_INCREF(__pyx_v_protocol_id);
1166 PyTuple_SET_ITEM(__pyx_4, 1, __pyx_v_protocol_id);
1167 __pyx_5 = PyTuple_New(3); if (unlikely(!__pyx_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 85; __pyx_clineno = __LINE__; goto __pyx_L1;}
1168 PyTuple_SET_ITEM(__pyx_5, 0, ((PyObject *)__pyx_3));
1169 PyTuple_SET_ITEM(__pyx_5, 1, ((PyObject *)__pyx_4));
1170 Py_INCREF(__pyx_v_message);
1171 PyTuple_SET_ITEM(__pyx_5, 2, __pyx_v_message);
1174 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_5), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 85; __pyx_clineno = __LINE__; goto __pyx_L1;}
1175 Py_DECREF(__pyx_2); __pyx_2 = 0;
1176 Py_DECREF(((PyObject *)__pyx_5)); __pyx_5 = 0;
1177 Py_DECREF(__pyx_3); __pyx_3 = 0;
1184 Py_XDECREF(__pyx_2);
1185 Py_XDECREF(__pyx_3);
1186 Py_XDECREF(__pyx_4);
1187 Py_XDECREF(__pyx_5);
1188 __Pyx_WriteUnraisable("purple.notify_added");
1190 Py_DECREF(__pyx_v_remote_alias);
1191 Py_DECREF(__pyx_v_username);
1192 Py_DECREF(__pyx_v_protocol_id);
1193 Py_DECREF(__pyx_v_message);
1196 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":89
1197 * (username, protocol_id), message)
1199 * cdef void status_changed(account.PurpleAccount *c_account, \ # <<<<<<<<<<<<<<
1200 * status.PurpleStatus *c_status):
1204 static PyObject *__pyx_kp_19;
1205 static PyObject *__pyx_kp_20;
1207 static char __pyx_k_16[] = "account";
1208 static char __pyx_k_17[] = "%s";
1209 static char __pyx_k_18[] = "status-changed\n";
1210 static char __pyx_k_19[] = "status-changed";
1211 static char __pyx_k_20[] = "status-changed";
1213 static void __pyx_f_6purple_status_changed(PurpleAccount *__pyx_v_c_account, PurpleStatus *__pyx_v_c_status) {
1214 PyObject *__pyx_v_username;
1215 PyObject *__pyx_v_protocol_id;
1216 PyObject *__pyx_v_status_id;
1217 PyObject *__pyx_v_status_name;
1218 PyObject *__pyx_1 = 0;
1219 PyObject *__pyx_2 = 0;
1220 PyObject *__pyx_3 = 0;
1222 __pyx_v_username = Py_None; Py_INCREF(Py_None);
1223 __pyx_v_protocol_id = Py_None; Py_INCREF(Py_None);
1224 __pyx_v_status_id = Py_None; Py_INCREF(Py_None);
1225 __pyx_v_status_name = Py_None; Py_INCREF(Py_None);
1227 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":94
1228 * This account's status changed.
1230 * debug.purple_debug_info("account", "%s", "status-changed\n") # <<<<<<<<<<<<<<
1232 * username = account.purple_account_get_username(c_account)
1234 purple_debug_info(__pyx_k_16, __pyx_k_17, __pyx_k_18);
1236 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":96
1237 * debug.purple_debug_info("account", "%s", "status-changed\n")
1239 * username = account.purple_account_get_username(c_account) # <<<<<<<<<<<<<<
1240 * protocol_id = account.purple_account_get_protocol_id(c_account)
1243 __pyx_1 = __Pyx_PyBytes_FromString(purple_account_get_username(__pyx_v_c_account)); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 96; __pyx_clineno = __LINE__; goto __pyx_L1;}
1244 Py_DECREF(__pyx_v_username);
1245 __pyx_v_username = __pyx_1;
1248 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":97
1250 * username = account.purple_account_get_username(c_account)
1251 * protocol_id = account.purple_account_get_protocol_id(c_account) # <<<<<<<<<<<<<<
1253 * status_id = status.purple_status_get_id(c_status)
1255 __pyx_1 = __Pyx_PyBytes_FromString(purple_account_get_protocol_id(__pyx_v_c_account)); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 97; __pyx_clineno = __LINE__; goto __pyx_L1;}
1256 Py_DECREF(__pyx_v_protocol_id);
1257 __pyx_v_protocol_id = __pyx_1;
1260 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":99
1261 * protocol_id = account.purple_account_get_protocol_id(c_account)
1263 * status_id = status.purple_status_get_id(c_status) # <<<<<<<<<<<<<<
1264 * status_name = status.purple_status_get_name(c_status)
1267 __pyx_1 = __Pyx_PyBytes_FromString(purple_status_get_id(__pyx_v_c_status)); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 99; __pyx_clineno = __LINE__; goto __pyx_L1;}
1268 Py_DECREF(__pyx_v_status_id);
1269 __pyx_v_status_id = __pyx_1;
1272 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":100
1274 * status_id = status.purple_status_get_id(c_status)
1275 * status_name = status.purple_status_get_name(c_status) # <<<<<<<<<<<<<<
1277 * if account_cbs.has_key("status-changed"):
1279 __pyx_1 = __Pyx_PyBytes_FromString(purple_status_get_name(__pyx_v_c_status)); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 100; __pyx_clineno = __LINE__; goto __pyx_L1;}
1280 Py_DECREF(__pyx_v_status_name);
1281 __pyx_v_status_name = __pyx_1;
1284 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":102
1285 * status_name = status.purple_status_get_name(c_status)
1287 * if account_cbs.has_key("status-changed"): # <<<<<<<<<<<<<<
1288 * (<object> account_cbs["status-changed"])( \
1289 * (username, protocol_id), status_id, status_name)
1291 __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_account_cbs); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 102; __pyx_clineno = __LINE__; goto __pyx_L1;}
1292 __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_has_key); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 102; __pyx_clineno = __LINE__; goto __pyx_L1;}
1293 Py_DECREF(__pyx_1); __pyx_1 = 0;
1294 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 102; __pyx_clineno = __LINE__; goto __pyx_L1;}
1295 Py_INCREF(__pyx_kp_19);
1296 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_kp_19);
1297 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 102; __pyx_clineno = __LINE__; goto __pyx_L1;}
1298 Py_DECREF(__pyx_2); __pyx_2 = 0;
1299 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
1300 __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_3); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 102; __pyx_clineno = __LINE__; goto __pyx_L1;}
1301 Py_DECREF(__pyx_3); __pyx_3 = 0;
1304 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":103
1306 * if account_cbs.has_key("status-changed"):
1307 * (<object> account_cbs["status-changed"])( \ # <<<<<<<<<<<<<<
1308 * (username, protocol_id), status_id, status_name)
1311 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_account_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 103; __pyx_clineno = __LINE__; goto __pyx_L1;}
1312 __pyx_1 = PyObject_GetItem(__pyx_2, __pyx_kp_20); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 103; __pyx_clineno = __LINE__; goto __pyx_L1;}
1313 Py_DECREF(__pyx_2); __pyx_2 = 0;
1315 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":104
1316 * if account_cbs.has_key("status-changed"):
1317 * (<object> account_cbs["status-changed"])( \
1318 * (username, protocol_id), status_id, status_name) # <<<<<<<<<<<<<<
1320 * cdef void request_add(account.PurpleAccount *c_account, \
1322 __pyx_3 = PyTuple_New(2); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 104; __pyx_clineno = __LINE__; goto __pyx_L1;}
1323 Py_INCREF(__pyx_v_username);
1324 PyTuple_SET_ITEM(__pyx_3, 0, __pyx_v_username);
1325 Py_INCREF(__pyx_v_protocol_id);
1326 PyTuple_SET_ITEM(__pyx_3, 1, __pyx_v_protocol_id);
1327 __pyx_2 = PyTuple_New(3); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 103; __pyx_clineno = __LINE__; goto __pyx_L1;}
1328 PyTuple_SET_ITEM(__pyx_2, 0, ((PyObject *)__pyx_3));
1329 Py_INCREF(__pyx_v_status_id);
1330 PyTuple_SET_ITEM(__pyx_2, 1, __pyx_v_status_id);
1331 Py_INCREF(__pyx_v_status_name);
1332 PyTuple_SET_ITEM(__pyx_2, 2, __pyx_v_status_name);
1334 __pyx_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_2), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 103; __pyx_clineno = __LINE__; goto __pyx_L1;}
1335 Py_DECREF(__pyx_1); __pyx_1 = 0;
1336 Py_DECREF(((PyObject *)__pyx_2)); __pyx_2 = 0;
1337 Py_DECREF(__pyx_3); __pyx_3 = 0;
1344 Py_XDECREF(__pyx_1);
1345 Py_XDECREF(__pyx_2);
1346 Py_XDECREF(__pyx_3);
1347 __Pyx_WriteUnraisable("purple.status_changed");
1349 Py_DECREF(__pyx_v_username);
1350 Py_DECREF(__pyx_v_protocol_id);
1351 Py_DECREF(__pyx_v_status_id);
1352 Py_DECREF(__pyx_v_status_name);
1355 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":106
1356 * (username, protocol_id), status_id, status_name)
1358 * cdef void request_add(account.PurpleAccount *c_account, \ # <<<<<<<<<<<<<<
1359 * const_char *remote_user, const_char *id, const_char *alias, \
1360 * const_char *c_message):
1363 static PyObject *__pyx_kp_24;
1364 static PyObject *__pyx_kp_25;
1366 static char __pyx_k_21[] = "account";
1367 static char __pyx_k_22[] = "%s";
1368 static char __pyx_k_23[] = "request-add\n";
1369 static char __pyx_k_24[] = "request-add";
1370 static char __pyx_k_25[] = "request-add";
1372 static void __pyx_f_6purple_request_add(PurpleAccount *__pyx_v_c_account, const char *__pyx_v_remote_user, const char *__pyx_v_id, const char *__pyx_v_alias, const char *__pyx_v_c_message) {
1373 PurpleConnection *__pyx_v_gc;
1374 PyObject *__pyx_v_remote_alias;
1375 PyObject *__pyx_v_username;
1376 PyObject *__pyx_v_protocol_id;
1377 PyObject *__pyx_v_message;
1379 PyObject *__pyx_2 = 0;
1380 PyObject *__pyx_3 = 0;
1381 PyObject *__pyx_4 = 0;
1382 PyObject *__pyx_5 = 0;
1383 __pyx_v_remote_alias = Py_None; Py_INCREF(Py_None);
1384 __pyx_v_username = Py_None; Py_INCREF(Py_None);
1385 __pyx_v_protocol_id = Py_None; Py_INCREF(Py_None);
1386 __pyx_v_message = Py_None; Py_INCREF(Py_None);
1388 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":113
1390 * cdef connection.PurpleConnection *gc = \
1391 * account.purple_account_get_connection(c_account) # <<<<<<<<<<<<<<
1393 * debug.purple_debug_info("account", "%s", "request-add\n")
1395 __pyx_v_gc = purple_account_get_connection(__pyx_v_c_account);
1398 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":115
1399 * account.purple_account_get_connection(c_account)
1401 * debug.purple_debug_info("account", "%s", "request-add\n") # <<<<<<<<<<<<<<
1405 purple_debug_info(__pyx_k_21, __pyx_k_22, __pyx_k_23);
1407 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":117
1408 * debug.purple_debug_info("account", "%s", "request-add\n")
1410 * if alias: # <<<<<<<<<<<<<<
1411 * remote_alias = <char *> alias
1414 __pyx_1 = (__pyx_v_alias != 0);
1417 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":118
1420 * remote_alias = <char *> alias # <<<<<<<<<<<<<<
1422 * remote_alias = None
1424 __pyx_2 = __Pyx_PyBytes_FromString(((char *)__pyx_v_alias)); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 118; __pyx_clineno = __LINE__; goto __pyx_L1;}
1425 Py_DECREF(__pyx_v_remote_alias);
1426 __pyx_v_remote_alias = __pyx_2;
1432 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":120
1433 * remote_alias = <char *> alias
1435 * remote_alias = None # <<<<<<<<<<<<<<
1440 Py_DECREF(__pyx_v_remote_alias);
1441 __pyx_v_remote_alias = Py_None;
1445 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":122
1446 * remote_alias = None
1448 * if id: # <<<<<<<<<<<<<<
1449 * username = <char *> id
1450 * elif connection.purple_connection_get_display_name(gc) != NULL:
1452 __pyx_1 = (__pyx_v_id != 0);
1455 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":123
1458 * username = <char *> id # <<<<<<<<<<<<<<
1459 * elif connection.purple_connection_get_display_name(gc) != NULL:
1460 * username = connection.purple_connection_get_display_name(gc)
1462 __pyx_2 = __Pyx_PyBytes_FromString(((char *)__pyx_v_id)); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 123; __pyx_clineno = __LINE__; goto __pyx_L1;}
1463 Py_DECREF(__pyx_v_username);
1464 __pyx_v_username = __pyx_2;
1469 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":124
1471 * username = <char *> id
1472 * elif connection.purple_connection_get_display_name(gc) != NULL: # <<<<<<<<<<<<<<
1473 * username = connection.purple_connection_get_display_name(gc)
1476 __pyx_1 = (purple_connection_get_display_name(__pyx_v_gc) != NULL);
1479 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":125
1480 * username = <char *> id
1481 * elif connection.purple_connection_get_display_name(gc) != NULL:
1482 * username = connection.purple_connection_get_display_name(gc) # <<<<<<<<<<<<<<
1484 * username = account.purple_account_get_username(c_account)
1486 __pyx_2 = __Pyx_PyBytes_FromString(purple_connection_get_display_name(__pyx_v_gc)); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 125; __pyx_clineno = __LINE__; goto __pyx_L1;}
1487 Py_DECREF(__pyx_v_username);
1488 __pyx_v_username = __pyx_2;
1494 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":127
1495 * username = connection.purple_connection_get_display_name(gc)
1497 * username = account.purple_account_get_username(c_account) # <<<<<<<<<<<<<<
1499 * protocol_id = account.purple_account_get_protocol_id(c_account)
1501 __pyx_2 = __Pyx_PyBytes_FromString(purple_account_get_username(__pyx_v_c_account)); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 127; __pyx_clineno = __LINE__; goto __pyx_L1;}
1502 Py_DECREF(__pyx_v_username);
1503 __pyx_v_username = __pyx_2;
1508 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":129
1509 * username = account.purple_account_get_username(c_account)
1511 * protocol_id = account.purple_account_get_protocol_id(c_account) # <<<<<<<<<<<<<<
1515 __pyx_2 = __Pyx_PyBytes_FromString(purple_account_get_protocol_id(__pyx_v_c_account)); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 129; __pyx_clineno = __LINE__; goto __pyx_L1;}
1516 Py_DECREF(__pyx_v_protocol_id);
1517 __pyx_v_protocol_id = __pyx_2;
1520 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":131
1521 * protocol_id = account.purple_account_get_protocol_id(c_account)
1523 * if c_message: # <<<<<<<<<<<<<<
1524 * message = <char *> c_message
1527 __pyx_1 = (__pyx_v_c_message != 0);
1530 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":132
1533 * message = <char *> c_message # <<<<<<<<<<<<<<
1537 __pyx_2 = __Pyx_PyBytes_FromString(((char *)__pyx_v_c_message)); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 132; __pyx_clineno = __LINE__; goto __pyx_L1;}
1538 Py_DECREF(__pyx_v_message);
1539 __pyx_v_message = __pyx_2;
1545 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":134
1546 * message = <char *> c_message
1548 * message = None # <<<<<<<<<<<<<<
1550 * if account_cbs.has_key("request-add"):
1553 Py_DECREF(__pyx_v_message);
1554 __pyx_v_message = Py_None;
1558 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":136
1561 * if account_cbs.has_key("request-add"): # <<<<<<<<<<<<<<
1562 * (<object> account_cbs["request-add"])( \
1563 * (<char *> remote_user, remote_alias), \
1565 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_account_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 136; __pyx_clineno = __LINE__; goto __pyx_L1;}
1566 __pyx_3 = PyObject_GetAttr(__pyx_2, __pyx_kp_has_key); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 136; __pyx_clineno = __LINE__; goto __pyx_L1;}
1567 Py_DECREF(__pyx_2); __pyx_2 = 0;
1568 __pyx_2 = PyTuple_New(1); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 136; __pyx_clineno = __LINE__; goto __pyx_L1;}
1569 Py_INCREF(__pyx_kp_24);
1570 PyTuple_SET_ITEM(__pyx_2, 0, __pyx_kp_24);
1571 __pyx_4 = PyObject_Call(__pyx_3, ((PyObject *)__pyx_2), NULL); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 136; __pyx_clineno = __LINE__; goto __pyx_L1;}
1572 Py_DECREF(__pyx_3); __pyx_3 = 0;
1573 Py_DECREF(((PyObject *)__pyx_2)); __pyx_2 = 0;
1574 __pyx_1 = __Pyx_PyObject_IsTrue(__pyx_4); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 136; __pyx_clineno = __LINE__; goto __pyx_L1;}
1575 Py_DECREF(__pyx_4); __pyx_4 = 0;
1578 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":137
1580 * if account_cbs.has_key("request-add"):
1581 * (<object> account_cbs["request-add"])( \ # <<<<<<<<<<<<<<
1582 * (<char *> remote_user, remote_alias), \
1583 * (username, protocol_id), message)
1585 __pyx_3 = __Pyx_GetName(__pyx_m, __pyx_kp_account_cbs); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 137; __pyx_clineno = __LINE__; goto __pyx_L1;}
1586 __pyx_2 = PyObject_GetItem(__pyx_3, __pyx_kp_25); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 137; __pyx_clineno = __LINE__; goto __pyx_L1;}
1587 Py_DECREF(__pyx_3); __pyx_3 = 0;
1589 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":138
1590 * if account_cbs.has_key("request-add"):
1591 * (<object> account_cbs["request-add"])( \
1592 * (<char *> remote_user, remote_alias), \ # <<<<<<<<<<<<<<
1593 * (username, protocol_id), message)
1596 __pyx_4 = __Pyx_PyBytes_FromString(((char *)__pyx_v_remote_user)); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 138; __pyx_clineno = __LINE__; goto __pyx_L1;}
1597 __pyx_3 = PyTuple_New(2); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 138; __pyx_clineno = __LINE__; goto __pyx_L1;}
1598 PyTuple_SET_ITEM(__pyx_3, 0, __pyx_4);
1599 Py_INCREF(__pyx_v_remote_alias);
1600 PyTuple_SET_ITEM(__pyx_3, 1, __pyx_v_remote_alias);
1603 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":139
1604 * (<object> account_cbs["request-add"])( \
1605 * (<char *> remote_user, remote_alias), \
1606 * (username, protocol_id), message) # <<<<<<<<<<<<<<
1608 * cdef void *request_authorize(account.PurpleAccount *c_account, \
1610 __pyx_4 = PyTuple_New(2); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 139; __pyx_clineno = __LINE__; goto __pyx_L1;}
1611 Py_INCREF(__pyx_v_username);
1612 PyTuple_SET_ITEM(__pyx_4, 0, __pyx_v_username);
1613 Py_INCREF(__pyx_v_protocol_id);
1614 PyTuple_SET_ITEM(__pyx_4, 1, __pyx_v_protocol_id);
1615 __pyx_5 = PyTuple_New(3); if (unlikely(!__pyx_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 137; __pyx_clineno = __LINE__; goto __pyx_L1;}
1616 PyTuple_SET_ITEM(__pyx_5, 0, ((PyObject *)__pyx_3));
1617 PyTuple_SET_ITEM(__pyx_5, 1, ((PyObject *)__pyx_4));
1618 Py_INCREF(__pyx_v_message);
1619 PyTuple_SET_ITEM(__pyx_5, 2, __pyx_v_message);
1622 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_5), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 137; __pyx_clineno = __LINE__; goto __pyx_L1;}
1623 Py_DECREF(__pyx_2); __pyx_2 = 0;
1624 Py_DECREF(((PyObject *)__pyx_5)); __pyx_5 = 0;
1625 Py_DECREF(__pyx_3); __pyx_3 = 0;
1632 Py_XDECREF(__pyx_2);
1633 Py_XDECREF(__pyx_3);
1634 Py_XDECREF(__pyx_4);
1635 Py_XDECREF(__pyx_5);
1636 __Pyx_WriteUnraisable("purple.request_add");
1638 Py_DECREF(__pyx_v_remote_alias);
1639 Py_DECREF(__pyx_v_username);
1640 Py_DECREF(__pyx_v_protocol_id);
1641 Py_DECREF(__pyx_v_message);
1644 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":141
1645 * (username, protocol_id), message)
1647 * cdef void *request_authorize(account.PurpleAccount *c_account, \ # <<<<<<<<<<<<<<
1648 * const_char *remote_user, const_char *id, const_char *alias, \
1649 * const_char *c_message, glib.gboolean on_list, \
1652 static char __pyx_k_call_authorize_cb[] = "call_authorize_cb";
1653 static char __pyx_k_call_deny_cb[] = "call_deny_cb";
1655 static PyObject *__pyx_kp_call_authorize_cb;
1656 static PyObject *__pyx_kp_call_deny_cb;
1658 static PyObject *__pyx_kp_29;
1659 static PyObject *__pyx_kp_30;
1661 static char __pyx_k_26[] = "account";
1662 static char __pyx_k_27[] = "%s";
1663 static char __pyx_k_28[] = "request-authorize\n";
1664 static char __pyx_k_29[] = "request-authorize";
1665 static char __pyx_k_30[] = "request-authorize";
1667 static void *__pyx_f_6purple_request_authorize(PurpleAccount *__pyx_v_c_account, const char *__pyx_v_remote_user, const char *__pyx_v_id, const char *__pyx_v_alias, const char *__pyx_v_c_message, gboolean __pyx_v_on_list, PurpleAccountRequestAuthorizationCb __pyx_v_authorize_cb, PurpleAccountRequestAuthorizationCb __pyx_v_deny_cb, void *__pyx_v_user_data) {
1668 PurpleConnection *__pyx_v_gc;
1669 PyObject *__pyx_v_remote_alias;
1670 PyObject *__pyx_v_username;
1671 PyObject *__pyx_v_protocol_id;
1672 PyObject *__pyx_v_message;
1675 PyObject *__pyx_2 = 0;
1676 PyObject *__pyx_3 = 0;
1677 PyObject *__pyx_4 = 0;
1678 PyObject *__pyx_5 = 0;
1679 PyObject *__pyx_6 = 0;
1680 PyObject *__pyx_7 = 0;
1681 PyObject *__pyx_8 = 0;
1682 __pyx_v_remote_alias = Py_None; Py_INCREF(Py_None);
1683 __pyx_v_username = Py_None; Py_INCREF(Py_None);
1684 __pyx_v_protocol_id = Py_None; Py_INCREF(Py_None);
1685 __pyx_v_message = Py_None; Py_INCREF(Py_None);
1687 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":154
1689 * cdef connection.PurpleConnection *gc = \
1690 * account.purple_account_get_connection(c_account) # <<<<<<<<<<<<<<
1692 * debug.purple_debug_info("account", "%s", "request-authorize\n")
1694 __pyx_v_gc = purple_account_get_connection(__pyx_v_c_account);
1697 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":156
1698 * account.purple_account_get_connection(c_account)
1700 * debug.purple_debug_info("account", "%s", "request-authorize\n") # <<<<<<<<<<<<<<
1702 * global c_request_authorize_authorize_cb
1704 purple_debug_info(__pyx_k_26, __pyx_k_27, __pyx_k_28);
1706 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":162
1707 * global c_request_authorize_user_data
1709 * c_request_authorize_authorize_cb = authorize_cb # <<<<<<<<<<<<<<
1710 * c_request_authorize_deny_cb = deny_cb
1711 * c_request_authorize_user_data = user_data
1713 __pyx_v_6purple_c_request_authorize_authorize_cb = __pyx_v_authorize_cb;
1715 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":163
1717 * c_request_authorize_authorize_cb = authorize_cb
1718 * c_request_authorize_deny_cb = deny_cb # <<<<<<<<<<<<<<
1719 * c_request_authorize_user_data = user_data
1722 __pyx_v_6purple_c_request_authorize_deny_cb = __pyx_v_deny_cb;
1724 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":164
1725 * c_request_authorize_authorize_cb = authorize_cb
1726 * c_request_authorize_deny_cb = deny_cb
1727 * c_request_authorize_user_data = user_data # <<<<<<<<<<<<<<
1731 __pyx_v_6purple_c_request_authorize_user_data = __pyx_v_user_data;
1733 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":166
1734 * c_request_authorize_user_data = user_data
1736 * if alias: # <<<<<<<<<<<<<<
1737 * remote_alias = <char *> alias
1740 __pyx_1 = (__pyx_v_alias != 0);
1743 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":167
1746 * remote_alias = <char *> alias # <<<<<<<<<<<<<<
1748 * remote_alias = None
1750 __pyx_2 = __Pyx_PyBytes_FromString(((char *)__pyx_v_alias)); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 167; __pyx_clineno = __LINE__; goto __pyx_L1;}
1751 Py_DECREF(__pyx_v_remote_alias);
1752 __pyx_v_remote_alias = __pyx_2;
1758 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":169
1759 * remote_alias = <char *> alias
1761 * remote_alias = None # <<<<<<<<<<<<<<
1766 Py_DECREF(__pyx_v_remote_alias);
1767 __pyx_v_remote_alias = Py_None;
1771 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":171
1772 * remote_alias = None
1774 * if id: # <<<<<<<<<<<<<<
1775 * username = <char *> id
1776 * elif connection.purple_connection_get_display_name(gc) != NULL:
1778 __pyx_1 = (__pyx_v_id != 0);
1781 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":172
1784 * username = <char *> id # <<<<<<<<<<<<<<
1785 * elif connection.purple_connection_get_display_name(gc) != NULL:
1786 * username = connection.purple_connection_get_display_name(gc)
1788 __pyx_2 = __Pyx_PyBytes_FromString(((char *)__pyx_v_id)); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 172; __pyx_clineno = __LINE__; goto __pyx_L1;}
1789 Py_DECREF(__pyx_v_username);
1790 __pyx_v_username = __pyx_2;
1795 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":173
1797 * username = <char *> id
1798 * elif connection.purple_connection_get_display_name(gc) != NULL: # <<<<<<<<<<<<<<
1799 * username = connection.purple_connection_get_display_name(gc)
1802 __pyx_1 = (purple_connection_get_display_name(__pyx_v_gc) != NULL);
1805 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":174
1806 * username = <char *> id
1807 * elif connection.purple_connection_get_display_name(gc) != NULL:
1808 * username = connection.purple_connection_get_display_name(gc) # <<<<<<<<<<<<<<
1810 * username = account.purple_account_get_username(c_account)
1812 __pyx_2 = __Pyx_PyBytes_FromString(purple_connection_get_display_name(__pyx_v_gc)); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 174; __pyx_clineno = __LINE__; goto __pyx_L1;}
1813 Py_DECREF(__pyx_v_username);
1814 __pyx_v_username = __pyx_2;
1820 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":176
1821 * username = connection.purple_connection_get_display_name(gc)
1823 * username = account.purple_account_get_username(c_account) # <<<<<<<<<<<<<<
1825 * protocol_id = account.purple_account_get_protocol_id(c_account)
1827 __pyx_2 = __Pyx_PyBytes_FromString(purple_account_get_username(__pyx_v_c_account)); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 176; __pyx_clineno = __LINE__; goto __pyx_L1;}
1828 Py_DECREF(__pyx_v_username);
1829 __pyx_v_username = __pyx_2;
1834 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":178
1835 * username = account.purple_account_get_username(c_account)
1837 * protocol_id = account.purple_account_get_protocol_id(c_account) # <<<<<<<<<<<<<<
1841 __pyx_2 = __Pyx_PyBytes_FromString(purple_account_get_protocol_id(__pyx_v_c_account)); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 178; __pyx_clineno = __LINE__; goto __pyx_L1;}
1842 Py_DECREF(__pyx_v_protocol_id);
1843 __pyx_v_protocol_id = __pyx_2;
1846 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":180
1847 * protocol_id = account.purple_account_get_protocol_id(c_account)
1849 * if c_message: # <<<<<<<<<<<<<<
1850 * message = <char *> c_message
1853 __pyx_1 = (__pyx_v_c_message != 0);
1856 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":181
1859 * message = <char *> c_message # <<<<<<<<<<<<<<
1863 __pyx_2 = __Pyx_PyBytes_FromString(((char *)__pyx_v_c_message)); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 181; __pyx_clineno = __LINE__; goto __pyx_L1;}
1864 Py_DECREF(__pyx_v_message);
1865 __pyx_v_message = __pyx_2;
1871 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":183
1872 * message = <char *> c_message
1874 * message = None # <<<<<<<<<<<<<<
1876 * if account_cbs.has_key("request-authorize"):
1879 Py_DECREF(__pyx_v_message);
1880 __pyx_v_message = Py_None;
1884 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":185
1887 * if account_cbs.has_key("request-authorize"): # <<<<<<<<<<<<<<
1888 * (<object> account_cbs["request-authorize"])( \
1889 * (<char *> remote_user, remote_alias), \
1891 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_account_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 185; __pyx_clineno = __LINE__; goto __pyx_L1;}
1892 __pyx_3 = PyObject_GetAttr(__pyx_2, __pyx_kp_has_key); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 185; __pyx_clineno = __LINE__; goto __pyx_L1;}
1893 Py_DECREF(__pyx_2); __pyx_2 = 0;
1894 __pyx_2 = PyTuple_New(1); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 185; __pyx_clineno = __LINE__; goto __pyx_L1;}
1895 Py_INCREF(__pyx_kp_29);
1896 PyTuple_SET_ITEM(__pyx_2, 0, __pyx_kp_29);
1897 __pyx_4 = PyObject_Call(__pyx_3, ((PyObject *)__pyx_2), NULL); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 185; __pyx_clineno = __LINE__; goto __pyx_L1;}
1898 Py_DECREF(__pyx_3); __pyx_3 = 0;
1899 Py_DECREF(((PyObject *)__pyx_2)); __pyx_2 = 0;
1900 __pyx_1 = __Pyx_PyObject_IsTrue(__pyx_4); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 185; __pyx_clineno = __LINE__; goto __pyx_L1;}
1901 Py_DECREF(__pyx_4); __pyx_4 = 0;
1904 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":186
1906 * if account_cbs.has_key("request-authorize"):
1907 * (<object> account_cbs["request-authorize"])( \ # <<<<<<<<<<<<<<
1908 * (<char *> remote_user, remote_alias), \
1909 * (username, protocol_id), \
1911 __pyx_3 = __Pyx_GetName(__pyx_m, __pyx_kp_account_cbs); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 186; __pyx_clineno = __LINE__; goto __pyx_L1;}
1912 __pyx_2 = PyObject_GetItem(__pyx_3, __pyx_kp_30); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 186; __pyx_clineno = __LINE__; goto __pyx_L1;}
1913 Py_DECREF(__pyx_3); __pyx_3 = 0;
1915 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":187
1916 * if account_cbs.has_key("request-authorize"):
1917 * (<object> account_cbs["request-authorize"])( \
1918 * (<char *> remote_user, remote_alias), \ # <<<<<<<<<<<<<<
1919 * (username, protocol_id), \
1920 * message, on_list, \
1922 __pyx_4 = __Pyx_PyBytes_FromString(((char *)__pyx_v_remote_user)); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 187; __pyx_clineno = __LINE__; goto __pyx_L1;}
1923 __pyx_3 = PyTuple_New(2); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 187; __pyx_clineno = __LINE__; goto __pyx_L1;}
1924 PyTuple_SET_ITEM(__pyx_3, 0, __pyx_4);
1925 Py_INCREF(__pyx_v_remote_alias);
1926 PyTuple_SET_ITEM(__pyx_3, 1, __pyx_v_remote_alias);
1929 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":188
1930 * (<object> account_cbs["request-authorize"])( \
1931 * (<char *> remote_user, remote_alias), \
1932 * (username, protocol_id), \ # <<<<<<<<<<<<<<
1933 * message, on_list, \
1934 * call_authorize_cb, call_deny_cb)
1936 __pyx_4 = PyTuple_New(2); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 188; __pyx_clineno = __LINE__; goto __pyx_L1;}
1937 Py_INCREF(__pyx_v_username);
1938 PyTuple_SET_ITEM(__pyx_4, 0, __pyx_v_username);
1939 Py_INCREF(__pyx_v_protocol_id);
1940 PyTuple_SET_ITEM(__pyx_4, 1, __pyx_v_protocol_id);
1942 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":189
1943 * (<char *> remote_user, remote_alias), \
1944 * (username, protocol_id), \
1945 * message, on_list, \ # <<<<<<<<<<<<<<
1946 * call_authorize_cb, call_deny_cb)
1949 __pyx_5 = PyInt_FromLong(__pyx_v_on_list); if (unlikely(!__pyx_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 189; __pyx_clineno = __LINE__; goto __pyx_L1;}
1951 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":190
1952 * (username, protocol_id), \
1953 * message, on_list, \
1954 * call_authorize_cb, call_deny_cb) # <<<<<<<<<<<<<<
1956 * cdef void close_account_request (void *ui_handle):
1958 __pyx_6 = __Pyx_GetName(__pyx_m, __pyx_kp_call_authorize_cb); if (unlikely(!__pyx_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 190; __pyx_clineno = __LINE__; goto __pyx_L1;}
1959 __pyx_7 = __Pyx_GetName(__pyx_m, __pyx_kp_call_deny_cb); if (unlikely(!__pyx_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 190; __pyx_clineno = __LINE__; goto __pyx_L1;}
1960 __pyx_8 = PyTuple_New(6); if (unlikely(!__pyx_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 186; __pyx_clineno = __LINE__; goto __pyx_L1;}
1961 PyTuple_SET_ITEM(__pyx_8, 0, ((PyObject *)__pyx_3));
1962 PyTuple_SET_ITEM(__pyx_8, 1, ((PyObject *)__pyx_4));
1963 Py_INCREF(__pyx_v_message);
1964 PyTuple_SET_ITEM(__pyx_8, 2, __pyx_v_message);
1965 PyTuple_SET_ITEM(__pyx_8, 3, __pyx_5);
1966 PyTuple_SET_ITEM(__pyx_8, 4, __pyx_6);
1967 PyTuple_SET_ITEM(__pyx_8, 5, __pyx_7);
1973 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_8), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 186; __pyx_clineno = __LINE__; goto __pyx_L1;}
1974 Py_DECREF(__pyx_2); __pyx_2 = 0;
1975 Py_DECREF(((PyObject *)__pyx_8)); __pyx_8 = 0;
1976 Py_DECREF(__pyx_3); __pyx_3 = 0;
1984 Py_XDECREF(__pyx_2);
1985 Py_XDECREF(__pyx_3);
1986 Py_XDECREF(__pyx_4);
1987 Py_XDECREF(__pyx_5);
1988 Py_XDECREF(__pyx_6);
1989 Py_XDECREF(__pyx_7);
1990 Py_XDECREF(__pyx_8);
1991 __Pyx_WriteUnraisable("purple.request_authorize");
1994 Py_DECREF(__pyx_v_remote_alias);
1995 Py_DECREF(__pyx_v_username);
1996 Py_DECREF(__pyx_v_protocol_id);
1997 Py_DECREF(__pyx_v_message);
2001 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":192
2002 * call_authorize_cb, call_deny_cb)
2004 * cdef void close_account_request (void *ui_handle): # <<<<<<<<<<<<<<
2006 * Close a pending request for authorization. ui_handle is a handle as
2009 static PyObject *__pyx_kp_34;
2010 static PyObject *__pyx_kp_35;
2012 static char __pyx_k_31[] = "account";
2013 static char __pyx_k_32[] = "%s";
2014 static char __pyx_k_33[] = "close-account-request\n";
2015 static char __pyx_k_34[] = "close-account-request";
2016 static char __pyx_k_35[] = "close-account-request";
2018 static void __pyx_f_6purple_close_account_request(void *__pyx_v_ui_handle) {
2019 PyObject *__pyx_1 = 0;
2020 PyObject *__pyx_2 = 0;
2021 PyObject *__pyx_3 = 0;
2024 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":197
2025 * returned by request_authorize.
2027 * debug.purple_debug_info("account", "%s", "close-account-request\n") # <<<<<<<<<<<<<<
2029 * request.purple_request_close(request.PURPLE_REQUEST_ACTION, ui_handle)
2031 purple_debug_info(__pyx_k_31, __pyx_k_32, __pyx_k_33);
2033 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":199
2034 * debug.purple_debug_info("account", "%s", "close-account-request\n")
2036 * request.purple_request_close(request.PURPLE_REQUEST_ACTION, ui_handle) # <<<<<<<<<<<<<<
2038 * if account_cbs.has_key("close-account-request"):
2040 purple_request_close(PURPLE_REQUEST_ACTION, __pyx_v_ui_handle);
2042 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":201
2043 * request.purple_request_close(request.PURPLE_REQUEST_ACTION, ui_handle)
2045 * if account_cbs.has_key("close-account-request"): # <<<<<<<<<<<<<<
2046 * (<object> account_cbs["close-account-request"])()
2048 __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_account_cbs); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 201; __pyx_clineno = __LINE__; goto __pyx_L1;}
2049 __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_has_key); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 201; __pyx_clineno = __LINE__; goto __pyx_L1;}
2050 Py_DECREF(__pyx_1); __pyx_1 = 0;
2051 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 201; __pyx_clineno = __LINE__; goto __pyx_L1;}
2052 Py_INCREF(__pyx_kp_34);
2053 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_kp_34);
2054 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 201; __pyx_clineno = __LINE__; goto __pyx_L1;}
2055 Py_DECREF(__pyx_2); __pyx_2 = 0;
2056 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
2057 __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_3); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 201; __pyx_clineno = __LINE__; goto __pyx_L1;}
2058 Py_DECREF(__pyx_3); __pyx_3 = 0;
2061 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":202
2063 * if account_cbs.has_key("close-account-request"):
2064 * (<object> account_cbs["close-account-request"])() # <<<<<<<<<<<<<<
2066 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_account_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1;}
2067 __pyx_1 = PyObject_GetItem(__pyx_2, __pyx_kp_35); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1;}
2068 Py_DECREF(__pyx_2); __pyx_2 = 0;
2069 __pyx_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1;}
2070 Py_DECREF(__pyx_1); __pyx_1 = 0;
2071 Py_DECREF(__pyx_3); __pyx_3 = 0;
2078 Py_XDECREF(__pyx_1);
2079 Py_XDECREF(__pyx_2);
2080 Py_XDECREF(__pyx_3);
2081 __Pyx_WriteUnraisable("purple.close_account_request");
2085 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":27
2088 * cdef void __group_node_cb(blist.PurpleBlistNode *node, object callback): # <<<<<<<<<<<<<<
2089 * cdef blist.PurpleGroup *group = <blist.PurpleGroup *>node
2090 * cdef char *c_name = NULL
2093 static void __pyx_f_6purple___group_node_cb(PurpleBlistNode *__pyx_v_node, PyObject *__pyx_v_callback) {
2094 PurpleGroup *__pyx_v_group;
2095 char *__pyx_v_c_name;
2096 PyObject *__pyx_v_name;
2097 PyObject *__pyx_v_currentsize;
2098 PyObject *__pyx_v_totalsize;
2099 PyObject *__pyx_v_online;
2101 PyObject *__pyx_2 = 0;
2102 PyObject *__pyx_3 = 0;
2103 __pyx_v_name = Py_None; Py_INCREF(Py_None);
2104 __pyx_v_currentsize = Py_None; Py_INCREF(Py_None);
2105 __pyx_v_totalsize = Py_None; Py_INCREF(Py_None);
2106 __pyx_v_online = Py_None; Py_INCREF(Py_None);
2108 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":28
2110 * cdef void __group_node_cb(blist.PurpleBlistNode *node, object callback):
2111 * cdef blist.PurpleGroup *group = <blist.PurpleGroup *>node # <<<<<<<<<<<<<<
2112 * cdef char *c_name = NULL
2115 __pyx_v_group = ((PurpleGroup *)__pyx_v_node);
2118 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":29
2119 * cdef void __group_node_cb(blist.PurpleBlistNode *node, object callback):
2120 * cdef blist.PurpleGroup *group = <blist.PurpleGroup *>node
2121 * cdef char *c_name = NULL # <<<<<<<<<<<<<<
2123 * c_name = <char *> blist.purple_group_get_name(group)
2125 __pyx_v_c_name = NULL;
2128 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":31
2129 * cdef char *c_name = NULL
2131 * c_name = <char *> blist.purple_group_get_name(group) # <<<<<<<<<<<<<<
2132 * if c_name == NULL:
2135 __pyx_v_c_name = ((char *)purple_group_get_name(__pyx_v_group));
2137 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":32
2139 * c_name = <char *> blist.purple_group_get_name(group)
2140 * if c_name == NULL: # <<<<<<<<<<<<<<
2144 __pyx_1 = (__pyx_v_c_name == NULL);
2147 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":33
2148 * c_name = <char *> blist.purple_group_get_name(group)
2149 * if c_name == NULL:
2150 * name = None # <<<<<<<<<<<<<<
2155 Py_DECREF(__pyx_v_name);
2156 __pyx_v_name = Py_None;
2161 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":35
2164 * name = c_name # <<<<<<<<<<<<<<
2166 * currentsize = blist.purple_blist_get_group_size(group, False)
2168 __pyx_2 = __Pyx_PyBytes_FromString(__pyx_v_c_name); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 35; __pyx_clineno = __LINE__; goto __pyx_L1;}
2169 Py_DECREF(__pyx_v_name);
2170 __pyx_v_name = __pyx_2;
2175 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":37
2178 * currentsize = blist.purple_blist_get_group_size(group, False) # <<<<<<<<<<<<<<
2179 * totalsize = blist.purple_blist_get_group_size(group, True)
2180 * online = blist.purple_blist_get_group_online_count(group)
2182 __pyx_2 = PyInt_FromLong(purple_blist_get_group_size(__pyx_v_group, 0)); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 37; __pyx_clineno = __LINE__; goto __pyx_L1;}
2183 Py_DECREF(__pyx_v_currentsize);
2184 __pyx_v_currentsize = __pyx_2;
2187 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":38
2189 * currentsize = blist.purple_blist_get_group_size(group, False)
2190 * totalsize = blist.purple_blist_get_group_size(group, True) # <<<<<<<<<<<<<<
2191 * online = blist.purple_blist_get_group_online_count(group)
2194 __pyx_2 = PyInt_FromLong(purple_blist_get_group_size(__pyx_v_group, 1)); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 38; __pyx_clineno = __LINE__; goto __pyx_L1;}
2195 Py_DECREF(__pyx_v_totalsize);
2196 __pyx_v_totalsize = __pyx_2;
2199 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":39
2200 * currentsize = blist.purple_blist_get_group_size(group, False)
2201 * totalsize = blist.purple_blist_get_group_size(group, True)
2202 * online = blist.purple_blist_get_group_online_count(group) # <<<<<<<<<<<<<<
2204 * callback(node.type, name, totalsize, currentsize, online)
2206 __pyx_2 = PyInt_FromLong(purple_blist_get_group_online_count(__pyx_v_group)); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 39; __pyx_clineno = __LINE__; goto __pyx_L1;}
2207 Py_DECREF(__pyx_v_online);
2208 __pyx_v_online = __pyx_2;
2211 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":41
2212 * online = blist.purple_blist_get_group_online_count(group)
2214 * callback(node.type, name, totalsize, currentsize, online) # <<<<<<<<<<<<<<
2216 * cdef void __contact_node_cb(blist.PurpleBlistNode *node, object callback):
2218 __pyx_2 = PyInt_FromLong(__pyx_v_node->type); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 41; __pyx_clineno = __LINE__; goto __pyx_L1;}
2219 __pyx_3 = PyTuple_New(5); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 41; __pyx_clineno = __LINE__; goto __pyx_L1;}
2220 PyTuple_SET_ITEM(__pyx_3, 0, __pyx_2);
2221 Py_INCREF(__pyx_v_name);
2222 PyTuple_SET_ITEM(__pyx_3, 1, __pyx_v_name);
2223 Py_INCREF(__pyx_v_totalsize);
2224 PyTuple_SET_ITEM(__pyx_3, 2, __pyx_v_totalsize);
2225 Py_INCREF(__pyx_v_currentsize);
2226 PyTuple_SET_ITEM(__pyx_3, 3, __pyx_v_currentsize);
2227 Py_INCREF(__pyx_v_online);
2228 PyTuple_SET_ITEM(__pyx_3, 4, __pyx_v_online);
2230 __pyx_2 = PyObject_Call(__pyx_v_callback, ((PyObject *)__pyx_3), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 41; __pyx_clineno = __LINE__; goto __pyx_L1;}
2231 Py_DECREF(((PyObject *)__pyx_3)); __pyx_3 = 0;
2232 Py_DECREF(__pyx_2); __pyx_2 = 0;
2236 Py_XDECREF(__pyx_2);
2237 Py_XDECREF(__pyx_3);
2238 __Pyx_WriteUnraisable("purple.__group_node_cb");
2240 Py_DECREF(__pyx_v_name);
2241 Py_DECREF(__pyx_v_currentsize);
2242 Py_DECREF(__pyx_v_totalsize);
2243 Py_DECREF(__pyx_v_online);
2246 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":43
2247 * callback(node.type, name, totalsize, currentsize, online)
2249 * cdef void __contact_node_cb(blist.PurpleBlistNode *node, object callback): # <<<<<<<<<<<<<<
2250 * cdef blist.PurpleContact *contact = <blist.PurpleContact *>node
2251 * cdef char *c_alias = NULL
2254 static void __pyx_f_6purple___contact_node_cb(PurpleBlistNode *__pyx_v_node, PyObject *__pyx_v_callback) {
2255 PurpleContact *__pyx_v_contact;
2256 char *__pyx_v_c_alias;
2257 PyObject *__pyx_v_alias;
2259 PyObject *__pyx_2 = 0;
2260 PyObject *__pyx_3 = 0;
2261 PyObject *__pyx_4 = 0;
2262 PyObject *__pyx_5 = 0;
2263 PyObject *__pyx_6 = 0;
2264 __pyx_v_alias = Py_None; Py_INCREF(Py_None);
2266 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":44
2268 * cdef void __contact_node_cb(blist.PurpleBlistNode *node, object callback):
2269 * cdef blist.PurpleContact *contact = <blist.PurpleContact *>node # <<<<<<<<<<<<<<
2270 * cdef char *c_alias = NULL
2273 __pyx_v_contact = ((PurpleContact *)__pyx_v_node);
2276 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":45
2277 * cdef void __contact_node_cb(blist.PurpleBlistNode *node, object callback):
2278 * cdef blist.PurpleContact *contact = <blist.PurpleContact *>node
2279 * cdef char *c_alias = NULL # <<<<<<<<<<<<<<
2281 * c_alias = <char *> blist.purple_contact_get_alias(contact)
2283 __pyx_v_c_alias = NULL;
2286 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":47
2287 * cdef char *c_alias = NULL
2289 * c_alias = <char *> blist.purple_contact_get_alias(contact) # <<<<<<<<<<<<<<
2290 * if c_alias == NULL:
2293 __pyx_v_c_alias = ((char *)purple_contact_get_alias(__pyx_v_contact));
2295 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":48
2297 * c_alias = <char *> blist.purple_contact_get_alias(contact)
2298 * if c_alias == NULL: # <<<<<<<<<<<<<<
2302 __pyx_1 = (__pyx_v_c_alias == NULL);
2305 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":49
2306 * c_alias = <char *> blist.purple_contact_get_alias(contact)
2307 * if c_alias == NULL:
2308 * alias = None # <<<<<<<<<<<<<<
2313 Py_DECREF(__pyx_v_alias);
2314 __pyx_v_alias = Py_None;
2319 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":51
2322 * alias = c_alias # <<<<<<<<<<<<<<
2324 * callback(node.type, alias, contact.totalsize, contact.currentsize, \
2326 __pyx_2 = __Pyx_PyBytes_FromString(__pyx_v_c_alias); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 51; __pyx_clineno = __LINE__; goto __pyx_L1;}
2327 Py_DECREF(__pyx_v_alias);
2328 __pyx_v_alias = __pyx_2;
2333 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":53
2336 * callback(node.type, alias, contact.totalsize, contact.currentsize, \ # <<<<<<<<<<<<<<
2340 __pyx_2 = PyInt_FromLong(__pyx_v_node->type); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 53; __pyx_clineno = __LINE__; goto __pyx_L1;}
2341 __pyx_3 = PyInt_FromLong(__pyx_v_contact->totalsize); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 53; __pyx_clineno = __LINE__; goto __pyx_L1;}
2342 __pyx_4 = PyInt_FromLong(__pyx_v_contact->currentsize); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 53; __pyx_clineno = __LINE__; goto __pyx_L1;}
2344 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":54
2346 * callback(node.type, alias, contact.totalsize, contact.currentsize, \
2347 * contact.online) # <<<<<<<<<<<<<<
2349 * cdef void __buddy_node_cb(blist.PurpleBlistNode *node, object callback):
2351 __pyx_5 = PyInt_FromLong(__pyx_v_contact->online); if (unlikely(!__pyx_5)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 54; __pyx_clineno = __LINE__; goto __pyx_L1;}
2352 __pyx_6 = PyTuple_New(5); if (unlikely(!__pyx_6)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 53; __pyx_clineno = __LINE__; goto __pyx_L1;}
2353 PyTuple_SET_ITEM(__pyx_6, 0, __pyx_2);
2354 Py_INCREF(__pyx_v_alias);
2355 PyTuple_SET_ITEM(__pyx_6, 1, __pyx_v_alias);
2356 PyTuple_SET_ITEM(__pyx_6, 2, __pyx_3);
2357 PyTuple_SET_ITEM(__pyx_6, 3, __pyx_4);
2358 PyTuple_SET_ITEM(__pyx_6, 4, __pyx_5);
2363 __pyx_2 = PyObject_Call(__pyx_v_callback, ((PyObject *)__pyx_6), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 53; __pyx_clineno = __LINE__; goto __pyx_L1;}
2364 Py_DECREF(((PyObject *)__pyx_6)); __pyx_6 = 0;
2365 Py_DECREF(__pyx_2); __pyx_2 = 0;
2369 Py_XDECREF(__pyx_2);
2370 Py_XDECREF(__pyx_3);
2371 Py_XDECREF(__pyx_4);
2372 Py_XDECREF(__pyx_5);
2373 Py_XDECREF(__pyx_6);
2374 __Pyx_WriteUnraisable("purple.__contact_node_cb");
2376 Py_DECREF(__pyx_v_alias);
2379 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":56
2382 * cdef void __buddy_node_cb(blist.PurpleBlistNode *node, object callback): # <<<<<<<<<<<<<<
2383 * cdef blist.PurpleBuddy *buddy = <blist.PurpleBuddy *>node
2384 * cdef char *c_name = NULL
2387 static void __pyx_f_6purple___buddy_node_cb(PurpleBlistNode *__pyx_v_node, PyObject *__pyx_v_callback) {
2388 PurpleBuddy *__pyx_v_buddy;
2389 char *__pyx_v_c_name;
2390 char *__pyx_v_c_alias;
2391 PyObject *__pyx_v_name;
2392 PyObject *__pyx_v_alias;
2394 PyObject *__pyx_2 = 0;
2395 PyObject *__pyx_3 = 0;
2396 __pyx_v_name = Py_None; Py_INCREF(Py_None);
2397 __pyx_v_alias = Py_None; Py_INCREF(Py_None);
2399 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":57
2401 * cdef void __buddy_node_cb(blist.PurpleBlistNode *node, object callback):
2402 * cdef blist.PurpleBuddy *buddy = <blist.PurpleBuddy *>node # <<<<<<<<<<<<<<
2403 * cdef char *c_name = NULL
2404 * cdef char *c_alias = NULL
2406 __pyx_v_buddy = ((PurpleBuddy *)__pyx_v_node);
2409 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":58
2410 * cdef void __buddy_node_cb(blist.PurpleBlistNode *node, object callback):
2411 * cdef blist.PurpleBuddy *buddy = <blist.PurpleBuddy *>node
2412 * cdef char *c_name = NULL # <<<<<<<<<<<<<<
2413 * cdef char *c_alias = NULL
2416 __pyx_v_c_name = NULL;
2419 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":59
2420 * cdef blist.PurpleBuddy *buddy = <blist.PurpleBuddy *>node
2421 * cdef char *c_name = NULL
2422 * cdef char *c_alias = NULL # <<<<<<<<<<<<<<
2424 * c_name = <char *> blist.purple_buddy_get_name(buddy)
2426 __pyx_v_c_alias = NULL;
2429 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":61
2430 * cdef char *c_alias = NULL
2432 * c_name = <char *> blist.purple_buddy_get_name(buddy) # <<<<<<<<<<<<<<
2433 * if c_name == NULL:
2436 __pyx_v_c_name = ((char *)purple_buddy_get_name(__pyx_v_buddy));
2438 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":62
2440 * c_name = <char *> blist.purple_buddy_get_name(buddy)
2441 * if c_name == NULL: # <<<<<<<<<<<<<<
2445 __pyx_1 = (__pyx_v_c_name == NULL);
2448 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":63
2449 * c_name = <char *> blist.purple_buddy_get_name(buddy)
2450 * if c_name == NULL:
2451 * name = None # <<<<<<<<<<<<<<
2456 Py_DECREF(__pyx_v_name);
2457 __pyx_v_name = Py_None;
2462 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":65
2465 * name = c_name # <<<<<<<<<<<<<<
2467 * c_alias = <char *> blist.purple_buddy_get_alias_only(buddy)
2469 __pyx_2 = __Pyx_PyBytes_FromString(__pyx_v_c_name); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 65; __pyx_clineno = __LINE__; goto __pyx_L1;}
2470 Py_DECREF(__pyx_v_name);
2471 __pyx_v_name = __pyx_2;
2476 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":67
2479 * c_alias = <char *> blist.purple_buddy_get_alias_only(buddy) # <<<<<<<<<<<<<<
2480 * if c_alias == NULL:
2483 __pyx_v_c_alias = ((char *)purple_buddy_get_alias_only(__pyx_v_buddy));
2485 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":68
2487 * c_alias = <char *> blist.purple_buddy_get_alias_only(buddy)
2488 * if c_alias == NULL: # <<<<<<<<<<<<<<
2492 __pyx_1 = (__pyx_v_c_alias == NULL);
2495 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":69
2496 * c_alias = <char *> blist.purple_buddy_get_alias_only(buddy)
2497 * if c_alias == NULL:
2498 * alias = None # <<<<<<<<<<<<<<
2503 Py_DECREF(__pyx_v_alias);
2504 __pyx_v_alias = Py_None;
2509 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":71
2512 * alias = c_alias # <<<<<<<<<<<<<<
2514 * callback(node.type, name, alias)
2516 __pyx_2 = __Pyx_PyBytes_FromString(__pyx_v_c_alias); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 71; __pyx_clineno = __LINE__; goto __pyx_L1;}
2517 Py_DECREF(__pyx_v_alias);
2518 __pyx_v_alias = __pyx_2;
2523 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":73
2526 * callback(node.type, name, alias) # <<<<<<<<<<<<<<
2528 * cdef void __chat_node_cb(blist.PurpleBlistNode *node, object callback):
2530 __pyx_2 = PyInt_FromLong(__pyx_v_node->type); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 73; __pyx_clineno = __LINE__; goto __pyx_L1;}
2531 __pyx_3 = PyTuple_New(3); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 73; __pyx_clineno = __LINE__; goto __pyx_L1;}
2532 PyTuple_SET_ITEM(__pyx_3, 0, __pyx_2);
2533 Py_INCREF(__pyx_v_name);
2534 PyTuple_SET_ITEM(__pyx_3, 1, __pyx_v_name);
2535 Py_INCREF(__pyx_v_alias);
2536 PyTuple_SET_ITEM(__pyx_3, 2, __pyx_v_alias);
2538 __pyx_2 = PyObject_Call(__pyx_v_callback, ((PyObject *)__pyx_3), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 73; __pyx_clineno = __LINE__; goto __pyx_L1;}
2539 Py_DECREF(((PyObject *)__pyx_3)); __pyx_3 = 0;
2540 Py_DECREF(__pyx_2); __pyx_2 = 0;
2544 Py_XDECREF(__pyx_2);
2545 Py_XDECREF(__pyx_3);
2546 __Pyx_WriteUnraisable("purple.__buddy_node_cb");
2548 Py_DECREF(__pyx_v_name);
2549 Py_DECREF(__pyx_v_alias);
2552 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":75
2553 * callback(node.type, name, alias)
2555 * cdef void __chat_node_cb(blist.PurpleBlistNode *node, object callback): # <<<<<<<<<<<<<<
2556 * cdef blist.PurpleChat *chat = <blist.PurpleChat *>node
2557 * cdef char *c_name = NULL
2560 static void __pyx_f_6purple___chat_node_cb(PurpleBlistNode *__pyx_v_node, PyObject *__pyx_v_callback) {
2561 PurpleChat *__pyx_v_chat;
2562 char *__pyx_v_c_name;
2563 PyObject *__pyx_v_name;
2565 PyObject *__pyx_2 = 0;
2566 PyObject *__pyx_3 = 0;
2567 __pyx_v_name = Py_None; Py_INCREF(Py_None);
2569 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":76
2571 * cdef void __chat_node_cb(blist.PurpleBlistNode *node, object callback):
2572 * cdef blist.PurpleChat *chat = <blist.PurpleChat *>node # <<<<<<<<<<<<<<
2573 * cdef char *c_name = NULL
2576 __pyx_v_chat = ((PurpleChat *)__pyx_v_node);
2579 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":77
2580 * cdef void __chat_node_cb(blist.PurpleBlistNode *node, object callback):
2581 * cdef blist.PurpleChat *chat = <blist.PurpleChat *>node
2582 * cdef char *c_name = NULL # <<<<<<<<<<<<<<
2584 * c_name = <char *> blist.purple_chat_get_name(chat)
2586 __pyx_v_c_name = NULL;
2589 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":79
2590 * cdef char *c_name = NULL
2592 * c_name = <char *> blist.purple_chat_get_name(chat) # <<<<<<<<<<<<<<
2593 * if c_name == NULL:
2596 __pyx_v_c_name = ((char *)purple_chat_get_name(__pyx_v_chat));
2598 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":80
2600 * c_name = <char *> blist.purple_chat_get_name(chat)
2601 * if c_name == NULL: # <<<<<<<<<<<<<<
2605 __pyx_1 = (__pyx_v_c_name == NULL);
2608 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":81
2609 * c_name = <char *> blist.purple_chat_get_name(chat)
2610 * if c_name == NULL:
2611 * name = None # <<<<<<<<<<<<<<
2616 Py_DECREF(__pyx_v_name);
2617 __pyx_v_name = Py_None;
2622 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":83
2625 * name = c_name # <<<<<<<<<<<<<<
2627 * callback(node.type, name)
2629 __pyx_2 = __Pyx_PyBytes_FromString(__pyx_v_c_name); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 83; __pyx_clineno = __LINE__; goto __pyx_L1;}
2630 Py_DECREF(__pyx_v_name);
2631 __pyx_v_name = __pyx_2;
2636 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":85
2639 * callback(node.type, name) # <<<<<<<<<<<<<<
2641 * cdef void __other_node_cb(blist.PurpleBlistNode *node, object callback):
2643 __pyx_2 = PyInt_FromLong(__pyx_v_node->type); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 85; __pyx_clineno = __LINE__; goto __pyx_L1;}
2644 __pyx_3 = PyTuple_New(2); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 85; __pyx_clineno = __LINE__; goto __pyx_L1;}
2645 PyTuple_SET_ITEM(__pyx_3, 0, __pyx_2);
2646 Py_INCREF(__pyx_v_name);
2647 PyTuple_SET_ITEM(__pyx_3, 1, __pyx_v_name);
2649 __pyx_2 = PyObject_Call(__pyx_v_callback, ((PyObject *)__pyx_3), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 85; __pyx_clineno = __LINE__; goto __pyx_L1;}
2650 Py_DECREF(((PyObject *)__pyx_3)); __pyx_3 = 0;
2651 Py_DECREF(__pyx_2); __pyx_2 = 0;
2655 Py_XDECREF(__pyx_2);
2656 Py_XDECREF(__pyx_3);
2657 __Pyx_WriteUnraisable("purple.__chat_node_cb");
2659 Py_DECREF(__pyx_v_name);
2662 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":87
2663 * callback(node.type, name)
2665 * cdef void __other_node_cb(blist.PurpleBlistNode *node, object callback): # <<<<<<<<<<<<<<
2666 * callback(node.type)
2670 static void __pyx_f_6purple___other_node_cb(PurpleBlistNode *__pyx_v_node, PyObject *__pyx_v_callback) {
2671 PyObject *__pyx_1 = 0;
2672 PyObject *__pyx_2 = 0;
2674 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":88
2676 * cdef void __other_node_cb(blist.PurpleBlistNode *node, object callback):
2677 * callback(node.type) # <<<<<<<<<<<<<<
2679 * cdef void new_list(blist.PurpleBuddyList *list):
2681 __pyx_1 = PyInt_FromLong(__pyx_v_node->type); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 88; __pyx_clineno = __LINE__; goto __pyx_L1;}
2682 __pyx_2 = PyTuple_New(1); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 88; __pyx_clineno = __LINE__; goto __pyx_L1;}
2683 PyTuple_SET_ITEM(__pyx_2, 0, __pyx_1);
2685 __pyx_1 = PyObject_Call(__pyx_v_callback, ((PyObject *)__pyx_2), NULL); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 88; __pyx_clineno = __LINE__; goto __pyx_L1;}
2686 Py_DECREF(((PyObject *)__pyx_2)); __pyx_2 = 0;
2687 Py_DECREF(__pyx_1); __pyx_1 = 0;
2691 Py_XDECREF(__pyx_1);
2692 Py_XDECREF(__pyx_2);
2693 __Pyx_WriteUnraisable("purple.__other_node_cb");
2697 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":90
2698 * callback(node.type)
2700 * cdef void new_list(blist.PurpleBuddyList *list): # <<<<<<<<<<<<<<
2702 * Sets UI-specific data on a buddy list.
2705 static PyObject *__pyx_kp_39;
2706 static PyObject *__pyx_kp_40;
2707 static PyObject *__pyx_kp_41;
2709 static char __pyx_k_36[] = "blist";
2710 static char __pyx_k_37[] = "%s";
2711 static char __pyx_k_38[] = "new-list\n";
2712 static char __pyx_k_39[] = "new-list";
2713 static char __pyx_k_40[] = "new-list";
2714 static char __pyx_k_41[] = "new-list: TODO";
2716 static void __pyx_f_6purple_new_list(PurpleBuddyList *__pyx_v_list) {
2717 PyObject *__pyx_1 = 0;
2718 PyObject *__pyx_2 = 0;
2719 PyObject *__pyx_3 = 0;
2722 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":94
2723 * Sets UI-specific data on a buddy list.
2725 * debug.purple_debug_info("blist", "%s", "new-list\n") # <<<<<<<<<<<<<<
2726 * if blist_cbs.has_key("new-list"):
2727 * (<object> blist_cbs["new-list"])("new-list: TODO")
2729 purple_debug_info(__pyx_k_36, __pyx_k_37, __pyx_k_38);
2731 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":95
2733 * debug.purple_debug_info("blist", "%s", "new-list\n")
2734 * if blist_cbs.has_key("new-list"): # <<<<<<<<<<<<<<
2735 * (<object> blist_cbs["new-list"])("new-list: TODO")
2738 __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_blist_cbs); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 95; __pyx_clineno = __LINE__; goto __pyx_L1;}
2739 __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_has_key); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 95; __pyx_clineno = __LINE__; goto __pyx_L1;}
2740 Py_DECREF(__pyx_1); __pyx_1 = 0;
2741 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 95; __pyx_clineno = __LINE__; goto __pyx_L1;}
2742 Py_INCREF(__pyx_kp_39);
2743 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_kp_39);
2744 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 95; __pyx_clineno = __LINE__; goto __pyx_L1;}
2745 Py_DECREF(__pyx_2); __pyx_2 = 0;
2746 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
2747 __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_3); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 95; __pyx_clineno = __LINE__; goto __pyx_L1;}
2748 Py_DECREF(__pyx_3); __pyx_3 = 0;
2751 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":96
2752 * debug.purple_debug_info("blist", "%s", "new-list\n")
2753 * if blist_cbs.has_key("new-list"):
2754 * (<object> blist_cbs["new-list"])("new-list: TODO") # <<<<<<<<<<<<<<
2756 * cdef void new_node(blist.PurpleBlistNode *node):
2758 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_blist_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 96; __pyx_clineno = __LINE__; goto __pyx_L1;}
2759 __pyx_1 = PyObject_GetItem(__pyx_2, __pyx_kp_40); if (!__pyx_1) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 96; __pyx_clineno = __LINE__; goto __pyx_L1;}
2760 Py_DECREF(__pyx_2); __pyx_2 = 0;
2761 __pyx_3 = PyTuple_New(1); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 96; __pyx_clineno = __LINE__; goto __pyx_L1;}
2762 Py_INCREF(__pyx_kp_41);
2763 PyTuple_SET_ITEM(__pyx_3, 0, __pyx_kp_41);
2764 __pyx_2 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_3), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 96; __pyx_clineno = __LINE__; goto __pyx_L1;}
2765 Py_DECREF(__pyx_1); __pyx_1 = 0;
2766 Py_DECREF(((PyObject *)__pyx_3)); __pyx_3 = 0;
2767 Py_DECREF(__pyx_2); __pyx_2 = 0;
2774 Py_XDECREF(__pyx_1);
2775 Py_XDECREF(__pyx_2);
2776 Py_XDECREF(__pyx_3);
2777 __Pyx_WriteUnraisable("purple.new_list");
2781 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":98
2782 * (<object> blist_cbs["new-list"])("new-list: TODO")
2784 * cdef void new_node(blist.PurpleBlistNode *node): # <<<<<<<<<<<<<<
2786 * Sets UI-specific data on a node.
2789 static PyObject *__pyx_kp_45;
2790 static PyObject *__pyx_kp_46;
2791 static PyObject *__pyx_kp_47;
2792 static PyObject *__pyx_kp_48;
2793 static PyObject *__pyx_kp_49;
2794 static PyObject *__pyx_kp_50;
2796 static char __pyx_k_42[] = "blist";
2797 static char __pyx_k_43[] = "%s";
2798 static char __pyx_k_44[] = "new-node\n";
2799 static char __pyx_k_45[] = "new-node";
2800 static char __pyx_k_46[] = "new-node";
2801 static char __pyx_k_47[] = "new-node";
2802 static char __pyx_k_48[] = "new-node";
2803 static char __pyx_k_49[] = "new-node";
2804 static char __pyx_k_50[] = "new-node";
2806 static void __pyx_f_6purple_new_node(PurpleBlistNode *__pyx_v_node) {
2807 PyObject *__pyx_1 = 0;
2808 PyObject *__pyx_2 = 0;
2809 PyObject *__pyx_3 = 0;
2812 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":102
2813 * Sets UI-specific data on a node.
2815 * debug.purple_debug_info("blist", "%s", "new-node\n") # <<<<<<<<<<<<<<
2816 * if blist_cbs.has_key("new-node"):
2817 * if node.type == blist.PURPLE_BLIST_GROUP_NODE:
2819 purple_debug_info(__pyx_k_42, __pyx_k_43, __pyx_k_44);
2821 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":103
2823 * debug.purple_debug_info("blist", "%s", "new-node\n")
2824 * if blist_cbs.has_key("new-node"): # <<<<<<<<<<<<<<
2825 * if node.type == blist.PURPLE_BLIST_GROUP_NODE:
2826 * __group_node_cb(node, blist_cbs["new-node"])
2828 __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_blist_cbs); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 103; __pyx_clineno = __LINE__; goto __pyx_L1;}
2829 __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_has_key); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 103; __pyx_clineno = __LINE__; goto __pyx_L1;}
2830 Py_DECREF(__pyx_1); __pyx_1 = 0;
2831 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 103; __pyx_clineno = __LINE__; goto __pyx_L1;}
2832 Py_INCREF(__pyx_kp_45);
2833 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_kp_45);
2834 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 103; __pyx_clineno = __LINE__; goto __pyx_L1;}
2835 Py_DECREF(__pyx_2); __pyx_2 = 0;
2836 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
2837 __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_3); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 103; __pyx_clineno = __LINE__; goto __pyx_L1;}
2838 Py_DECREF(__pyx_3); __pyx_3 = 0;
2841 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":104
2842 * debug.purple_debug_info("blist", "%s", "new-node\n")
2843 * if blist_cbs.has_key("new-node"):
2844 * if node.type == blist.PURPLE_BLIST_GROUP_NODE: # <<<<<<<<<<<<<<
2845 * __group_node_cb(node, blist_cbs["new-node"])
2846 * elif node.type == blist.PURPLE_BLIST_CONTACT_NODE:
2848 __pyx_4 = (__pyx_v_node->type == PURPLE_BLIST_GROUP_NODE);
2851 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":105
2852 * if blist_cbs.has_key("new-node"):
2853 * if node.type == blist.PURPLE_BLIST_GROUP_NODE:
2854 * __group_node_cb(node, blist_cbs["new-node"]) # <<<<<<<<<<<<<<
2855 * elif node.type == blist.PURPLE_BLIST_CONTACT_NODE:
2856 * __contact_node_cb(node, blist_cbs["new-node"])
2858 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_blist_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 105; __pyx_clineno = __LINE__; goto __pyx_L1;}
2859 __pyx_1 = PyObject_GetItem(__pyx_2, __pyx_kp_46); if (!__pyx_1) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 105; __pyx_clineno = __LINE__; goto __pyx_L1;}
2860 Py_DECREF(__pyx_2); __pyx_2 = 0;
2861 __pyx_f_6purple___group_node_cb(__pyx_v_node, __pyx_1);
2862 Py_DECREF(__pyx_1); __pyx_1 = 0;
2866 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":106
2867 * if node.type == blist.PURPLE_BLIST_GROUP_NODE:
2868 * __group_node_cb(node, blist_cbs["new-node"])
2869 * elif node.type == blist.PURPLE_BLIST_CONTACT_NODE: # <<<<<<<<<<<<<<
2870 * __contact_node_cb(node, blist_cbs["new-node"])
2871 * elif node.type == blist.PURPLE_BLIST_BUDDY_NODE:
2873 __pyx_4 = (__pyx_v_node->type == PURPLE_BLIST_CONTACT_NODE);
2876 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":107
2877 * __group_node_cb(node, blist_cbs["new-node"])
2878 * elif node.type == blist.PURPLE_BLIST_CONTACT_NODE:
2879 * __contact_node_cb(node, blist_cbs["new-node"]) # <<<<<<<<<<<<<<
2880 * elif node.type == blist.PURPLE_BLIST_BUDDY_NODE:
2881 * __buddy_node_cb(node, blist_cbs["new-node"])
2883 __pyx_3 = __Pyx_GetName(__pyx_m, __pyx_kp_blist_cbs); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 107; __pyx_clineno = __LINE__; goto __pyx_L1;}
2884 __pyx_2 = PyObject_GetItem(__pyx_3, __pyx_kp_47); if (!__pyx_2) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 107; __pyx_clineno = __LINE__; goto __pyx_L1;}
2885 Py_DECREF(__pyx_3); __pyx_3 = 0;
2886 __pyx_f_6purple___contact_node_cb(__pyx_v_node, __pyx_2);
2887 Py_DECREF(__pyx_2); __pyx_2 = 0;
2891 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":108
2892 * elif node.type == blist.PURPLE_BLIST_CONTACT_NODE:
2893 * __contact_node_cb(node, blist_cbs["new-node"])
2894 * elif node.type == blist.PURPLE_BLIST_BUDDY_NODE: # <<<<<<<<<<<<<<
2895 * __buddy_node_cb(node, blist_cbs["new-node"])
2896 * elif node.type == blist.PURPLE_BLIST_CHAT_NODE:
2898 __pyx_4 = (__pyx_v_node->type == PURPLE_BLIST_BUDDY_NODE);
2901 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":109
2902 * __contact_node_cb(node, blist_cbs["new-node"])
2903 * elif node.type == blist.PURPLE_BLIST_BUDDY_NODE:
2904 * __buddy_node_cb(node, blist_cbs["new-node"]) # <<<<<<<<<<<<<<
2905 * elif node.type == blist.PURPLE_BLIST_CHAT_NODE:
2906 * __chat_node_cb(node, blist_cbs["new-node"])
2908 __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_blist_cbs); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 109; __pyx_clineno = __LINE__; goto __pyx_L1;}
2909 __pyx_3 = PyObject_GetItem(__pyx_1, __pyx_kp_48); if (!__pyx_3) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 109; __pyx_clineno = __LINE__; goto __pyx_L1;}
2910 Py_DECREF(__pyx_1); __pyx_1 = 0;
2911 __pyx_f_6purple___buddy_node_cb(__pyx_v_node, __pyx_3);
2912 Py_DECREF(__pyx_3); __pyx_3 = 0;
2916 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":110
2917 * elif node.type == blist.PURPLE_BLIST_BUDDY_NODE:
2918 * __buddy_node_cb(node, blist_cbs["new-node"])
2919 * elif node.type == blist.PURPLE_BLIST_CHAT_NODE: # <<<<<<<<<<<<<<
2920 * __chat_node_cb(node, blist_cbs["new-node"])
2921 * elif node.type == blist.PURPLE_BLIST_OTHER_NODE:
2923 __pyx_4 = (__pyx_v_node->type == PURPLE_BLIST_CHAT_NODE);
2926 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":111
2927 * __buddy_node_cb(node, blist_cbs["new-node"])
2928 * elif node.type == blist.PURPLE_BLIST_CHAT_NODE:
2929 * __chat_node_cb(node, blist_cbs["new-node"]) # <<<<<<<<<<<<<<
2930 * elif node.type == blist.PURPLE_BLIST_OTHER_NODE:
2931 * __other_node_cb(node, blist_cbs["new-node"])
2933 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_blist_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1;}
2934 __pyx_1 = PyObject_GetItem(__pyx_2, __pyx_kp_49); if (!__pyx_1) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1;}
2935 Py_DECREF(__pyx_2); __pyx_2 = 0;
2936 __pyx_f_6purple___chat_node_cb(__pyx_v_node, __pyx_1);
2937 Py_DECREF(__pyx_1); __pyx_1 = 0;
2941 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":112
2942 * elif node.type == blist.PURPLE_BLIST_CHAT_NODE:
2943 * __chat_node_cb(node, blist_cbs["new-node"])
2944 * elif node.type == blist.PURPLE_BLIST_OTHER_NODE: # <<<<<<<<<<<<<<
2945 * __other_node_cb(node, blist_cbs["new-node"])
2948 __pyx_4 = (__pyx_v_node->type == PURPLE_BLIST_OTHER_NODE);
2951 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":113
2952 * __chat_node_cb(node, blist_cbs["new-node"])
2953 * elif node.type == blist.PURPLE_BLIST_OTHER_NODE:
2954 * __other_node_cb(node, blist_cbs["new-node"]) # <<<<<<<<<<<<<<
2956 * cdef void show(blist.PurpleBuddyList *list):
2958 __pyx_3 = __Pyx_GetName(__pyx_m, __pyx_kp_blist_cbs); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 113; __pyx_clineno = __LINE__; goto __pyx_L1;}
2959 __pyx_2 = PyObject_GetItem(__pyx_3, __pyx_kp_50); if (!__pyx_2) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 113; __pyx_clineno = __LINE__; goto __pyx_L1;}
2960 Py_DECREF(__pyx_3); __pyx_3 = 0;
2961 __pyx_f_6purple___other_node_cb(__pyx_v_node, __pyx_2);
2962 Py_DECREF(__pyx_2); __pyx_2 = 0;
2972 Py_XDECREF(__pyx_1);
2973 Py_XDECREF(__pyx_2);
2974 Py_XDECREF(__pyx_3);
2975 __Pyx_WriteUnraisable("purple.new_node");
2979 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":115
2980 * __other_node_cb(node, blist_cbs["new-node"])
2982 * cdef void show(blist.PurpleBuddyList *list): # <<<<<<<<<<<<<<
2984 * The core will call this when it's finished doing its core stuff.
2987 static char __pyx_k_54[] = "show";
2988 static char __pyx_k_55[] = "show";
2990 static PyObject *__pyx_kp_54;
2991 static PyObject *__pyx_kp_55;
2993 static PyObject *__pyx_kp_56;
2995 static char __pyx_k_51[] = "blist";
2996 static char __pyx_k_52[] = "%s";
2997 static char __pyx_k_53[] = "show\n";
2998 static char __pyx_k_56[] = "show: TODO";
3000 static void __pyx_f_6purple_show(PurpleBuddyList *__pyx_v_list) {
3001 PyObject *__pyx_1 = 0;
3002 PyObject *__pyx_2 = 0;
3003 PyObject *__pyx_3 = 0;
3006 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":119
3007 * The core will call this when it's finished doing its core stuff.
3009 * debug.purple_debug_info("blist", "%s", "show\n") # <<<<<<<<<<<<<<
3010 * if blist_cbs.has_key("show"):
3011 * (<object> blist_cbs["show"])("show: TODO")
3013 purple_debug_info(__pyx_k_51, __pyx_k_52, __pyx_k_53);
3015 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":120
3017 * debug.purple_debug_info("blist", "%s", "show\n")
3018 * if blist_cbs.has_key("show"): # <<<<<<<<<<<<<<
3019 * (<object> blist_cbs["show"])("show: TODO")
3022 __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_blist_cbs); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 120; __pyx_clineno = __LINE__; goto __pyx_L1;}
3023 __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_has_key); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 120; __pyx_clineno = __LINE__; goto __pyx_L1;}
3024 Py_DECREF(__pyx_1); __pyx_1 = 0;
3025 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 120; __pyx_clineno = __LINE__; goto __pyx_L1;}
3026 Py_INCREF(__pyx_kp_54);
3027 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_kp_54);
3028 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 120; __pyx_clineno = __LINE__; goto __pyx_L1;}
3029 Py_DECREF(__pyx_2); __pyx_2 = 0;
3030 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
3031 __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_3); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 120; __pyx_clineno = __LINE__; goto __pyx_L1;}
3032 Py_DECREF(__pyx_3); __pyx_3 = 0;
3035 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":121
3036 * debug.purple_debug_info("blist", "%s", "show\n")
3037 * if blist_cbs.has_key("show"):
3038 * (<object> blist_cbs["show"])("show: TODO") # <<<<<<<<<<<<<<
3040 * cdef void update(blist.PurpleBuddyList *list, blist.PurpleBlistNode *node):
3042 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_blist_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 121; __pyx_clineno = __LINE__; goto __pyx_L1;}
3043 __pyx_1 = PyObject_GetItem(__pyx_2, __pyx_kp_55); if (!__pyx_1) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 121; __pyx_clineno = __LINE__; goto __pyx_L1;}
3044 Py_DECREF(__pyx_2); __pyx_2 = 0;
3045 __pyx_3 = PyTuple_New(1); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 121; __pyx_clineno = __LINE__; goto __pyx_L1;}
3046 Py_INCREF(__pyx_kp_56);
3047 PyTuple_SET_ITEM(__pyx_3, 0, __pyx_kp_56);
3048 __pyx_2 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_3), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 121; __pyx_clineno = __LINE__; goto __pyx_L1;}
3049 Py_DECREF(__pyx_1); __pyx_1 = 0;
3050 Py_DECREF(((PyObject *)__pyx_3)); __pyx_3 = 0;
3051 Py_DECREF(__pyx_2); __pyx_2 = 0;
3058 Py_XDECREF(__pyx_1);
3059 Py_XDECREF(__pyx_2);
3060 Py_XDECREF(__pyx_3);
3061 __Pyx_WriteUnraisable("purple.show");
3065 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":123
3066 * (<object> blist_cbs["show"])("show: TODO")
3068 * cdef void update(blist.PurpleBuddyList *list, blist.PurpleBlistNode *node): # <<<<<<<<<<<<<<
3070 * This will update a node in the buddy list.
3073 static char __pyx_k_60[] = "update";
3074 static char __pyx_k_61[] = "update";
3075 static char __pyx_k_62[] = "update";
3076 static char __pyx_k_63[] = "update";
3077 static char __pyx_k_64[] = "update";
3078 static char __pyx_k_65[] = "update";
3080 static PyObject *__pyx_kp_60;
3081 static PyObject *__pyx_kp_61;
3082 static PyObject *__pyx_kp_62;
3083 static PyObject *__pyx_kp_63;
3084 static PyObject *__pyx_kp_64;
3085 static PyObject *__pyx_kp_65;
3088 static char __pyx_k_57[] = "blist";
3089 static char __pyx_k_58[] = "%s";
3090 static char __pyx_k_59[] = "update\n";
3092 static void __pyx_f_6purple_update(PurpleBuddyList *__pyx_v_list, PurpleBlistNode *__pyx_v_node) {
3093 PyObject *__pyx_1 = 0;
3094 PyObject *__pyx_2 = 0;
3095 PyObject *__pyx_3 = 0;
3098 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":127
3099 * This will update a node in the buddy list.
3101 * debug.purple_debug_info("blist", "%s", "update\n") # <<<<<<<<<<<<<<
3102 * if blist_cbs.has_key("update"):
3103 * if node.type == blist.PURPLE_BLIST_GROUP_NODE:
3105 purple_debug_info(__pyx_k_57, __pyx_k_58, __pyx_k_59);
3107 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":128
3109 * debug.purple_debug_info("blist", "%s", "update\n")
3110 * if blist_cbs.has_key("update"): # <<<<<<<<<<<<<<
3111 * if node.type == blist.PURPLE_BLIST_GROUP_NODE:
3112 * __group_node_cb(node, blist_cbs["update"])
3114 __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_blist_cbs); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 128; __pyx_clineno = __LINE__; goto __pyx_L1;}
3115 __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_has_key); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 128; __pyx_clineno = __LINE__; goto __pyx_L1;}
3116 Py_DECREF(__pyx_1); __pyx_1 = 0;
3117 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 128; __pyx_clineno = __LINE__; goto __pyx_L1;}
3118 Py_INCREF(__pyx_kp_60);
3119 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_kp_60);
3120 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 128; __pyx_clineno = __LINE__; goto __pyx_L1;}
3121 Py_DECREF(__pyx_2); __pyx_2 = 0;
3122 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
3123 __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_3); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 128; __pyx_clineno = __LINE__; goto __pyx_L1;}
3124 Py_DECREF(__pyx_3); __pyx_3 = 0;
3127 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":129
3128 * debug.purple_debug_info("blist", "%s", "update\n")
3129 * if blist_cbs.has_key("update"):
3130 * if node.type == blist.PURPLE_BLIST_GROUP_NODE: # <<<<<<<<<<<<<<
3131 * __group_node_cb(node, blist_cbs["update"])
3132 * elif node.type == blist.PURPLE_BLIST_CONTACT_NODE:
3134 __pyx_4 = (__pyx_v_node->type == PURPLE_BLIST_GROUP_NODE);
3137 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":130
3138 * if blist_cbs.has_key("update"):
3139 * if node.type == blist.PURPLE_BLIST_GROUP_NODE:
3140 * __group_node_cb(node, blist_cbs["update"]) # <<<<<<<<<<<<<<
3141 * elif node.type == blist.PURPLE_BLIST_CONTACT_NODE:
3142 * __contact_node_cb(node, blist_cbs["update"])
3144 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_blist_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 130; __pyx_clineno = __LINE__; goto __pyx_L1;}
3145 __pyx_1 = PyObject_GetItem(__pyx_2, __pyx_kp_61); if (!__pyx_1) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 130; __pyx_clineno = __LINE__; goto __pyx_L1;}
3146 Py_DECREF(__pyx_2); __pyx_2 = 0;
3147 __pyx_f_6purple___group_node_cb(__pyx_v_node, __pyx_1);
3148 Py_DECREF(__pyx_1); __pyx_1 = 0;
3152 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":131
3153 * if node.type == blist.PURPLE_BLIST_GROUP_NODE:
3154 * __group_node_cb(node, blist_cbs["update"])
3155 * elif node.type == blist.PURPLE_BLIST_CONTACT_NODE: # <<<<<<<<<<<<<<
3156 * __contact_node_cb(node, blist_cbs["update"])
3157 * elif node.type == blist.PURPLE_BLIST_BUDDY_NODE:
3159 __pyx_4 = (__pyx_v_node->type == PURPLE_BLIST_CONTACT_NODE);
3162 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":132
3163 * __group_node_cb(node, blist_cbs["update"])
3164 * elif node.type == blist.PURPLE_BLIST_CONTACT_NODE:
3165 * __contact_node_cb(node, blist_cbs["update"]) # <<<<<<<<<<<<<<
3166 * elif node.type == blist.PURPLE_BLIST_BUDDY_NODE:
3167 * __buddy_node_cb(node, blist_cbs["update"])
3169 __pyx_3 = __Pyx_GetName(__pyx_m, __pyx_kp_blist_cbs); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 132; __pyx_clineno = __LINE__; goto __pyx_L1;}
3170 __pyx_2 = PyObject_GetItem(__pyx_3, __pyx_kp_62); if (!__pyx_2) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 132; __pyx_clineno = __LINE__; goto __pyx_L1;}
3171 Py_DECREF(__pyx_3); __pyx_3 = 0;
3172 __pyx_f_6purple___contact_node_cb(__pyx_v_node, __pyx_2);
3173 Py_DECREF(__pyx_2); __pyx_2 = 0;
3177 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":133
3178 * elif node.type == blist.PURPLE_BLIST_CONTACT_NODE:
3179 * __contact_node_cb(node, blist_cbs["update"])
3180 * elif node.type == blist.PURPLE_BLIST_BUDDY_NODE: # <<<<<<<<<<<<<<
3181 * __buddy_node_cb(node, blist_cbs["update"])
3182 * elif node.type == blist.PURPLE_BLIST_CHAT_NODE:
3184 __pyx_4 = (__pyx_v_node->type == PURPLE_BLIST_BUDDY_NODE);
3187 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":134
3188 * __contact_node_cb(node, blist_cbs["update"])
3189 * elif node.type == blist.PURPLE_BLIST_BUDDY_NODE:
3190 * __buddy_node_cb(node, blist_cbs["update"]) # <<<<<<<<<<<<<<
3191 * elif node.type == blist.PURPLE_BLIST_CHAT_NODE:
3192 * __chat_node_cb(node, blist_cbs["update"])
3194 __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_blist_cbs); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 134; __pyx_clineno = __LINE__; goto __pyx_L1;}
3195 __pyx_3 = PyObject_GetItem(__pyx_1, __pyx_kp_63); if (!__pyx_3) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 134; __pyx_clineno = __LINE__; goto __pyx_L1;}
3196 Py_DECREF(__pyx_1); __pyx_1 = 0;
3197 __pyx_f_6purple___buddy_node_cb(__pyx_v_node, __pyx_3);
3198 Py_DECREF(__pyx_3); __pyx_3 = 0;
3202 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":135
3203 * elif node.type == blist.PURPLE_BLIST_BUDDY_NODE:
3204 * __buddy_node_cb(node, blist_cbs["update"])
3205 * elif node.type == blist.PURPLE_BLIST_CHAT_NODE: # <<<<<<<<<<<<<<
3206 * __chat_node_cb(node, blist_cbs["update"])
3207 * elif node.type == blist.PURPLE_BLIST_OTHER_NODE:
3209 __pyx_4 = (__pyx_v_node->type == PURPLE_BLIST_CHAT_NODE);
3212 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":136
3213 * __buddy_node_cb(node, blist_cbs["update"])
3214 * elif node.type == blist.PURPLE_BLIST_CHAT_NODE:
3215 * __chat_node_cb(node, blist_cbs["update"]) # <<<<<<<<<<<<<<
3216 * elif node.type == blist.PURPLE_BLIST_OTHER_NODE:
3217 * __other_node_cb(node, blist_cbs["update"])
3219 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_blist_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 136; __pyx_clineno = __LINE__; goto __pyx_L1;}
3220 __pyx_1 = PyObject_GetItem(__pyx_2, __pyx_kp_64); if (!__pyx_1) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 136; __pyx_clineno = __LINE__; goto __pyx_L1;}
3221 Py_DECREF(__pyx_2); __pyx_2 = 0;
3222 __pyx_f_6purple___chat_node_cb(__pyx_v_node, __pyx_1);
3223 Py_DECREF(__pyx_1); __pyx_1 = 0;
3227 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":137
3228 * elif node.type == blist.PURPLE_BLIST_CHAT_NODE:
3229 * __chat_node_cb(node, blist_cbs["update"])
3230 * elif node.type == blist.PURPLE_BLIST_OTHER_NODE: # <<<<<<<<<<<<<<
3231 * __other_node_cb(node, blist_cbs["update"])
3234 __pyx_4 = (__pyx_v_node->type == PURPLE_BLIST_OTHER_NODE);
3237 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":138
3238 * __chat_node_cb(node, blist_cbs["update"])
3239 * elif node.type == blist.PURPLE_BLIST_OTHER_NODE:
3240 * __other_node_cb(node, blist_cbs["update"]) # <<<<<<<<<<<<<<
3242 * cdef void remove(blist.PurpleBuddyList *list, blist.PurpleBlistNode *node):
3244 __pyx_3 = __Pyx_GetName(__pyx_m, __pyx_kp_blist_cbs); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 138; __pyx_clineno = __LINE__; goto __pyx_L1;}
3245 __pyx_2 = PyObject_GetItem(__pyx_3, __pyx_kp_65); if (!__pyx_2) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 138; __pyx_clineno = __LINE__; goto __pyx_L1;}
3246 Py_DECREF(__pyx_3); __pyx_3 = 0;
3247 __pyx_f_6purple___other_node_cb(__pyx_v_node, __pyx_2);
3248 Py_DECREF(__pyx_2); __pyx_2 = 0;
3258 Py_XDECREF(__pyx_1);
3259 Py_XDECREF(__pyx_2);
3260 Py_XDECREF(__pyx_3);
3261 __Pyx_WriteUnraisable("purple.update");
3265 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":140
3266 * __other_node_cb(node, blist_cbs["update"])
3268 * cdef void remove(blist.PurpleBuddyList *list, blist.PurpleBlistNode *node): # <<<<<<<<<<<<<<
3270 * This removes a node from the list.
3273 static char __pyx_k_69[] = "remove";
3274 static char __pyx_k_70[] = "remove";
3275 static char __pyx_k_71[] = "remove";
3276 static char __pyx_k_72[] = "remove";
3277 static char __pyx_k_73[] = "remove";
3278 static char __pyx_k_74[] = "remove";
3280 static PyObject *__pyx_kp_69;
3281 static PyObject *__pyx_kp_70;
3282 static PyObject *__pyx_kp_71;
3283 static PyObject *__pyx_kp_72;
3284 static PyObject *__pyx_kp_73;
3285 static PyObject *__pyx_kp_74;
3288 static char __pyx_k_66[] = "blist";
3289 static char __pyx_k_67[] = "%s";
3290 static char __pyx_k_68[] = "remove\n";
3292 static void __pyx_f_6purple_remove(PurpleBuddyList *__pyx_v_list, PurpleBlistNode *__pyx_v_node) {
3293 PyObject *__pyx_1 = 0;
3294 PyObject *__pyx_2 = 0;
3295 PyObject *__pyx_3 = 0;
3298 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":144
3299 * This removes a node from the list.
3301 * debug.purple_debug_info("blist", "%s", "remove\n") # <<<<<<<<<<<<<<
3302 * if blist_cbs.has_key("remove"):
3303 * if node.type == blist.PURPLE_BLIST_GROUP_NODE:
3305 purple_debug_info(__pyx_k_66, __pyx_k_67, __pyx_k_68);
3307 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":145
3309 * debug.purple_debug_info("blist", "%s", "remove\n")
3310 * if blist_cbs.has_key("remove"): # <<<<<<<<<<<<<<
3311 * if node.type == blist.PURPLE_BLIST_GROUP_NODE:
3312 * __group_node_cb(node, blist_cbs["remove"])
3314 __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_blist_cbs); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 145; __pyx_clineno = __LINE__; goto __pyx_L1;}
3315 __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_has_key); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 145; __pyx_clineno = __LINE__; goto __pyx_L1;}
3316 Py_DECREF(__pyx_1); __pyx_1 = 0;
3317 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 145; __pyx_clineno = __LINE__; goto __pyx_L1;}
3318 Py_INCREF(__pyx_kp_69);
3319 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_kp_69);
3320 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 145; __pyx_clineno = __LINE__; goto __pyx_L1;}
3321 Py_DECREF(__pyx_2); __pyx_2 = 0;
3322 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
3323 __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_3); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 145; __pyx_clineno = __LINE__; goto __pyx_L1;}
3324 Py_DECREF(__pyx_3); __pyx_3 = 0;
3327 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":146
3328 * debug.purple_debug_info("blist", "%s", "remove\n")
3329 * if blist_cbs.has_key("remove"):
3330 * if node.type == blist.PURPLE_BLIST_GROUP_NODE: # <<<<<<<<<<<<<<
3331 * __group_node_cb(node, blist_cbs["remove"])
3332 * elif node.type == blist.PURPLE_BLIST_CONTACT_NODE:
3334 __pyx_4 = (__pyx_v_node->type == PURPLE_BLIST_GROUP_NODE);
3337 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":147
3338 * if blist_cbs.has_key("remove"):
3339 * if node.type == blist.PURPLE_BLIST_GROUP_NODE:
3340 * __group_node_cb(node, blist_cbs["remove"]) # <<<<<<<<<<<<<<
3341 * elif node.type == blist.PURPLE_BLIST_CONTACT_NODE:
3342 * __contact_node_cb(node, blist_cbs["remove"])
3344 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_blist_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 147; __pyx_clineno = __LINE__; goto __pyx_L1;}
3345 __pyx_1 = PyObject_GetItem(__pyx_2, __pyx_kp_70); if (!__pyx_1) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 147; __pyx_clineno = __LINE__; goto __pyx_L1;}
3346 Py_DECREF(__pyx_2); __pyx_2 = 0;
3347 __pyx_f_6purple___group_node_cb(__pyx_v_node, __pyx_1);
3348 Py_DECREF(__pyx_1); __pyx_1 = 0;
3352 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":148
3353 * if node.type == blist.PURPLE_BLIST_GROUP_NODE:
3354 * __group_node_cb(node, blist_cbs["remove"])
3355 * elif node.type == blist.PURPLE_BLIST_CONTACT_NODE: # <<<<<<<<<<<<<<
3356 * __contact_node_cb(node, blist_cbs["remove"])
3357 * elif node.type == blist.PURPLE_BLIST_BUDDY_NODE:
3359 __pyx_4 = (__pyx_v_node->type == PURPLE_BLIST_CONTACT_NODE);
3362 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":149
3363 * __group_node_cb(node, blist_cbs["remove"])
3364 * elif node.type == blist.PURPLE_BLIST_CONTACT_NODE:
3365 * __contact_node_cb(node, blist_cbs["remove"]) # <<<<<<<<<<<<<<
3366 * elif node.type == blist.PURPLE_BLIST_BUDDY_NODE:
3367 * __buddy_node_cb(node, blist_cbs["remove"])
3369 __pyx_3 = __Pyx_GetName(__pyx_m, __pyx_kp_blist_cbs); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 149; __pyx_clineno = __LINE__; goto __pyx_L1;}
3370 __pyx_2 = PyObject_GetItem(__pyx_3, __pyx_kp_71); if (!__pyx_2) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 149; __pyx_clineno = __LINE__; goto __pyx_L1;}
3371 Py_DECREF(__pyx_3); __pyx_3 = 0;
3372 __pyx_f_6purple___contact_node_cb(__pyx_v_node, __pyx_2);
3373 Py_DECREF(__pyx_2); __pyx_2 = 0;
3377 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":150
3378 * elif node.type == blist.PURPLE_BLIST_CONTACT_NODE:
3379 * __contact_node_cb(node, blist_cbs["remove"])
3380 * elif node.type == blist.PURPLE_BLIST_BUDDY_NODE: # <<<<<<<<<<<<<<
3381 * __buddy_node_cb(node, blist_cbs["remove"])
3382 * elif node.type == blist.PURPLE_BLIST_CHAT_NODE:
3384 __pyx_4 = (__pyx_v_node->type == PURPLE_BLIST_BUDDY_NODE);
3387 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":151
3388 * __contact_node_cb(node, blist_cbs["remove"])
3389 * elif node.type == blist.PURPLE_BLIST_BUDDY_NODE:
3390 * __buddy_node_cb(node, blist_cbs["remove"]) # <<<<<<<<<<<<<<
3391 * elif node.type == blist.PURPLE_BLIST_CHAT_NODE:
3392 * __chat_node_cb(node, blist_cbs["remove"])
3394 __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_blist_cbs); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 151; __pyx_clineno = __LINE__; goto __pyx_L1;}
3395 __pyx_3 = PyObject_GetItem(__pyx_1, __pyx_kp_72); if (!__pyx_3) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 151; __pyx_clineno = __LINE__; goto __pyx_L1;}
3396 Py_DECREF(__pyx_1); __pyx_1 = 0;
3397 __pyx_f_6purple___buddy_node_cb(__pyx_v_node, __pyx_3);
3398 Py_DECREF(__pyx_3); __pyx_3 = 0;
3402 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":152
3403 * elif node.type == blist.PURPLE_BLIST_BUDDY_NODE:
3404 * __buddy_node_cb(node, blist_cbs["remove"])
3405 * elif node.type == blist.PURPLE_BLIST_CHAT_NODE: # <<<<<<<<<<<<<<
3406 * __chat_node_cb(node, blist_cbs["remove"])
3407 * elif node.type == blist.PURPLE_BLIST_OTHER_NODE:
3409 __pyx_4 = (__pyx_v_node->type == PURPLE_BLIST_CHAT_NODE);
3412 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":153
3413 * __buddy_node_cb(node, blist_cbs["remove"])
3414 * elif node.type == blist.PURPLE_BLIST_CHAT_NODE:
3415 * __chat_node_cb(node, blist_cbs["remove"]) # <<<<<<<<<<<<<<
3416 * elif node.type == blist.PURPLE_BLIST_OTHER_NODE:
3417 * __other_node_cb(node, blist_cbs["remove"])
3419 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_blist_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 153; __pyx_clineno = __LINE__; goto __pyx_L1;}
3420 __pyx_1 = PyObject_GetItem(__pyx_2, __pyx_kp_73); if (!__pyx_1) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 153; __pyx_clineno = __LINE__; goto __pyx_L1;}
3421 Py_DECREF(__pyx_2); __pyx_2 = 0;
3422 __pyx_f_6purple___chat_node_cb(__pyx_v_node, __pyx_1);
3423 Py_DECREF(__pyx_1); __pyx_1 = 0;
3427 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":154
3428 * elif node.type == blist.PURPLE_BLIST_CHAT_NODE:
3429 * __chat_node_cb(node, blist_cbs["remove"])
3430 * elif node.type == blist.PURPLE_BLIST_OTHER_NODE: # <<<<<<<<<<<<<<
3431 * __other_node_cb(node, blist_cbs["remove"])
3434 __pyx_4 = (__pyx_v_node->type == PURPLE_BLIST_OTHER_NODE);
3437 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":155
3438 * __chat_node_cb(node, blist_cbs["remove"])
3439 * elif node.type == blist.PURPLE_BLIST_OTHER_NODE:
3440 * __other_node_cb(node, blist_cbs["remove"]) # <<<<<<<<<<<<<<
3442 * cdef void destroy(blist.PurpleBuddyList *list):
3444 __pyx_3 = __Pyx_GetName(__pyx_m, __pyx_kp_blist_cbs); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 155; __pyx_clineno = __LINE__; goto __pyx_L1;}
3445 __pyx_2 = PyObject_GetItem(__pyx_3, __pyx_kp_74); if (!__pyx_2) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 155; __pyx_clineno = __LINE__; goto __pyx_L1;}
3446 Py_DECREF(__pyx_3); __pyx_3 = 0;
3447 __pyx_f_6purple___other_node_cb(__pyx_v_node, __pyx_2);
3448 Py_DECREF(__pyx_2); __pyx_2 = 0;
3458 Py_XDECREF(__pyx_1);
3459 Py_XDECREF(__pyx_2);
3460 Py_XDECREF(__pyx_3);
3461 __Pyx_WriteUnraisable("purple.remove");
3465 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":157
3466 * __other_node_cb(node, blist_cbs["remove"])
3468 * cdef void destroy(blist.PurpleBuddyList *list): # <<<<<<<<<<<<<<
3470 * When the list gets destroyed, this gets called to destroy the UI.
3473 static char __pyx_k_78[] = "destroy";
3474 static char __pyx_k_79[] = "destroy";
3476 static PyObject *__pyx_kp_78;
3477 static PyObject *__pyx_kp_79;
3479 static PyObject *__pyx_kp_80;
3481 static char __pyx_k_75[] = "blist";
3482 static char __pyx_k_76[] = "%s";
3483 static char __pyx_k_77[] = "destroy\n";
3484 static char __pyx_k_80[] = "destroy: TODO";
3486 static void __pyx_f_6purple_destroy(PurpleBuddyList *__pyx_v_list) {
3487 PyObject *__pyx_1 = 0;
3488 PyObject *__pyx_2 = 0;
3489 PyObject *__pyx_3 = 0;
3492 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":161
3493 * When the list gets destroyed, this gets called to destroy the UI.
3495 * debug.purple_debug_info("blist", "%s", "destroy\n") # <<<<<<<<<<<<<<
3496 * if blist_cbs.has_key("destroy"):
3497 * (<object> blist_cbs["destroy"])("destroy: TODO")
3499 purple_debug_info(__pyx_k_75, __pyx_k_76, __pyx_k_77);
3501 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":162
3503 * debug.purple_debug_info("blist", "%s", "destroy\n")
3504 * if blist_cbs.has_key("destroy"): # <<<<<<<<<<<<<<
3505 * (<object> blist_cbs["destroy"])("destroy: TODO")
3508 __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_blist_cbs); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 162; __pyx_clineno = __LINE__; goto __pyx_L1;}
3509 __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_has_key); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 162; __pyx_clineno = __LINE__; goto __pyx_L1;}
3510 Py_DECREF(__pyx_1); __pyx_1 = 0;
3511 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 162; __pyx_clineno = __LINE__; goto __pyx_L1;}
3512 Py_INCREF(__pyx_kp_78);
3513 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_kp_78);
3514 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 162; __pyx_clineno = __LINE__; goto __pyx_L1;}
3515 Py_DECREF(__pyx_2); __pyx_2 = 0;
3516 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
3517 __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_3); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 162; __pyx_clineno = __LINE__; goto __pyx_L1;}
3518 Py_DECREF(__pyx_3); __pyx_3 = 0;
3521 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":163
3522 * debug.purple_debug_info("blist", "%s", "destroy\n")
3523 * if blist_cbs.has_key("destroy"):
3524 * (<object> blist_cbs["destroy"])("destroy: TODO") # <<<<<<<<<<<<<<
3526 * cdef void set_visible(blist.PurpleBuddyList *list, glib.gboolean show):
3528 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_blist_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L1;}
3529 __pyx_1 = PyObject_GetItem(__pyx_2, __pyx_kp_79); if (!__pyx_1) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L1;}
3530 Py_DECREF(__pyx_2); __pyx_2 = 0;
3531 __pyx_3 = PyTuple_New(1); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L1;}
3532 Py_INCREF(__pyx_kp_80);
3533 PyTuple_SET_ITEM(__pyx_3, 0, __pyx_kp_80);
3534 __pyx_2 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_3), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L1;}
3535 Py_DECREF(__pyx_1); __pyx_1 = 0;
3536 Py_DECREF(((PyObject *)__pyx_3)); __pyx_3 = 0;
3537 Py_DECREF(__pyx_2); __pyx_2 = 0;
3544 Py_XDECREF(__pyx_1);
3545 Py_XDECREF(__pyx_2);
3546 Py_XDECREF(__pyx_3);
3547 __Pyx_WriteUnraisable("purple.destroy");
3551 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":165
3552 * (<object> blist_cbs["destroy"])("destroy: TODO")
3554 * cdef void set_visible(blist.PurpleBuddyList *list, glib.gboolean show): # <<<<<<<<<<<<<<
3556 * Hides or unhides the buddy list.
3559 static PyObject *__pyx_kp_84;
3560 static PyObject *__pyx_kp_85;
3561 static PyObject *__pyx_kp_86;
3563 static char __pyx_k_81[] = "blist";
3564 static char __pyx_k_82[] = "%s";
3565 static char __pyx_k_83[] = "set-visible\n";
3566 static char __pyx_k_84[] = "set-visible";
3567 static char __pyx_k_85[] = "set-visible";
3568 static char __pyx_k_86[] = "set-visible: TODO";
3570 static void __pyx_f_6purple_set_visible(PurpleBuddyList *__pyx_v_list, gboolean __pyx_v_show) {
3571 PyObject *__pyx_1 = 0;
3572 PyObject *__pyx_2 = 0;
3573 PyObject *__pyx_3 = 0;
3576 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":169
3577 * Hides or unhides the buddy list.
3579 * debug.purple_debug_info("blist", "%s", "set-visible\n") # <<<<<<<<<<<<<<
3580 * if blist_cbs.has_key("set-visible"):
3581 * (<object> blist_cbs["set-visible"])("set-visible: TODO")
3583 purple_debug_info(__pyx_k_81, __pyx_k_82, __pyx_k_83);
3585 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":170
3587 * debug.purple_debug_info("blist", "%s", "set-visible\n")
3588 * if blist_cbs.has_key("set-visible"): # <<<<<<<<<<<<<<
3589 * (<object> blist_cbs["set-visible"])("set-visible: TODO")
3592 __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_blist_cbs); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 170; __pyx_clineno = __LINE__; goto __pyx_L1;}
3593 __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_has_key); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 170; __pyx_clineno = __LINE__; goto __pyx_L1;}
3594 Py_DECREF(__pyx_1); __pyx_1 = 0;
3595 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 170; __pyx_clineno = __LINE__; goto __pyx_L1;}
3596 Py_INCREF(__pyx_kp_84);
3597 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_kp_84);
3598 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 170; __pyx_clineno = __LINE__; goto __pyx_L1;}
3599 Py_DECREF(__pyx_2); __pyx_2 = 0;
3600 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
3601 __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_3); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 170; __pyx_clineno = __LINE__; goto __pyx_L1;}
3602 Py_DECREF(__pyx_3); __pyx_3 = 0;
3605 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":171
3606 * debug.purple_debug_info("blist", "%s", "set-visible\n")
3607 * if blist_cbs.has_key("set-visible"):
3608 * (<object> blist_cbs["set-visible"])("set-visible: TODO") # <<<<<<<<<<<<<<
3610 * cdef void request_add_buddy(account.PurpleAccount *c_account, \
3612 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_blist_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 171; __pyx_clineno = __LINE__; goto __pyx_L1;}
3613 __pyx_1 = PyObject_GetItem(__pyx_2, __pyx_kp_85); if (!__pyx_1) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 171; __pyx_clineno = __LINE__; goto __pyx_L1;}
3614 Py_DECREF(__pyx_2); __pyx_2 = 0;
3615 __pyx_3 = PyTuple_New(1); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 171; __pyx_clineno = __LINE__; goto __pyx_L1;}
3616 Py_INCREF(__pyx_kp_86);
3617 PyTuple_SET_ITEM(__pyx_3, 0, __pyx_kp_86);
3618 __pyx_2 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_3), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 171; __pyx_clineno = __LINE__; goto __pyx_L1;}
3619 Py_DECREF(__pyx_1); __pyx_1 = 0;
3620 Py_DECREF(((PyObject *)__pyx_3)); __pyx_3 = 0;
3621 Py_DECREF(__pyx_2); __pyx_2 = 0;
3628 Py_XDECREF(__pyx_1);
3629 Py_XDECREF(__pyx_2);
3630 Py_XDECREF(__pyx_3);
3631 __Pyx_WriteUnraisable("purple.set_visible");
3635 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":173
3636 * (<object> blist_cbs["set-visible"])("set-visible: TODO")
3638 * cdef void request_add_buddy(account.PurpleAccount *c_account, \ # <<<<<<<<<<<<<<
3639 * const_char *c_buddy_username, const_char *c_buddy_group, \
3640 * const_char *c_buddy_alias):
3643 static PyObject *__pyx_kp_90;
3644 static PyObject *__pyx_kp_91;
3646 static char __pyx_k_87[] = "blist";
3647 static char __pyx_k_88[] = "%s";
3648 static char __pyx_k_89[] = "request-add-buddy\n";
3649 static char __pyx_k_90[] = "request-add-buddy";
3650 static char __pyx_k_91[] = "request-add-buddy";
3652 static void __pyx_f_6purple_request_add_buddy(PurpleAccount *__pyx_v_c_account, const char *__pyx_v_c_buddy_username, const char *__pyx_v_c_buddy_group, const char *__pyx_v_c_buddy_alias) {
3653 PyObject *__pyx_v_username;
3654 PyObject *__pyx_v_protocol_id;
3655 PyObject *__pyx_v_buddy_username;
3656 PyObject *__pyx_v_buddy_group;
3657 PyObject *__pyx_v_buddy_alias;
3658 PyObject *__pyx_1 = 0;
3660 PyObject *__pyx_3 = 0;
3661 PyObject *__pyx_4 = 0;
3662 __pyx_v_username = Py_None; Py_INCREF(Py_None);
3663 __pyx_v_protocol_id = Py_None; Py_INCREF(Py_None);
3664 __pyx_v_buddy_username = Py_None; Py_INCREF(Py_None);
3665 __pyx_v_buddy_group = Py_None; Py_INCREF(Py_None);
3666 __pyx_v_buddy_alias = Py_None; Py_INCREF(Py_None);
3668 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":180
3671 * debug.purple_debug_info("blist", "%s", "request-add-buddy\n") # <<<<<<<<<<<<<<
3673 * username = account.purple_account_get_username(c_account)
3675 purple_debug_info(__pyx_k_87, __pyx_k_88, __pyx_k_89);
3677 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":182
3678 * debug.purple_debug_info("blist", "%s", "request-add-buddy\n")
3680 * username = account.purple_account_get_username(c_account) # <<<<<<<<<<<<<<
3681 * protocol_id = account.purple_account_get_protocol_id(c_account)
3684 __pyx_1 = __Pyx_PyBytes_FromString(purple_account_get_username(__pyx_v_c_account)); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 182; __pyx_clineno = __LINE__; goto __pyx_L1;}
3685 Py_DECREF(__pyx_v_username);
3686 __pyx_v_username = __pyx_1;
3689 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":183
3691 * username = account.purple_account_get_username(c_account)
3692 * protocol_id = account.purple_account_get_protocol_id(c_account) # <<<<<<<<<<<<<<
3694 * if c_buddy_username:
3696 __pyx_1 = __Pyx_PyBytes_FromString(purple_account_get_protocol_id(__pyx_v_c_account)); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 183; __pyx_clineno = __LINE__; goto __pyx_L1;}
3697 Py_DECREF(__pyx_v_protocol_id);
3698 __pyx_v_protocol_id = __pyx_1;
3701 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":185
3702 * protocol_id = account.purple_account_get_protocol_id(c_account)
3704 * if c_buddy_username: # <<<<<<<<<<<<<<
3705 * buddy_username = <char *> c_buddy_username
3708 __pyx_2 = (__pyx_v_c_buddy_username != 0);
3711 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":186
3713 * if c_buddy_username:
3714 * buddy_username = <char *> c_buddy_username # <<<<<<<<<<<<<<
3716 * buddy_username = None
3718 __pyx_1 = __Pyx_PyBytes_FromString(((char *)__pyx_v_c_buddy_username)); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 186; __pyx_clineno = __LINE__; goto __pyx_L1;}
3719 Py_DECREF(__pyx_v_buddy_username);
3720 __pyx_v_buddy_username = __pyx_1;
3726 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":188
3727 * buddy_username = <char *> c_buddy_username
3729 * buddy_username = None # <<<<<<<<<<<<<<
3734 Py_DECREF(__pyx_v_buddy_username);
3735 __pyx_v_buddy_username = Py_None;
3739 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":190
3740 * buddy_username = None
3742 * if c_buddy_group: # <<<<<<<<<<<<<<
3743 * buddy_group = <char *> c_buddy_group
3746 __pyx_2 = (__pyx_v_c_buddy_group != 0);
3749 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":191
3752 * buddy_group = <char *> c_buddy_group # <<<<<<<<<<<<<<
3754 * buddy_group = None
3756 __pyx_1 = __Pyx_PyBytes_FromString(((char *)__pyx_v_c_buddy_group)); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 191; __pyx_clineno = __LINE__; goto __pyx_L1;}
3757 Py_DECREF(__pyx_v_buddy_group);
3758 __pyx_v_buddy_group = __pyx_1;
3764 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":193
3765 * buddy_group = <char *> c_buddy_group
3767 * buddy_group = None # <<<<<<<<<<<<<<
3772 Py_DECREF(__pyx_v_buddy_group);
3773 __pyx_v_buddy_group = Py_None;
3777 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":195
3778 * buddy_group = None
3780 * if c_buddy_alias: # <<<<<<<<<<<<<<
3781 * buddy_alias = <char *> c_buddy_alias
3784 __pyx_2 = (__pyx_v_c_buddy_alias != 0);
3787 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":196
3790 * buddy_alias = <char *> c_buddy_alias # <<<<<<<<<<<<<<
3792 * buddy_alias = None
3794 __pyx_1 = __Pyx_PyBytes_FromString(((char *)__pyx_v_c_buddy_alias)); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 196; __pyx_clineno = __LINE__; goto __pyx_L1;}
3795 Py_DECREF(__pyx_v_buddy_alias);
3796 __pyx_v_buddy_alias = __pyx_1;
3802 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":198
3803 * buddy_alias = <char *> c_buddy_alias
3805 * buddy_alias = None # <<<<<<<<<<<<<<
3807 * if blist_cbs.has_key("request-add-buddy"):
3810 Py_DECREF(__pyx_v_buddy_alias);
3811 __pyx_v_buddy_alias = Py_None;
3815 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":200
3816 * buddy_alias = None
3818 * if blist_cbs.has_key("request-add-buddy"): # <<<<<<<<<<<<<<
3819 * (<object> blist_cbs["request-add-buddy"])( \
3820 * (username, protocol_id), \
3822 __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_blist_cbs); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 200; __pyx_clineno = __LINE__; goto __pyx_L1;}
3823 __pyx_3 = PyObject_GetAttr(__pyx_1, __pyx_kp_has_key); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 200; __pyx_clineno = __LINE__; goto __pyx_L1;}
3824 Py_DECREF(__pyx_1); __pyx_1 = 0;
3825 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 200; __pyx_clineno = __LINE__; goto __pyx_L1;}
3826 Py_INCREF(__pyx_kp_90);
3827 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_kp_90);
3828 __pyx_4 = PyObject_Call(__pyx_3, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 200; __pyx_clineno = __LINE__; goto __pyx_L1;}
3829 Py_DECREF(__pyx_3); __pyx_3 = 0;
3830 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
3831 __pyx_2 = __Pyx_PyObject_IsTrue(__pyx_4); if (unlikely(__pyx_2 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 200; __pyx_clineno = __LINE__; goto __pyx_L1;}
3832 Py_DECREF(__pyx_4); __pyx_4 = 0;
3835 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":201
3837 * if blist_cbs.has_key("request-add-buddy"):
3838 * (<object> blist_cbs["request-add-buddy"])( \ # <<<<<<<<<<<<<<
3839 * (username, protocol_id), \
3840 * buddy_username, buddy_group, buddy_alias)
3842 __pyx_3 = __Pyx_GetName(__pyx_m, __pyx_kp_blist_cbs); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 201; __pyx_clineno = __LINE__; goto __pyx_L1;}
3843 __pyx_1 = PyObject_GetItem(__pyx_3, __pyx_kp_91); if (!__pyx_1) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 201; __pyx_clineno = __LINE__; goto __pyx_L1;}
3844 Py_DECREF(__pyx_3); __pyx_3 = 0;
3846 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":202
3847 * if blist_cbs.has_key("request-add-buddy"):
3848 * (<object> blist_cbs["request-add-buddy"])( \
3849 * (username, protocol_id), \ # <<<<<<<<<<<<<<
3850 * buddy_username, buddy_group, buddy_alias)
3853 __pyx_4 = PyTuple_New(2); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1;}
3854 Py_INCREF(__pyx_v_username);
3855 PyTuple_SET_ITEM(__pyx_4, 0, __pyx_v_username);
3856 Py_INCREF(__pyx_v_protocol_id);
3857 PyTuple_SET_ITEM(__pyx_4, 1, __pyx_v_protocol_id);
3859 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":203
3860 * (<object> blist_cbs["request-add-buddy"])( \
3861 * (username, protocol_id), \
3862 * buddy_username, buddy_group, buddy_alias) # <<<<<<<<<<<<<<
3864 * cdef void request_add_chat(account.PurpleAccount *acc, \
3866 __pyx_3 = PyTuple_New(4); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 201; __pyx_clineno = __LINE__; goto __pyx_L1;}
3867 PyTuple_SET_ITEM(__pyx_3, 0, ((PyObject *)__pyx_4));
3868 Py_INCREF(__pyx_v_buddy_username);
3869 PyTuple_SET_ITEM(__pyx_3, 1, __pyx_v_buddy_username);
3870 Py_INCREF(__pyx_v_buddy_group);
3871 PyTuple_SET_ITEM(__pyx_3, 2, __pyx_v_buddy_group);
3872 Py_INCREF(__pyx_v_buddy_alias);
3873 PyTuple_SET_ITEM(__pyx_3, 3, __pyx_v_buddy_alias);
3875 __pyx_4 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_3), NULL); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 201; __pyx_clineno = __LINE__; goto __pyx_L1;}
3876 Py_DECREF(__pyx_1); __pyx_1 = 0;
3877 Py_DECREF(((PyObject *)__pyx_3)); __pyx_3 = 0;
3878 Py_DECREF(__pyx_4); __pyx_4 = 0;
3885 Py_XDECREF(__pyx_1);
3886 Py_XDECREF(__pyx_3);
3887 Py_XDECREF(__pyx_4);
3888 __Pyx_WriteUnraisable("purple.request_add_buddy");
3890 Py_DECREF(__pyx_v_username);
3891 Py_DECREF(__pyx_v_protocol_id);
3892 Py_DECREF(__pyx_v_buddy_username);
3893 Py_DECREF(__pyx_v_buddy_group);
3894 Py_DECREF(__pyx_v_buddy_alias);
3897 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":205
3898 * buddy_username, buddy_group, buddy_alias)
3900 * cdef void request_add_chat(account.PurpleAccount *acc, \ # <<<<<<<<<<<<<<
3901 * blist.PurpleGroup *group, const_char *alias, const_char *name):
3905 static PyObject *__pyx_kp_95;
3906 static PyObject *__pyx_kp_96;
3907 static PyObject *__pyx_kp_97;
3909 static char __pyx_k_92[] = "blist";
3910 static char __pyx_k_93[] = "%s";
3911 static char __pyx_k_94[] = "request-add-chat\n";
3912 static char __pyx_k_95[] = "request-add-chat";
3913 static char __pyx_k_96[] = "request-add-chat";
3914 static char __pyx_k_97[] = "request-add-chat: TODO";
3916 static void __pyx_f_6purple_request_add_chat(PurpleAccount *__pyx_v_acc, PurpleGroup *__pyx_v_group, const char *__pyx_v_alias, const char *__pyx_v_name) {
3917 PyObject *__pyx_1 = 0;
3918 PyObject *__pyx_2 = 0;
3919 PyObject *__pyx_3 = 0;
3922 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":210
3925 * debug.purple_debug_info("blist", "%s", "request-add-chat\n") # <<<<<<<<<<<<<<
3926 * if blist_cbs.has_key("request-add-chat"):
3927 * (<object> blist_cbs["request-add-chat"])("request-add-chat: TODO")
3929 purple_debug_info(__pyx_k_92, __pyx_k_93, __pyx_k_94);
3931 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":211
3933 * debug.purple_debug_info("blist", "%s", "request-add-chat\n")
3934 * if blist_cbs.has_key("request-add-chat"): # <<<<<<<<<<<<<<
3935 * (<object> blist_cbs["request-add-chat"])("request-add-chat: TODO")
3938 __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_blist_cbs); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 211; __pyx_clineno = __LINE__; goto __pyx_L1;}
3939 __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_has_key); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 211; __pyx_clineno = __LINE__; goto __pyx_L1;}
3940 Py_DECREF(__pyx_1); __pyx_1 = 0;
3941 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 211; __pyx_clineno = __LINE__; goto __pyx_L1;}
3942 Py_INCREF(__pyx_kp_95);
3943 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_kp_95);
3944 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 211; __pyx_clineno = __LINE__; goto __pyx_L1;}
3945 Py_DECREF(__pyx_2); __pyx_2 = 0;
3946 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
3947 __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_3); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 211; __pyx_clineno = __LINE__; goto __pyx_L1;}
3948 Py_DECREF(__pyx_3); __pyx_3 = 0;
3951 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":212
3952 * debug.purple_debug_info("blist", "%s", "request-add-chat\n")
3953 * if blist_cbs.has_key("request-add-chat"):
3954 * (<object> blist_cbs["request-add-chat"])("request-add-chat: TODO") # <<<<<<<<<<<<<<
3956 * cdef void request_add_group():
3958 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_blist_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 212; __pyx_clineno = __LINE__; goto __pyx_L1;}
3959 __pyx_1 = PyObject_GetItem(__pyx_2, __pyx_kp_96); if (!__pyx_1) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 212; __pyx_clineno = __LINE__; goto __pyx_L1;}
3960 Py_DECREF(__pyx_2); __pyx_2 = 0;
3961 __pyx_3 = PyTuple_New(1); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 212; __pyx_clineno = __LINE__; goto __pyx_L1;}
3962 Py_INCREF(__pyx_kp_97);
3963 PyTuple_SET_ITEM(__pyx_3, 0, __pyx_kp_97);
3964 __pyx_2 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_3), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 212; __pyx_clineno = __LINE__; goto __pyx_L1;}
3965 Py_DECREF(__pyx_1); __pyx_1 = 0;
3966 Py_DECREF(((PyObject *)__pyx_3)); __pyx_3 = 0;
3967 Py_DECREF(__pyx_2); __pyx_2 = 0;
3974 Py_XDECREF(__pyx_1);
3975 Py_XDECREF(__pyx_2);
3976 Py_XDECREF(__pyx_3);
3977 __Pyx_WriteUnraisable("purple.request_add_chat");
3981 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":214
3982 * (<object> blist_cbs["request-add-chat"])("request-add-chat: TODO")
3984 * cdef void request_add_group(): # <<<<<<<<<<<<<<
3989 static PyObject *__pyx_kp_101;
3990 static PyObject *__pyx_kp_102;
3991 static PyObject *__pyx_kp_103;
3993 static char __pyx_k_98[] = "blist";
3994 static char __pyx_k_99[] = "%s";
3995 static char __pyx_k_100[] = "request-add-group\n";
3996 static char __pyx_k_101[] = "request-add-chat";
3997 static char __pyx_k_102[] = "request-add-chat";
3998 static char __pyx_k_103[] = "request-add-group: TODO";
4000 static void __pyx_f_6purple_request_add_group(void) {
4001 PyObject *__pyx_1 = 0;
4002 PyObject *__pyx_2 = 0;
4003 PyObject *__pyx_3 = 0;
4006 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":218
4009 * debug.purple_debug_info("blist", "%s", "request-add-group\n") # <<<<<<<<<<<<<<
4010 * if blist_cbs.has_key("request-add-chat"):
4011 * (<object>blist_cbs["request-add-chat"])("request-add-group: TODO")
4013 purple_debug_info(__pyx_k_98, __pyx_k_99, __pyx_k_100);
4015 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":219
4017 * debug.purple_debug_info("blist", "%s", "request-add-group\n")
4018 * if blist_cbs.has_key("request-add-chat"): # <<<<<<<<<<<<<<
4019 * (<object>blist_cbs["request-add-chat"])("request-add-group: TODO")
4021 __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_blist_cbs); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 219; __pyx_clineno = __LINE__; goto __pyx_L1;}
4022 __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_has_key); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 219; __pyx_clineno = __LINE__; goto __pyx_L1;}
4023 Py_DECREF(__pyx_1); __pyx_1 = 0;
4024 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 219; __pyx_clineno = __LINE__; goto __pyx_L1;}
4025 Py_INCREF(__pyx_kp_101);
4026 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_kp_101);
4027 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 219; __pyx_clineno = __LINE__; goto __pyx_L1;}
4028 Py_DECREF(__pyx_2); __pyx_2 = 0;
4029 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
4030 __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_3); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 219; __pyx_clineno = __LINE__; goto __pyx_L1;}
4031 Py_DECREF(__pyx_3); __pyx_3 = 0;
4034 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":220
4035 * debug.purple_debug_info("blist", "%s", "request-add-group\n")
4036 * if blist_cbs.has_key("request-add-chat"):
4037 * (<object>blist_cbs["request-add-chat"])("request-add-group: TODO") # <<<<<<<<<<<<<<
4039 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_blist_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 220; __pyx_clineno = __LINE__; goto __pyx_L1;}
4040 __pyx_1 = PyObject_GetItem(__pyx_2, __pyx_kp_102); if (!__pyx_1) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 220; __pyx_clineno = __LINE__; goto __pyx_L1;}
4041 Py_DECREF(__pyx_2); __pyx_2 = 0;
4042 __pyx_3 = PyTuple_New(1); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 220; __pyx_clineno = __LINE__; goto __pyx_L1;}
4043 Py_INCREF(__pyx_kp_103);
4044 PyTuple_SET_ITEM(__pyx_3, 0, __pyx_kp_103);
4045 __pyx_2 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_3), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 220; __pyx_clineno = __LINE__; goto __pyx_L1;}
4046 Py_DECREF(__pyx_1); __pyx_1 = 0;
4047 Py_DECREF(((PyObject *)__pyx_3)); __pyx_3 = 0;
4048 Py_DECREF(__pyx_2); __pyx_2 = 0;
4055 Py_XDECREF(__pyx_1);
4056 Py_XDECREF(__pyx_2);
4057 Py_XDECREF(__pyx_3);
4058 __Pyx_WriteUnraisable("purple.request_add_group");
4062 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/connection_cbs.pxd":30
4063 * ctypedef int size_t
4065 * cdef void connect_progress(connection.PurpleConnection *gc, const_char *text, \ # <<<<<<<<<<<<<<
4066 * size_t step, size_t step_count):
4070 static PyObject *__pyx_kp_107;
4071 static PyObject *__pyx_kp_108;
4073 static char __pyx_k_104[] = "connection";
4074 static char __pyx_k_105[] = "%s";
4075 static char __pyx_k_106[] = "connect-progress\n";
4076 static char __pyx_k_107[] = "connect-progress";
4077 static char __pyx_k_108[] = "connect-progress";
4079 static void __pyx_f_6purple_connect_progress(PurpleConnection *__pyx_v_gc, const char *__pyx_v_text, size_t __pyx_v_step, size_t __pyx_v_step_count) {
4080 PyObject *__pyx_1 = 0;
4081 PyObject *__pyx_2 = 0;
4082 PyObject *__pyx_3 = 0;
4084 PyObject *__pyx_5 = 0;
4085 PyObject *__pyx_6 = 0;
4087 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/connection_cbs.pxd":37
4088 * reached (which might be displayed as a progress bar).
4090 * debug.purple_debug_info("connection", "%s", "connect-progress\n") # <<<<<<<<<<<<<<
4091 * if connection_cbs.has_key("connect-progress"):
4092 * (<object> connection_cbs["connect-progress"])(<char *> text, step, step_count)
4094 purple_debug_info(__pyx_k_104, __pyx_k_105, __pyx_k_106);
4096 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/connection_cbs.pxd":38
4098 * debug.purple_debug_info("connection", "%s", "connect-progress\n")
4099 * if connection_cbs.has_key("connect-progress"): # <<<<<<<<<<<<<<
4100 * (<object> connection_cbs["connect-progress"])(<char *> text, step, step_count)
4103 __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_connection_cbs); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 38; __pyx_clineno = __LINE__; goto __pyx_L1;}
4104 __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_has_key); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 38; __pyx_clineno = __LINE__; goto __pyx_L1;}
4105 Py_DECREF(__pyx_1); __pyx_1 = 0;
4106 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 38; __pyx_clineno = __LINE__; goto __pyx_L1;}
4107 Py_INCREF(__pyx_kp_107);
4108 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_kp_107);
4109 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 38; __pyx_clineno = __LINE__; goto __pyx_L1;}
4110 Py_DECREF(__pyx_2); __pyx_2 = 0;
4111 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
4112 __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_3); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 38; __pyx_clineno = __LINE__; goto __pyx_L1;}
4113 Py_DECREF(__pyx_3); __pyx_3 = 0;
4116 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/connection_cbs.pxd":39
4117 * debug.purple_debug_info("connection", "%s", "connect-progress\n")
4118 * if connection_cbs.has_key("connect-progress"):
4119 * (<object> connection_cbs["connect-progress"])(<char *> text, step, step_count) # <<<<<<<<<<<<<<
4121 * cdef void connected(connection.PurpleConnection *gc):
4123 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_connection_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 39; __pyx_clineno = __LINE__; goto __pyx_L1;}
4124 __pyx_1 = PyObject_GetItem(__pyx_2, __pyx_kp_108); if (!__pyx_1) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 39; __pyx_clineno = __LINE__; goto __pyx_L1;}
4125 Py_DECREF(__pyx_2); __pyx_2 = 0;
4126 __pyx_3 = __Pyx_PyBytes_FromString(((char *)__pyx_v_text)); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 39; __pyx_clineno = __LINE__; goto __pyx_L1;}
4127 __pyx_2 = PyInt_FromLong(__pyx_v_step); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 39; __pyx_clineno = __LINE__; goto __pyx_L1;}
4128 __pyx_5 = PyInt_FromLong(__pyx_v_step_count); if (unlikely(!__pyx_5)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 39; __pyx_clineno = __LINE__; goto __pyx_L1;}
4129 __pyx_6 = PyTuple_New(3); if (unlikely(!__pyx_6)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 39; __pyx_clineno = __LINE__; goto __pyx_L1;}
4130 PyTuple_SET_ITEM(__pyx_6, 0, __pyx_3);
4131 PyTuple_SET_ITEM(__pyx_6, 1, __pyx_2);
4132 PyTuple_SET_ITEM(__pyx_6, 2, __pyx_5);
4136 __pyx_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_6), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 39; __pyx_clineno = __LINE__; goto __pyx_L1;}
4137 Py_DECREF(__pyx_1); __pyx_1 = 0;
4138 Py_DECREF(((PyObject *)__pyx_6)); __pyx_6 = 0;
4139 Py_DECREF(__pyx_3); __pyx_3 = 0;
4146 Py_XDECREF(__pyx_1);
4147 Py_XDECREF(__pyx_2);
4148 Py_XDECREF(__pyx_3);
4149 Py_XDECREF(__pyx_5);
4150 Py_XDECREF(__pyx_6);
4151 __Pyx_WriteUnraisable("purple.connect_progress");
4155 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/connection_cbs.pxd":41
4156 * (<object> connection_cbs["connect-progress"])(<char *> text, step, step_count)
4158 * cdef void connected(connection.PurpleConnection *gc): # <<<<<<<<<<<<<<
4160 * Called when a connection is established (just before the signed-on signal).
4163 static char __pyx_k_112[] = "connected";
4164 static char __pyx_k_113[] = "connected";
4166 static PyObject *__pyx_kp_112;
4167 static PyObject *__pyx_kp_113;
4169 static PyObject *__pyx_kp_114;
4171 static char __pyx_k_109[] = "connection";
4172 static char __pyx_k_110[] = "%s";
4173 static char __pyx_k_111[] = "connected\n";
4174 static char __pyx_k_114[] = "connected: TODO";
4176 static void __pyx_f_6purple_connected(PurpleConnection *__pyx_v_gc) {
4177 PyObject *__pyx_1 = 0;
4178 PyObject *__pyx_2 = 0;
4179 PyObject *__pyx_3 = 0;
4182 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/connection_cbs.pxd":45
4183 * Called when a connection is established (just before the signed-on signal).
4185 * debug.purple_debug_info("connection", "%s", "connected\n") # <<<<<<<<<<<<<<
4186 * if connection_cbs.has_key("connected"):
4187 * (<object> connection_cbs["connected"])("connected: TODO")
4189 purple_debug_info(__pyx_k_109, __pyx_k_110, __pyx_k_111);
4191 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/connection_cbs.pxd":46
4193 * debug.purple_debug_info("connection", "%s", "connected\n")
4194 * if connection_cbs.has_key("connected"): # <<<<<<<<<<<<<<
4195 * (<object> connection_cbs["connected"])("connected: TODO")
4198 __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_connection_cbs); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 46; __pyx_clineno = __LINE__; goto __pyx_L1;}
4199 __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_has_key); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 46; __pyx_clineno = __LINE__; goto __pyx_L1;}
4200 Py_DECREF(__pyx_1); __pyx_1 = 0;
4201 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 46; __pyx_clineno = __LINE__; goto __pyx_L1;}
4202 Py_INCREF(__pyx_kp_112);
4203 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_kp_112);
4204 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 46; __pyx_clineno = __LINE__; goto __pyx_L1;}
4205 Py_DECREF(__pyx_2); __pyx_2 = 0;
4206 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
4207 __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_3); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 46; __pyx_clineno = __LINE__; goto __pyx_L1;}
4208 Py_DECREF(__pyx_3); __pyx_3 = 0;
4211 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/connection_cbs.pxd":47
4212 * debug.purple_debug_info("connection", "%s", "connected\n")
4213 * if connection_cbs.has_key("connected"):
4214 * (<object> connection_cbs["connected"])("connected: TODO") # <<<<<<<<<<<<<<
4216 * cdef void disconnected(connection.PurpleConnection *gc):
4218 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_connection_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 47; __pyx_clineno = __LINE__; goto __pyx_L1;}
4219 __pyx_1 = PyObject_GetItem(__pyx_2, __pyx_kp_113); if (!__pyx_1) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 47; __pyx_clineno = __LINE__; goto __pyx_L1;}
4220 Py_DECREF(__pyx_2); __pyx_2 = 0;
4221 __pyx_3 = PyTuple_New(1); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 47; __pyx_clineno = __LINE__; goto __pyx_L1;}
4222 Py_INCREF(__pyx_kp_114);
4223 PyTuple_SET_ITEM(__pyx_3, 0, __pyx_kp_114);
4224 __pyx_2 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_3), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 47; __pyx_clineno = __LINE__; goto __pyx_L1;}
4225 Py_DECREF(__pyx_1); __pyx_1 = 0;
4226 Py_DECREF(((PyObject *)__pyx_3)); __pyx_3 = 0;
4227 Py_DECREF(__pyx_2); __pyx_2 = 0;
4234 Py_XDECREF(__pyx_1);
4235 Py_XDECREF(__pyx_2);
4236 Py_XDECREF(__pyx_3);
4237 __Pyx_WriteUnraisable("purple.connected");
4241 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/connection_cbs.pxd":49
4242 * (<object> connection_cbs["connected"])("connected: TODO")
4244 * cdef void disconnected(connection.PurpleConnection *gc): # <<<<<<<<<<<<<<
4246 * Called when a connection is ended (between the signing-off and signed-off
4249 static char __pyx_k_118[] = "disconnected";
4250 static char __pyx_k_119[] = "disconnected";
4252 static PyObject *__pyx_kp_118;
4253 static PyObject *__pyx_kp_119;
4255 static PyObject *__pyx_kp_120;
4257 static char __pyx_k_115[] = "connection";
4258 static char __pyx_k_116[] = "%s";
4259 static char __pyx_k_117[] = "disconnected\n";
4260 static char __pyx_k_120[] = "disconnected: TODO";
4262 static void __pyx_f_6purple_disconnected(PurpleConnection *__pyx_v_gc) {
4263 PyObject *__pyx_1 = 0;
4264 PyObject *__pyx_2 = 0;
4265 PyObject *__pyx_3 = 0;
4268 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/connection_cbs.pxd":54
4271 * debug.purple_debug_info("connection", "%s", "disconnected\n") # <<<<<<<<<<<<<<
4272 * if connection_cbs.has_key("disconnected"):
4273 * (<object> connection_cbs["disconnected"])("disconnected: TODO")
4275 purple_debug_info(__pyx_k_115, __pyx_k_116, __pyx_k_117);
4277 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/connection_cbs.pxd":55
4279 * debug.purple_debug_info("connection", "%s", "disconnected\n")
4280 * if connection_cbs.has_key("disconnected"): # <<<<<<<<<<<<<<
4281 * (<object> connection_cbs["disconnected"])("disconnected: TODO")
4284 __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_connection_cbs); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 55; __pyx_clineno = __LINE__; goto __pyx_L1;}
4285 __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_has_key); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 55; __pyx_clineno = __LINE__; goto __pyx_L1;}
4286 Py_DECREF(__pyx_1); __pyx_1 = 0;
4287 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 55; __pyx_clineno = __LINE__; goto __pyx_L1;}
4288 Py_INCREF(__pyx_kp_118);
4289 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_kp_118);
4290 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 55; __pyx_clineno = __LINE__; goto __pyx_L1;}
4291 Py_DECREF(__pyx_2); __pyx_2 = 0;
4292 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
4293 __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_3); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 55; __pyx_clineno = __LINE__; goto __pyx_L1;}
4294 Py_DECREF(__pyx_3); __pyx_3 = 0;
4297 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/connection_cbs.pxd":56
4298 * debug.purple_debug_info("connection", "%s", "disconnected\n")
4299 * if connection_cbs.has_key("disconnected"):
4300 * (<object> connection_cbs["disconnected"])("disconnected: TODO") # <<<<<<<<<<<<<<
4302 * cdef void notice(connection.PurpleConnection *gc, const_char *text):
4304 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_connection_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 56; __pyx_clineno = __LINE__; goto __pyx_L1;}
4305 __pyx_1 = PyObject_GetItem(__pyx_2, __pyx_kp_119); if (!__pyx_1) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 56; __pyx_clineno = __LINE__; goto __pyx_L1;}
4306 Py_DECREF(__pyx_2); __pyx_2 = 0;
4307 __pyx_3 = PyTuple_New(1); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 56; __pyx_clineno = __LINE__; goto __pyx_L1;}
4308 Py_INCREF(__pyx_kp_120);
4309 PyTuple_SET_ITEM(__pyx_3, 0, __pyx_kp_120);
4310 __pyx_2 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_3), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 56; __pyx_clineno = __LINE__; goto __pyx_L1;}
4311 Py_DECREF(__pyx_1); __pyx_1 = 0;
4312 Py_DECREF(((PyObject *)__pyx_3)); __pyx_3 = 0;
4313 Py_DECREF(__pyx_2); __pyx_2 = 0;
4320 Py_XDECREF(__pyx_1);
4321 Py_XDECREF(__pyx_2);
4322 Py_XDECREF(__pyx_3);
4323 __Pyx_WriteUnraisable("purple.disconnected");
4327 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/connection_cbs.pxd":58
4328 * (<object> connection_cbs["disconnected"])("disconnected: TODO")
4330 * cdef void notice(connection.PurpleConnection *gc, const_char *text): # <<<<<<<<<<<<<<
4332 * Used to display connection-specific notices. (Pidgin's Gtk user interface
4335 static char __pyx_k_124[] = "notice";
4336 static char __pyx_k_125[] = "notice";
4338 static PyObject *__pyx_kp_124;
4339 static PyObject *__pyx_kp_125;
4341 static PyObject *__pyx_kp_126;
4343 static char __pyx_k_121[] = "connection";
4344 static char __pyx_k_122[] = "%s";
4345 static char __pyx_k_123[] = "notice\n";
4346 static char __pyx_k_126[] = "notice: TODO";
4348 static void __pyx_f_6purple_notice(PurpleConnection *__pyx_v_gc, const char *__pyx_v_text) {
4349 PyObject *__pyx_1 = 0;
4350 PyObject *__pyx_2 = 0;
4351 PyObject *__pyx_3 = 0;
4354 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/connection_cbs.pxd":64
4355 * operation, is not used by any of the protocols shipped with libpurple.)
4357 * debug.purple_debug_info("connection", "%s", "notice\n") # <<<<<<<<<<<<<<
4358 * if connection_cbs.has_key("notice"):
4359 * (<object> connection_cbs["notice"])("notice: TODO")
4361 purple_debug_info(__pyx_k_121, __pyx_k_122, __pyx_k_123);
4363 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/connection_cbs.pxd":65
4365 * debug.purple_debug_info("connection", "%s", "notice\n")
4366 * if connection_cbs.has_key("notice"): # <<<<<<<<<<<<<<
4367 * (<object> connection_cbs["notice"])("notice: TODO")
4370 __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_connection_cbs); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 65; __pyx_clineno = __LINE__; goto __pyx_L1;}
4371 __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_has_key); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 65; __pyx_clineno = __LINE__; goto __pyx_L1;}
4372 Py_DECREF(__pyx_1); __pyx_1 = 0;
4373 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 65; __pyx_clineno = __LINE__; goto __pyx_L1;}
4374 Py_INCREF(__pyx_kp_124);
4375 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_kp_124);
4376 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 65; __pyx_clineno = __LINE__; goto __pyx_L1;}
4377 Py_DECREF(__pyx_2); __pyx_2 = 0;
4378 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
4379 __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_3); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 65; __pyx_clineno = __LINE__; goto __pyx_L1;}
4380 Py_DECREF(__pyx_3); __pyx_3 = 0;
4383 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/connection_cbs.pxd":66
4384 * debug.purple_debug_info("connection", "%s", "notice\n")
4385 * if connection_cbs.has_key("notice"):
4386 * (<object> connection_cbs["notice"])("notice: TODO") # <<<<<<<<<<<<<<
4388 * cdef void report_disconnect(connection.PurpleConnection *gc, const_char *text):
4390 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_connection_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 66; __pyx_clineno = __LINE__; goto __pyx_L1;}
4391 __pyx_1 = PyObject_GetItem(__pyx_2, __pyx_kp_125); if (!__pyx_1) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 66; __pyx_clineno = __LINE__; goto __pyx_L1;}
4392 Py_DECREF(__pyx_2); __pyx_2 = 0;
4393 __pyx_3 = PyTuple_New(1); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 66; __pyx_clineno = __LINE__; goto __pyx_L1;}
4394 Py_INCREF(__pyx_kp_126);
4395 PyTuple_SET_ITEM(__pyx_3, 0, __pyx_kp_126);
4396 __pyx_2 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_3), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 66; __pyx_clineno = __LINE__; goto __pyx_L1;}
4397 Py_DECREF(__pyx_1); __pyx_1 = 0;
4398 Py_DECREF(((PyObject *)__pyx_3)); __pyx_3 = 0;
4399 Py_DECREF(__pyx_2); __pyx_2 = 0;
4406 Py_XDECREF(__pyx_1);
4407 Py_XDECREF(__pyx_2);
4408 Py_XDECREF(__pyx_3);
4409 __Pyx_WriteUnraisable("purple.notice");
4413 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/connection_cbs.pxd":68
4414 * (<object> connection_cbs["notice"])("notice: TODO")
4416 * cdef void report_disconnect(connection.PurpleConnection *gc, const_char *text): # <<<<<<<<<<<<<<
4418 * Called when an error causes a connection to be disconnected.
4421 static PyObject *__pyx_kp_130;
4422 static PyObject *__pyx_kp_131;
4424 static char __pyx_k_127[] = "connection";
4425 static char __pyx_k_128[] = "%s";
4426 static char __pyx_k_129[] = "report-disconnect\n";
4427 static char __pyx_k_130[] = "report-disconnect";
4428 static char __pyx_k_131[] = "report-disconnect";
4430 static void __pyx_f_6purple_report_disconnect(PurpleConnection *__pyx_v_gc, const char *__pyx_v_text) {
4431 PyObject *__pyx_1 = 0;
4432 PyObject *__pyx_2 = 0;
4433 PyObject *__pyx_3 = 0;
4436 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/connection_cbs.pxd":77
4437 * PurpleConnectionUiOps.report_disconnect_reason.
4439 * debug.purple_debug_info("connection", "%s", "report-disconnect\n") # <<<<<<<<<<<<<<
4440 * if connection_cbs.has_key("report-disconnect"):
4441 * (<object> connection_cbs["report-disconnect"])(<char *> text)
4443 purple_debug_info(__pyx_k_127, __pyx_k_128, __pyx_k_129);
4445 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/connection_cbs.pxd":78
4447 * debug.purple_debug_info("connection", "%s", "report-disconnect\n")
4448 * if connection_cbs.has_key("report-disconnect"): # <<<<<<<<<<<<<<
4449 * (<object> connection_cbs["report-disconnect"])(<char *> text)
4452 __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_connection_cbs); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 78; __pyx_clineno = __LINE__; goto __pyx_L1;}
4453 __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_has_key); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 78; __pyx_clineno = __LINE__; goto __pyx_L1;}
4454 Py_DECREF(__pyx_1); __pyx_1 = 0;
4455 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 78; __pyx_clineno = __LINE__; goto __pyx_L1;}
4456 Py_INCREF(__pyx_kp_130);
4457 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_kp_130);
4458 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 78; __pyx_clineno = __LINE__; goto __pyx_L1;}
4459 Py_DECREF(__pyx_2); __pyx_2 = 0;
4460 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
4461 __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_3); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 78; __pyx_clineno = __LINE__; goto __pyx_L1;}
4462 Py_DECREF(__pyx_3); __pyx_3 = 0;
4465 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/connection_cbs.pxd":79
4466 * debug.purple_debug_info("connection", "%s", "report-disconnect\n")
4467 * if connection_cbs.has_key("report-disconnect"):
4468 * (<object> connection_cbs["report-disconnect"])(<char *> text) # <<<<<<<<<<<<<<
4470 * cdef void network_connected():
4472 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_connection_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 79; __pyx_clineno = __LINE__; goto __pyx_L1;}
4473 __pyx_1 = PyObject_GetItem(__pyx_2, __pyx_kp_131); if (!__pyx_1) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 79; __pyx_clineno = __LINE__; goto __pyx_L1;}
4474 Py_DECREF(__pyx_2); __pyx_2 = 0;
4475 __pyx_3 = __Pyx_PyBytes_FromString(((char *)__pyx_v_text)); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 79; __pyx_clineno = __LINE__; goto __pyx_L1;}
4476 __pyx_2 = PyTuple_New(1); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 79; __pyx_clineno = __LINE__; goto __pyx_L1;}
4477 PyTuple_SET_ITEM(__pyx_2, 0, __pyx_3);
4479 __pyx_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_2), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 79; __pyx_clineno = __LINE__; goto __pyx_L1;}
4480 Py_DECREF(__pyx_1); __pyx_1 = 0;
4481 Py_DECREF(((PyObject *)__pyx_2)); __pyx_2 = 0;
4482 Py_DECREF(__pyx_3); __pyx_3 = 0;
4489 Py_XDECREF(__pyx_1);
4490 Py_XDECREF(__pyx_2);
4491 Py_XDECREF(__pyx_3);
4492 __Pyx_WriteUnraisable("purple.report_disconnect");
4496 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/connection_cbs.pxd":81
4497 * (<object> connection_cbs["report-disconnect"])(<char *> text)
4499 * cdef void network_connected(): # <<<<<<<<<<<<<<
4501 * Called when libpurple discovers that the computer's network connection
4504 static PyObject *__pyx_kp_135;
4505 static PyObject *__pyx_kp_136;
4507 static char __pyx_k_132[] = "connection";
4508 static char __pyx_k_133[] = "%s";
4509 static char __pyx_k_134[] = "network-connected\n";
4510 static char __pyx_k_135[] = "network-connected";
4511 static char __pyx_k_136[] = "network-connected";
4513 static void __pyx_f_6purple_network_connected(void) {
4514 PyObject *__pyx_1 = 0;
4515 PyObject *__pyx_2 = 0;
4516 PyObject *__pyx_3 = 0;
4519 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/connection_cbs.pxd":87
4520 * it uses Win32's network change notification infrastructure.
4522 * debug.purple_debug_info("connection", "%s", "network-connected\n") # <<<<<<<<<<<<<<
4523 * if connection_cbs.has_key("network-connected"):
4524 * (<object> connection_cbs["network-connected"])()
4526 purple_debug_info(__pyx_k_132, __pyx_k_133, __pyx_k_134);
4528 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/connection_cbs.pxd":88
4530 * debug.purple_debug_info("connection", "%s", "network-connected\n")
4531 * if connection_cbs.has_key("network-connected"): # <<<<<<<<<<<<<<
4532 * (<object> connection_cbs["network-connected"])()
4535 __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_connection_cbs); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 88; __pyx_clineno = __LINE__; goto __pyx_L1;}
4536 __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_has_key); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 88; __pyx_clineno = __LINE__; goto __pyx_L1;}
4537 Py_DECREF(__pyx_1); __pyx_1 = 0;
4538 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 88; __pyx_clineno = __LINE__; goto __pyx_L1;}
4539 Py_INCREF(__pyx_kp_135);
4540 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_kp_135);
4541 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 88; __pyx_clineno = __LINE__; goto __pyx_L1;}
4542 Py_DECREF(__pyx_2); __pyx_2 = 0;
4543 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
4544 __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_3); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 88; __pyx_clineno = __LINE__; goto __pyx_L1;}
4545 Py_DECREF(__pyx_3); __pyx_3 = 0;
4548 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/connection_cbs.pxd":89
4549 * debug.purple_debug_info("connection", "%s", "network-connected\n")
4550 * if connection_cbs.has_key("network-connected"):
4551 * (<object> connection_cbs["network-connected"])() # <<<<<<<<<<<<<<
4553 * cdef void network_disconnected():
4555 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_connection_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 89; __pyx_clineno = __LINE__; goto __pyx_L1;}
4556 __pyx_1 = PyObject_GetItem(__pyx_2, __pyx_kp_136); if (!__pyx_1) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 89; __pyx_clineno = __LINE__; goto __pyx_L1;}
4557 Py_DECREF(__pyx_2); __pyx_2 = 0;
4558 __pyx_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 89; __pyx_clineno = __LINE__; goto __pyx_L1;}
4559 Py_DECREF(__pyx_1); __pyx_1 = 0;
4560 Py_DECREF(__pyx_3); __pyx_3 = 0;
4567 Py_XDECREF(__pyx_1);
4568 Py_XDECREF(__pyx_2);
4569 Py_XDECREF(__pyx_3);
4570 __Pyx_WriteUnraisable("purple.network_connected");
4574 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/connection_cbs.pxd":91
4575 * (<object> connection_cbs["network-connected"])()
4577 * cdef void network_disconnected(): # <<<<<<<<<<<<<<
4579 * Called when libpurple discovers that the computer's network connection
4582 static PyObject *__pyx_kp_140;
4583 static PyObject *__pyx_kp_141;
4585 static char __pyx_k_137[] = "connection";
4586 static char __pyx_k_138[] = "%s";
4587 static char __pyx_k_139[] = "network-disconnected\n";
4588 static char __pyx_k_140[] = "network-disconnected";
4589 static char __pyx_k_141[] = "network-disconnected";
4591 static void __pyx_f_6purple_network_disconnected(void) {
4592 PyObject *__pyx_1 = 0;
4593 PyObject *__pyx_2 = 0;
4594 PyObject *__pyx_3 = 0;
4597 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/connection_cbs.pxd":96
4600 * debug.purple_debug_info("connection", "%s", "network-disconnected\n") # <<<<<<<<<<<<<<
4601 * if connection_cbs.has_key("network-disconnected"):
4602 * (<object> connection_cbs["network-disconnected"])()
4604 purple_debug_info(__pyx_k_137, __pyx_k_138, __pyx_k_139);
4606 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/connection_cbs.pxd":97
4608 * debug.purple_debug_info("connection", "%s", "network-disconnected\n")
4609 * if connection_cbs.has_key("network-disconnected"): # <<<<<<<<<<<<<<
4610 * (<object> connection_cbs["network-disconnected"])()
4613 __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_connection_cbs); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 97; __pyx_clineno = __LINE__; goto __pyx_L1;}
4614 __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_has_key); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 97; __pyx_clineno = __LINE__; goto __pyx_L1;}
4615 Py_DECREF(__pyx_1); __pyx_1 = 0;
4616 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 97; __pyx_clineno = __LINE__; goto __pyx_L1;}
4617 Py_INCREF(__pyx_kp_140);
4618 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_kp_140);
4619 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 97; __pyx_clineno = __LINE__; goto __pyx_L1;}
4620 Py_DECREF(__pyx_2); __pyx_2 = 0;
4621 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
4622 __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_3); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 97; __pyx_clineno = __LINE__; goto __pyx_L1;}
4623 Py_DECREF(__pyx_3); __pyx_3 = 0;
4626 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/connection_cbs.pxd":98
4627 * debug.purple_debug_info("connection", "%s", "network-disconnected\n")
4628 * if connection_cbs.has_key("network-disconnected"):
4629 * (<object> connection_cbs["network-disconnected"])() # <<<<<<<<<<<<<<
4631 * cdef void report_disconnect_reason(connection.PurpleConnection *gc, \
4633 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_connection_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 98; __pyx_clineno = __LINE__; goto __pyx_L1;}
4634 __pyx_1 = PyObject_GetItem(__pyx_2, __pyx_kp_141); if (!__pyx_1) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 98; __pyx_clineno = __LINE__; goto __pyx_L1;}
4635 Py_DECREF(__pyx_2); __pyx_2 = 0;
4636 __pyx_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 98; __pyx_clineno = __LINE__; goto __pyx_L1;}
4637 Py_DECREF(__pyx_1); __pyx_1 = 0;
4638 Py_DECREF(__pyx_3); __pyx_3 = 0;
4645 Py_XDECREF(__pyx_1);
4646 Py_XDECREF(__pyx_2);
4647 Py_XDECREF(__pyx_3);
4648 __Pyx_WriteUnraisable("purple.network_disconnected");
4652 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/connection_cbs.pxd":100
4653 * (<object> connection_cbs["network-disconnected"])()
4655 * cdef void report_disconnect_reason(connection.PurpleConnection *gc, \ # <<<<<<<<<<<<<<
4656 * connection.PurpleConnectionError reason, const_char *c_text):
4660 static PyObject *__pyx_int_0;
4661 static PyObject *__pyx_int_1;
4662 static PyObject *__pyx_int_2;
4663 static PyObject *__pyx_int_3;
4664 static PyObject *__pyx_int_4;
4665 static PyObject *__pyx_int_5;
4666 static PyObject *__pyx_int_6;
4667 static PyObject *__pyx_int_7;
4668 static PyObject *__pyx_int_8;
4669 static PyObject *__pyx_int_9;
4670 static PyObject *__pyx_int_10;
4671 static PyObject *__pyx_int_11;
4672 static PyObject *__pyx_int_12;
4673 static PyObject *__pyx_int_13;
4674 static PyObject *__pyx_int_14;
4675 static PyObject *__pyx_int_15;
4676 static PyObject *__pyx_int_16;
4678 static PyObject *__pyx_kp_145;
4679 static PyObject *__pyx_kp_146;
4680 static PyObject *__pyx_kp_147;
4681 static PyObject *__pyx_kp_148;
4682 static PyObject *__pyx_kp_149;
4683 static PyObject *__pyx_kp_150;
4684 static PyObject *__pyx_kp_151;
4685 static PyObject *__pyx_kp_152;
4686 static PyObject *__pyx_kp_153;
4687 static PyObject *__pyx_kp_154;
4688 static PyObject *__pyx_kp_155;
4689 static PyObject *__pyx_kp_156;
4690 static PyObject *__pyx_kp_157;
4691 static PyObject *__pyx_kp_158;
4692 static PyObject *__pyx_kp_159;
4693 static PyObject *__pyx_kp_160;
4694 static PyObject *__pyx_kp_161;
4695 static PyObject *__pyx_kp_162;
4696 static PyObject *__pyx_kp_163;
4698 static char __pyx_k_142[] = "connection";
4699 static char __pyx_k_143[] = "%s";
4700 static char __pyx_k_144[] = "report-disconnect-reason\n";
4701 static char __pyx_k_145[] = "Network error";
4702 static char __pyx_k_146[] = "Invalid username";
4703 static char __pyx_k_147[] = "Authentication failed";
4704 static char __pyx_k_148[] = "Authentication impossible";
4705 static char __pyx_k_149[] = "No SSL support";
4706 static char __pyx_k_150[] = "Encryption error";
4707 static char __pyx_k_151[] = "Name in use";
4708 static char __pyx_k_152[] = "Invalid settings";
4709 static char __pyx_k_153[] = "Certificate not provided";
4710 static char __pyx_k_154[] = "Certificate untrusted";
4711 static char __pyx_k_155[] = "Certificate expired";
4712 static char __pyx_k_156[] = "Certificate not activated";
4713 static char __pyx_k_157[] = "Certificate hostname mismatch";
4714 static char __pyx_k_158[] = "Certificate fingerprint mismatch";
4715 static char __pyx_k_159[] = "Certificate self signed";
4716 static char __pyx_k_160[] = "Certificate error (other)";
4717 static char __pyx_k_161[] = "Other error";
4718 static char __pyx_k_162[] = "report-disconnect-reason";
4719 static char __pyx_k_163[] = "report-disconnect-reason";
4721 static void __pyx_f_6purple_report_disconnect_reason(PurpleConnection *__pyx_v_gc, PurpleConnectionError __pyx_v_reason, const char *__pyx_v_c_text) {
4722 PyObject *__pyx_v_reason_string;
4723 PyObject *__pyx_v_text;
4724 PyObject *__pyx_1 = 0;
4725 PyObject *__pyx_2 = 0;
4726 PyObject *__pyx_3 = 0;
4729 __pyx_v_reason_string = Py_None; Py_INCREF(Py_None);
4730 __pyx_v_text = Py_None; Py_INCREF(Py_None);
4732 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/connection_cbs.pxd":114
4735 * debug.purple_debug_info("connection", "%s", "report-disconnect-reason\n") # <<<<<<<<<<<<<<
4739 purple_debug_info(__pyx_k_142, __pyx_k_143, __pyx_k_144);
4741 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/connection_cbs.pxd":133
4742 * 14: 'Certificate self signed',
4743 * 15: 'Certificate error (other)',
4744 * 16: 'Other error' }[reason] # <<<<<<<<<<<<<<
4748 __pyx_1 = PyDict_New(); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 116; __pyx_clineno = __LINE__; goto __pyx_L1;}
4750 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/connection_cbs.pxd":117
4753 * 0: 'Network error', # <<<<<<<<<<<<<<
4754 * 1: 'Invalid username',
4755 * 2: 'Authentication failed',
4757 if (PyDict_SetItem(__pyx_1, __pyx_int_0, __pyx_kp_145) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 116; __pyx_clineno = __LINE__; goto __pyx_L1;}
4759 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/connection_cbs.pxd":118
4761 * 0: 'Network error',
4762 * 1: 'Invalid username', # <<<<<<<<<<<<<<
4763 * 2: 'Authentication failed',
4764 * 3: 'Authentication impossible',
4766 if (PyDict_SetItem(__pyx_1, __pyx_int_1, __pyx_kp_146) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 116; __pyx_clineno = __LINE__; goto __pyx_L1;}
4768 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/connection_cbs.pxd":119
4769 * 0: 'Network error',
4770 * 1: 'Invalid username',
4771 * 2: 'Authentication failed', # <<<<<<<<<<<<<<
4772 * 3: 'Authentication impossible',
4773 * 4: 'No SSL support',
4775 if (PyDict_SetItem(__pyx_1, __pyx_int_2, __pyx_kp_147) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 116; __pyx_clineno = __LINE__; goto __pyx_L1;}
4777 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/connection_cbs.pxd":120
4778 * 1: 'Invalid username',
4779 * 2: 'Authentication failed',
4780 * 3: 'Authentication impossible', # <<<<<<<<<<<<<<
4781 * 4: 'No SSL support',
4782 * 5: 'Encryption error',
4784 if (PyDict_SetItem(__pyx_1, __pyx_int_3, __pyx_kp_148) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 116; __pyx_clineno = __LINE__; goto __pyx_L1;}
4786 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/connection_cbs.pxd":121
4787 * 2: 'Authentication failed',
4788 * 3: 'Authentication impossible',
4789 * 4: 'No SSL support', # <<<<<<<<<<<<<<
4790 * 5: 'Encryption error',
4793 if (PyDict_SetItem(__pyx_1, __pyx_int_4, __pyx_kp_149) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 116; __pyx_clineno = __LINE__; goto __pyx_L1;}
4795 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/connection_cbs.pxd":122
4796 * 3: 'Authentication impossible',
4797 * 4: 'No SSL support',
4798 * 5: 'Encryption error', # <<<<<<<<<<<<<<
4800 * 7: 'Invalid settings',
4802 if (PyDict_SetItem(__pyx_1, __pyx_int_5, __pyx_kp_150) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 116; __pyx_clineno = __LINE__; goto __pyx_L1;}
4804 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/connection_cbs.pxd":123
4805 * 4: 'No SSL support',
4806 * 5: 'Encryption error',
4807 * 6: 'Name in use', # <<<<<<<<<<<<<<
4808 * 7: 'Invalid settings',
4809 * 8: 'Certificate not provided',
4811 if (PyDict_SetItem(__pyx_1, __pyx_int_6, __pyx_kp_151) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 116; __pyx_clineno = __LINE__; goto __pyx_L1;}
4813 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/connection_cbs.pxd":124
4814 * 5: 'Encryption error',
4816 * 7: 'Invalid settings', # <<<<<<<<<<<<<<
4817 * 8: 'Certificate not provided',
4818 * 9: 'Certificate untrusted',
4820 if (PyDict_SetItem(__pyx_1, __pyx_int_7, __pyx_kp_152) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 116; __pyx_clineno = __LINE__; goto __pyx_L1;}
4822 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/connection_cbs.pxd":125
4824 * 7: 'Invalid settings',
4825 * 8: 'Certificate not provided', # <<<<<<<<<<<<<<
4826 * 9: 'Certificate untrusted',
4827 * 10: 'Certificate expired',
4829 if (PyDict_SetItem(__pyx_1, __pyx_int_8, __pyx_kp_153) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 116; __pyx_clineno = __LINE__; goto __pyx_L1;}
4831 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/connection_cbs.pxd":126
4832 * 7: 'Invalid settings',
4833 * 8: 'Certificate not provided',
4834 * 9: 'Certificate untrusted', # <<<<<<<<<<<<<<
4835 * 10: 'Certificate expired',
4836 * 11: 'Certificate not activated',
4838 if (PyDict_SetItem(__pyx_1, __pyx_int_9, __pyx_kp_154) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 116; __pyx_clineno = __LINE__; goto __pyx_L1;}
4840 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/connection_cbs.pxd":127
4841 * 8: 'Certificate not provided',
4842 * 9: 'Certificate untrusted',
4843 * 10: 'Certificate expired', # <<<<<<<<<<<<<<
4844 * 11: 'Certificate not activated',
4845 * 12: 'Certificate hostname mismatch',
4847 if (PyDict_SetItem(__pyx_1, __pyx_int_10, __pyx_kp_155) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 116; __pyx_clineno = __LINE__; goto __pyx_L1;}
4849 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/connection_cbs.pxd":128
4850 * 9: 'Certificate untrusted',
4851 * 10: 'Certificate expired',
4852 * 11: 'Certificate not activated', # <<<<<<<<<<<<<<
4853 * 12: 'Certificate hostname mismatch',
4854 * 13: 'Certificate fingerprint mismatch',
4856 if (PyDict_SetItem(__pyx_1, __pyx_int_11, __pyx_kp_156) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 116; __pyx_clineno = __LINE__; goto __pyx_L1;}
4858 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/connection_cbs.pxd":129
4859 * 10: 'Certificate expired',
4860 * 11: 'Certificate not activated',
4861 * 12: 'Certificate hostname mismatch', # <<<<<<<<<<<<<<
4862 * 13: 'Certificate fingerprint mismatch',
4863 * 14: 'Certificate self signed',
4865 if (PyDict_SetItem(__pyx_1, __pyx_int_12, __pyx_kp_157) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 116; __pyx_clineno = __LINE__; goto __pyx_L1;}
4867 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/connection_cbs.pxd":130
4868 * 11: 'Certificate not activated',
4869 * 12: 'Certificate hostname mismatch',
4870 * 13: 'Certificate fingerprint mismatch', # <<<<<<<<<<<<<<
4871 * 14: 'Certificate self signed',
4872 * 15: 'Certificate error (other)',
4874 if (PyDict_SetItem(__pyx_1, __pyx_int_13, __pyx_kp_158) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 116; __pyx_clineno = __LINE__; goto __pyx_L1;}
4876 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/connection_cbs.pxd":131
4877 * 12: 'Certificate hostname mismatch',
4878 * 13: 'Certificate fingerprint mismatch',
4879 * 14: 'Certificate self signed', # <<<<<<<<<<<<<<
4880 * 15: 'Certificate error (other)',
4881 * 16: 'Other error' }[reason]
4883 if (PyDict_SetItem(__pyx_1, __pyx_int_14, __pyx_kp_159) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 116; __pyx_clineno = __LINE__; goto __pyx_L1;}
4885 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/connection_cbs.pxd":132
4886 * 13: 'Certificate fingerprint mismatch',
4887 * 14: 'Certificate self signed',
4888 * 15: 'Certificate error (other)', # <<<<<<<<<<<<<<
4889 * 16: 'Other error' }[reason]
4892 if (PyDict_SetItem(__pyx_1, __pyx_int_15, __pyx_kp_160) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 116; __pyx_clineno = __LINE__; goto __pyx_L1;}
4894 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/connection_cbs.pxd":133
4895 * 14: 'Certificate self signed',
4896 * 15: 'Certificate error (other)',
4897 * 16: 'Other error' }[reason] # <<<<<<<<<<<<<<
4901 if (PyDict_SetItem(__pyx_1, __pyx_int_16, __pyx_kp_161) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 116; __pyx_clineno = __LINE__; goto __pyx_L1;}
4902 __pyx_2 = PyInt_FromLong(__pyx_v_reason); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 133; __pyx_clineno = __LINE__; goto __pyx_L1;}
4903 __pyx_3 = PyObject_GetItem(((PyObject *)__pyx_1), __pyx_2); if (!__pyx_3) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 133; __pyx_clineno = __LINE__; goto __pyx_L1;}
4904 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
4905 Py_DECREF(__pyx_2); __pyx_2 = 0;
4906 Py_DECREF(__pyx_v_reason_string);
4907 __pyx_v_reason_string = __pyx_3;
4910 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/connection_cbs.pxd":135
4911 * 16: 'Other error' }[reason]
4913 * if c_text: # <<<<<<<<<<<<<<
4914 * text = <char *> c_text
4917 __pyx_4 = (__pyx_v_c_text != 0);
4920 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/connection_cbs.pxd":136
4923 * text = <char *> c_text # <<<<<<<<<<<<<<
4927 __pyx_1 = __Pyx_PyBytes_FromString(((char *)__pyx_v_c_text)); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 136; __pyx_clineno = __LINE__; goto __pyx_L1;}
4928 Py_DECREF(__pyx_v_text);
4929 __pyx_v_text = __pyx_1;
4935 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/connection_cbs.pxd":138
4936 * text = <char *> c_text
4938 * text = None # <<<<<<<<<<<<<<
4940 * if connection_cbs.has_key("report-disconnect-reason"):
4943 Py_DECREF(__pyx_v_text);
4944 __pyx_v_text = Py_None;
4948 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/connection_cbs.pxd":140
4951 * if connection_cbs.has_key("report-disconnect-reason"): # <<<<<<<<<<<<<<
4952 * (<object> connection_cbs["report-disconnect-reason"])(reason_string, <char *> text)
4954 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_connection_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 140; __pyx_clineno = __LINE__; goto __pyx_L1;}
4955 __pyx_3 = PyObject_GetAttr(__pyx_2, __pyx_kp_has_key); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 140; __pyx_clineno = __LINE__; goto __pyx_L1;}
4956 Py_DECREF(__pyx_2); __pyx_2 = 0;
4957 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 140; __pyx_clineno = __LINE__; goto __pyx_L1;}
4958 Py_INCREF(__pyx_kp_162);
4959 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_kp_162);
4960 __pyx_2 = PyObject_Call(__pyx_3, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 140; __pyx_clineno = __LINE__; goto __pyx_L1;}
4961 Py_DECREF(__pyx_3); __pyx_3 = 0;
4962 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
4963 __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_2); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 140; __pyx_clineno = __LINE__; goto __pyx_L1;}
4964 Py_DECREF(__pyx_2); __pyx_2 = 0;
4967 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/connection_cbs.pxd":141
4969 * if connection_cbs.has_key("report-disconnect-reason"):
4970 * (<object> connection_cbs["report-disconnect-reason"])(reason_string, <char *> text) # <<<<<<<<<<<<<<
4972 __pyx_3 = __Pyx_GetName(__pyx_m, __pyx_kp_connection_cbs); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 141; __pyx_clineno = __LINE__; goto __pyx_L1;}
4973 __pyx_1 = PyObject_GetItem(__pyx_3, __pyx_kp_163); if (!__pyx_1) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 141; __pyx_clineno = __LINE__; goto __pyx_L1;}
4974 Py_DECREF(__pyx_3); __pyx_3 = 0;
4975 __pyx_5 = __Pyx_PyBytes_AsString(__pyx_v_text); if (unlikely((!__pyx_5) && PyErr_Occurred())) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 141; __pyx_clineno = __LINE__; goto __pyx_L1;}
4976 __pyx_2 = __Pyx_PyBytes_FromString(((char *)__pyx_5)); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 141; __pyx_clineno = __LINE__; goto __pyx_L1;}
4977 __pyx_3 = PyTuple_New(2); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 141; __pyx_clineno = __LINE__; goto __pyx_L1;}
4978 Py_INCREF(__pyx_v_reason_string);
4979 PyTuple_SET_ITEM(__pyx_3, 0, __pyx_v_reason_string);
4980 PyTuple_SET_ITEM(__pyx_3, 1, __pyx_2);
4982 __pyx_2 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_3), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 141; __pyx_clineno = __LINE__; goto __pyx_L1;}
4983 Py_DECREF(__pyx_1); __pyx_1 = 0;
4984 Py_DECREF(((PyObject *)__pyx_3)); __pyx_3 = 0;
4985 Py_DECREF(__pyx_2); __pyx_2 = 0;
4992 Py_XDECREF(__pyx_1);
4993 Py_XDECREF(__pyx_2);
4994 Py_XDECREF(__pyx_3);
4995 __Pyx_WriteUnraisable("purple.report_disconnect_reason");
4997 Py_DECREF(__pyx_v_reason_string);
4998 Py_DECREF(__pyx_v_text);
5001 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":29
5002 * conversation_cbs = {}
5004 * cdef void create_conversation(conversation.PurpleConversation *conv): # <<<<<<<<<<<<<<
5006 * Called when a conv is created (but before the conversation-created
5009 static PyObject *__pyx_kp_167;
5010 static PyObject *__pyx_kp_168;
5012 static char __pyx_k_164[] = "conversation";
5013 static char __pyx_k_165[] = "%s";
5014 static char __pyx_k_166[] = "create-conversation\n";
5015 static char __pyx_k_167[] = "create-conversation";
5016 static char __pyx_k_168[] = "create-conversation";
5018 static void __pyx_f_6purple_create_conversation(PurpleConversation *__pyx_v_conv) {
5019 char *__pyx_v_c_name;
5020 PyObject *__pyx_v_name;
5021 PyObject *__pyx_v_type;
5023 PyObject *__pyx_2 = 0;
5024 PyObject *__pyx_3 = 0;
5025 PyObject *__pyx_4 = 0;
5026 __pyx_v_name = Py_None; Py_INCREF(Py_None);
5027 __pyx_v_type = Py_None; Py_INCREF(Py_None);
5029 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":34
5030 * signal is emitted).
5032 * debug.purple_debug_info("conversation", "%s", "create-conversation\n") # <<<<<<<<<<<<<<
5033 * cdef char *c_name = NULL
5036 purple_debug_info(__pyx_k_164, __pyx_k_165, __pyx_k_166);
5038 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":35
5040 * debug.purple_debug_info("conversation", "%s", "create-conversation\n")
5041 * cdef char *c_name = NULL # <<<<<<<<<<<<<<
5043 * c_name = <char *> conversation.purple_conversation_get_name(conv)
5045 __pyx_v_c_name = NULL;
5048 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":37
5049 * cdef char *c_name = NULL
5051 * c_name = <char *> conversation.purple_conversation_get_name(conv) # <<<<<<<<<<<<<<
5052 * if c_name == NULL:
5055 __pyx_v_c_name = ((char *)purple_conversation_get_name(__pyx_v_conv));
5057 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":38
5059 * c_name = <char *> conversation.purple_conversation_get_name(conv)
5060 * if c_name == NULL: # <<<<<<<<<<<<<<
5064 __pyx_1 = (__pyx_v_c_name == NULL);
5067 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":39
5068 * c_name = <char *> conversation.purple_conversation_get_name(conv)
5069 * if c_name == NULL:
5070 * name = None # <<<<<<<<<<<<<<
5075 Py_DECREF(__pyx_v_name);
5076 __pyx_v_name = Py_None;
5081 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":41
5084 * name = c_name # <<<<<<<<<<<<<<
5086 * type = conversation.purple_conversation_get_type(conv)
5088 __pyx_2 = __Pyx_PyBytes_FromString(__pyx_v_c_name); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 41; __pyx_clineno = __LINE__; goto __pyx_L1;}
5089 Py_DECREF(__pyx_v_name);
5090 __pyx_v_name = __pyx_2;
5095 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":43
5098 * type = conversation.purple_conversation_get_type(conv) # <<<<<<<<<<<<<<
5100 * if conversation_cbs.has_key("create-conversation"):
5102 __pyx_2 = PyInt_FromLong(purple_conversation_get_type(__pyx_v_conv)); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 43; __pyx_clineno = __LINE__; goto __pyx_L1;}
5103 Py_DECREF(__pyx_v_type);
5104 __pyx_v_type = __pyx_2;
5107 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":45
5108 * type = conversation.purple_conversation_get_type(conv)
5110 * if conversation_cbs.has_key("create-conversation"): # <<<<<<<<<<<<<<
5111 * (<object> conversation_cbs["create-conversation"])(name, type)
5114 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_conversation_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 45; __pyx_clineno = __LINE__; goto __pyx_L1;}
5115 __pyx_3 = PyObject_GetAttr(__pyx_2, __pyx_kp_has_key); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 45; __pyx_clineno = __LINE__; goto __pyx_L1;}
5116 Py_DECREF(__pyx_2); __pyx_2 = 0;
5117 __pyx_2 = PyTuple_New(1); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 45; __pyx_clineno = __LINE__; goto __pyx_L1;}
5118 Py_INCREF(__pyx_kp_167);
5119 PyTuple_SET_ITEM(__pyx_2, 0, __pyx_kp_167);
5120 __pyx_4 = PyObject_Call(__pyx_3, ((PyObject *)__pyx_2), NULL); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 45; __pyx_clineno = __LINE__; goto __pyx_L1;}
5121 Py_DECREF(__pyx_3); __pyx_3 = 0;
5122 Py_DECREF(((PyObject *)__pyx_2)); __pyx_2 = 0;
5123 __pyx_1 = __Pyx_PyObject_IsTrue(__pyx_4); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 45; __pyx_clineno = __LINE__; goto __pyx_L1;}
5124 Py_DECREF(__pyx_4); __pyx_4 = 0;
5127 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":46
5129 * if conversation_cbs.has_key("create-conversation"):
5130 * (<object> conversation_cbs["create-conversation"])(name, type) # <<<<<<<<<<<<<<
5132 * cdef void destroy_conversation(conversation.PurpleConversation *conv):
5134 __pyx_3 = __Pyx_GetName(__pyx_m, __pyx_kp_conversation_cbs); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 46; __pyx_clineno = __LINE__; goto __pyx_L1;}
5135 __pyx_2 = PyObject_GetItem(__pyx_3, __pyx_kp_168); if (!__pyx_2) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 46; __pyx_clineno = __LINE__; goto __pyx_L1;}
5136 Py_DECREF(__pyx_3); __pyx_3 = 0;
5137 __pyx_4 = PyTuple_New(2); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 46; __pyx_clineno = __LINE__; goto __pyx_L1;}
5138 Py_INCREF(__pyx_v_name);
5139 PyTuple_SET_ITEM(__pyx_4, 0, __pyx_v_name);
5140 Py_INCREF(__pyx_v_type);
5141 PyTuple_SET_ITEM(__pyx_4, 1, __pyx_v_type);
5142 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_4), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 46; __pyx_clineno = __LINE__; goto __pyx_L1;}
5143 Py_DECREF(__pyx_2); __pyx_2 = 0;
5144 Py_DECREF(((PyObject *)__pyx_4)); __pyx_4 = 0;
5145 Py_DECREF(__pyx_3); __pyx_3 = 0;
5152 Py_XDECREF(__pyx_2);
5153 Py_XDECREF(__pyx_3);
5154 Py_XDECREF(__pyx_4);
5155 __Pyx_WriteUnraisable("purple.create_conversation");
5157 Py_DECREF(__pyx_v_name);
5158 Py_DECREF(__pyx_v_type);
5161 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":48
5162 * (<object> conversation_cbs["create-conversation"])(name, type)
5164 * cdef void destroy_conversation(conversation.PurpleConversation *conv): # <<<<<<<<<<<<<<
5166 * Called just before a conv is freed.
5169 static PyObject *__pyx_kp_172;
5170 static PyObject *__pyx_kp_173;
5171 static PyObject *__pyx_kp_174;
5173 static char __pyx_k_169[] = "conversation";
5174 static char __pyx_k_170[] = "%s";
5175 static char __pyx_k_171[] = "destroy-conversation\n";
5176 static char __pyx_k_172[] = "destroy-conversation";
5177 static char __pyx_k_173[] = "destroy-conversation";
5178 static char __pyx_k_174[] = "destroy-conversation: TODO";
5180 static void __pyx_f_6purple_destroy_conversation(PurpleConversation *__pyx_v_conv) {
5181 PyObject *__pyx_1 = 0;
5182 PyObject *__pyx_2 = 0;
5183 PyObject *__pyx_3 = 0;
5186 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":52
5187 * Called just before a conv is freed.
5189 * debug.purple_debug_info("conversation", "%s", "destroy-conversation\n") # <<<<<<<<<<<<<<
5190 * if conversation_cbs.has_key("destroy-conversation"):
5191 * (<object> conversation_cbs["destroy-conversation"])("destroy-conversation: TODO")
5193 purple_debug_info(__pyx_k_169, __pyx_k_170, __pyx_k_171);
5195 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":53
5197 * debug.purple_debug_info("conversation", "%s", "destroy-conversation\n")
5198 * if conversation_cbs.has_key("destroy-conversation"): # <<<<<<<<<<<<<<
5199 * (<object> conversation_cbs["destroy-conversation"])("destroy-conversation: TODO")
5202 __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_conversation_cbs); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 53; __pyx_clineno = __LINE__; goto __pyx_L1;}
5203 __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_has_key); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 53; __pyx_clineno = __LINE__; goto __pyx_L1;}
5204 Py_DECREF(__pyx_1); __pyx_1 = 0;
5205 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 53; __pyx_clineno = __LINE__; goto __pyx_L1;}
5206 Py_INCREF(__pyx_kp_172);
5207 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_kp_172);
5208 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 53; __pyx_clineno = __LINE__; goto __pyx_L1;}
5209 Py_DECREF(__pyx_2); __pyx_2 = 0;
5210 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
5211 __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_3); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 53; __pyx_clineno = __LINE__; goto __pyx_L1;}
5212 Py_DECREF(__pyx_3); __pyx_3 = 0;
5215 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":54
5216 * debug.purple_debug_info("conversation", "%s", "destroy-conversation\n")
5217 * if conversation_cbs.has_key("destroy-conversation"):
5218 * (<object> conversation_cbs["destroy-conversation"])("destroy-conversation: TODO") # <<<<<<<<<<<<<<
5220 * cdef void write_chat(conversation.PurpleConversation *conv, const_char *who, \
5222 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_conversation_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 54; __pyx_clineno = __LINE__; goto __pyx_L1;}
5223 __pyx_1 = PyObject_GetItem(__pyx_2, __pyx_kp_173); if (!__pyx_1) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 54; __pyx_clineno = __LINE__; goto __pyx_L1;}
5224 Py_DECREF(__pyx_2); __pyx_2 = 0;
5225 __pyx_3 = PyTuple_New(1); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 54; __pyx_clineno = __LINE__; goto __pyx_L1;}
5226 Py_INCREF(__pyx_kp_174);
5227 PyTuple_SET_ITEM(__pyx_3, 0, __pyx_kp_174);
5228 __pyx_2 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_3), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 54; __pyx_clineno = __LINE__; goto __pyx_L1;}
5229 Py_DECREF(__pyx_1); __pyx_1 = 0;
5230 Py_DECREF(((PyObject *)__pyx_3)); __pyx_3 = 0;
5231 Py_DECREF(__pyx_2); __pyx_2 = 0;
5238 Py_XDECREF(__pyx_1);
5239 Py_XDECREF(__pyx_2);
5240 Py_XDECREF(__pyx_3);
5241 __Pyx_WriteUnraisable("purple.destroy_conversation");
5245 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":56
5246 * (<object> conversation_cbs["destroy-conversation"])("destroy-conversation: TODO")
5248 * cdef void write_chat(conversation.PurpleConversation *conv, const_char *who, \ # <<<<<<<<<<<<<<
5249 * const_char *message, conversation.PurpleMessageFlags flags, \
5253 static PyObject *__pyx_kp_178;
5254 static PyObject *__pyx_kp_179;
5255 static PyObject *__pyx_kp_180;
5257 static char __pyx_k_175[] = "conversation";
5258 static char __pyx_k_176[] = "%s";
5259 static char __pyx_k_177[] = "write-chat\n";
5260 static char __pyx_k_178[] = "write-chat";
5261 static char __pyx_k_179[] = "write-chat";
5262 static char __pyx_k_180[] = "write-chat: TODO";
5264 static void __pyx_f_6purple_write_chat(PurpleConversation *__pyx_v_conv, const char *__pyx_v_who, const char *__pyx_v_message, PurpleMessageFlags __pyx_v_flags, time_t __pyx_v_mtime) {
5265 PyObject *__pyx_1 = 0;
5266 PyObject *__pyx_2 = 0;
5267 PyObject *__pyx_3 = 0;
5270 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":64
5271 * @see purple_conv_chat_write()
5273 * debug.purple_debug_info("conversation", "%s", "write-chat\n") # <<<<<<<<<<<<<<
5274 * if conversation_cbs.has_key("write-chat"):
5275 * (<object> conversation_cbs["write-chat"])("write-chat: TODO")
5277 purple_debug_info(__pyx_k_175, __pyx_k_176, __pyx_k_177);
5279 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":65
5281 * debug.purple_debug_info("conversation", "%s", "write-chat\n")
5282 * if conversation_cbs.has_key("write-chat"): # <<<<<<<<<<<<<<
5283 * (<object> conversation_cbs["write-chat"])("write-chat: TODO")
5286 __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_conversation_cbs); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 65; __pyx_clineno = __LINE__; goto __pyx_L1;}
5287 __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_has_key); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 65; __pyx_clineno = __LINE__; goto __pyx_L1;}
5288 Py_DECREF(__pyx_1); __pyx_1 = 0;
5289 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 65; __pyx_clineno = __LINE__; goto __pyx_L1;}
5290 Py_INCREF(__pyx_kp_178);
5291 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_kp_178);
5292 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 65; __pyx_clineno = __LINE__; goto __pyx_L1;}
5293 Py_DECREF(__pyx_2); __pyx_2 = 0;
5294 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
5295 __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_3); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 65; __pyx_clineno = __LINE__; goto __pyx_L1;}
5296 Py_DECREF(__pyx_3); __pyx_3 = 0;
5299 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":66
5300 * debug.purple_debug_info("conversation", "%s", "write-chat\n")
5301 * if conversation_cbs.has_key("write-chat"):
5302 * (<object> conversation_cbs["write-chat"])("write-chat: TODO") # <<<<<<<<<<<<<<
5304 * cdef void write_im(conversation.PurpleConversation *conv, const_char *who, \
5306 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_conversation_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 66; __pyx_clineno = __LINE__; goto __pyx_L1;}
5307 __pyx_1 = PyObject_GetItem(__pyx_2, __pyx_kp_179); if (!__pyx_1) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 66; __pyx_clineno = __LINE__; goto __pyx_L1;}
5308 Py_DECREF(__pyx_2); __pyx_2 = 0;
5309 __pyx_3 = PyTuple_New(1); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 66; __pyx_clineno = __LINE__; goto __pyx_L1;}
5310 Py_INCREF(__pyx_kp_180);
5311 PyTuple_SET_ITEM(__pyx_3, 0, __pyx_kp_180);
5312 __pyx_2 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_3), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 66; __pyx_clineno = __LINE__; goto __pyx_L1;}
5313 Py_DECREF(__pyx_1); __pyx_1 = 0;
5314 Py_DECREF(((PyObject *)__pyx_3)); __pyx_3 = 0;
5315 Py_DECREF(__pyx_2); __pyx_2 = 0;
5322 Py_XDECREF(__pyx_1);
5323 Py_XDECREF(__pyx_2);
5324 Py_XDECREF(__pyx_3);
5325 __Pyx_WriteUnraisable("purple.write_chat");
5329 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":68
5330 * (<object> conversation_cbs["write-chat"])("write-chat: TODO")
5332 * cdef void write_im(conversation.PurpleConversation *conv, const_char *who, \ # <<<<<<<<<<<<<<
5333 * const_char *c_message, conversation.PurpleMessageFlags flags, \
5337 static char __pyx_k_185[] = "SEND";
5338 static char __pyx_k_186[] = "RECV";
5340 static PyObject *__pyx_kp_185;
5341 static PyObject *__pyx_kp_186;
5343 static PyObject *__pyx_kp_184;
5344 static PyObject *__pyx_kp_187;
5345 static PyObject *__pyx_kp_188;
5347 static char __pyx_k_181[] = "conversation";
5348 static char __pyx_k_182[] = "%s";
5349 static char __pyx_k_183[] = "write-im\n";
5350 static char __pyx_k_184[] = "utf-8";
5351 static char __pyx_k_187[] = "write-im";
5352 static char __pyx_k_188[] = "write-im";
5354 static void __pyx_f_6purple_write_im(PurpleConversation *__pyx_v_conv, const char *__pyx_v_who, const char *__pyx_v_c_message, PurpleMessageFlags __pyx_v_flags, time_t __pyx_v_mtime) {
5355 PurpleAccount *__pyx_v_acc;
5356 PurpleBuddy *__pyx_v_buddy;
5357 char *__pyx_v_c_username;
5358 char *__pyx_v_c_sender_alias;
5359 PyObject *__pyx_v_username;
5360 PyObject *__pyx_v_sender;
5361 PyObject *__pyx_v_sender_alias;
5362 PyObject *__pyx_v_message;
5363 PyObject *__pyx_v_flag;
5365 PyObject *__pyx_2 = 0;
5366 PyObject *__pyx_3 = 0;
5368 PyObject *__pyx_5 = 0;
5369 __pyx_v_username = Py_None; Py_INCREF(Py_None);
5370 __pyx_v_sender = Py_None; Py_INCREF(Py_None);
5371 __pyx_v_sender_alias = Py_None; Py_INCREF(Py_None);
5372 __pyx_v_message = Py_None; Py_INCREF(Py_None);
5373 __pyx_v_flag = Py_None; Py_INCREF(Py_None);
5375 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":76
5376 * @see purple_conv_im_write()
5378 * debug.purple_debug_info("conversation", "%s", "write-im\n") # <<<<<<<<<<<<<<
5379 * cdef account.PurpleAccount *acc = conversation.purple_conversation_get_account(conv)
5380 * cdef blist.PurpleBuddy *buddy = NULL
5382 purple_debug_info(__pyx_k_181, __pyx_k_182, __pyx_k_183);
5384 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":77
5386 * debug.purple_debug_info("conversation", "%s", "write-im\n")
5387 * cdef account.PurpleAccount *acc = conversation.purple_conversation_get_account(conv) # <<<<<<<<<<<<<<
5388 * cdef blist.PurpleBuddy *buddy = NULL
5389 * cdef char *c_username = NULL
5391 __pyx_v_acc = purple_conversation_get_account(__pyx_v_conv);
5394 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":78
5395 * debug.purple_debug_info("conversation", "%s", "write-im\n")
5396 * cdef account.PurpleAccount *acc = conversation.purple_conversation_get_account(conv)
5397 * cdef blist.PurpleBuddy *buddy = NULL # <<<<<<<<<<<<<<
5398 * cdef char *c_username = NULL
5399 * cdef char *c_sender_alias = NULL
5401 __pyx_v_buddy = NULL;
5404 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":79
5405 * cdef account.PurpleAccount *acc = conversation.purple_conversation_get_account(conv)
5406 * cdef blist.PurpleBuddy *buddy = NULL
5407 * cdef char *c_username = NULL # <<<<<<<<<<<<<<
5408 * cdef char *c_sender_alias = NULL
5411 __pyx_v_c_username = NULL;
5414 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":80
5415 * cdef blist.PurpleBuddy *buddy = NULL
5416 * cdef char *c_username = NULL
5417 * cdef char *c_sender_alias = NULL # <<<<<<<<<<<<<<
5419 * c_username = <char *> account.purple_account_get_username(acc)
5421 __pyx_v_c_sender_alias = NULL;
5424 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":82
5425 * cdef char *c_sender_alias = NULL
5427 * c_username = <char *> account.purple_account_get_username(acc) # <<<<<<<<<<<<<<
5429 * username = c_username
5431 __pyx_v_c_username = ((char *)purple_account_get_username(__pyx_v_acc));
5433 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":83
5435 * c_username = <char *> account.purple_account_get_username(acc)
5436 * if c_username: # <<<<<<<<<<<<<<
5437 * username = c_username
5440 __pyx_1 = (__pyx_v_c_username != 0);
5443 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":84
5444 * c_username = <char *> account.purple_account_get_username(acc)
5446 * username = c_username # <<<<<<<<<<<<<<
5450 __pyx_2 = __Pyx_PyBytes_FromString(__pyx_v_c_username); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 84; __pyx_clineno = __LINE__; goto __pyx_L1;}
5451 Py_DECREF(__pyx_v_username);
5452 __pyx_v_username = __pyx_2;
5458 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":86
5459 * username = c_username
5461 * username = None # <<<<<<<<<<<<<<
5466 Py_DECREF(__pyx_v_username);
5467 __pyx_v_username = Py_None;
5471 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":88
5474 * if who == NULL: # <<<<<<<<<<<<<<
5475 * who = conversation.purple_conversation_get_name(conv)
5478 __pyx_1 = (__pyx_v_who == NULL);
5481 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":89
5484 * who = conversation.purple_conversation_get_name(conv) # <<<<<<<<<<<<<<
5486 * sender = <char *> who
5488 __pyx_v_who = purple_conversation_get_name(__pyx_v_conv);
5493 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":91
5494 * who = conversation.purple_conversation_get_name(conv)
5496 * sender = <char *> who # <<<<<<<<<<<<<<
5497 * buddy = blist.purple_find_buddy(acc, <char *> who)
5500 __pyx_2 = __Pyx_PyBytes_FromString(((char *)__pyx_v_who)); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 91; __pyx_clineno = __LINE__; goto __pyx_L1;}
5501 Py_DECREF(__pyx_v_sender);
5502 __pyx_v_sender = __pyx_2;
5505 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":92
5507 * sender = <char *> who
5508 * buddy = blist.purple_find_buddy(acc, <char *> who) # <<<<<<<<<<<<<<
5510 * c_sender_alias = <char *> blist.purple_buddy_get_alias_only(buddy)
5512 __pyx_v_buddy = purple_find_buddy(__pyx_v_acc, ((char *)__pyx_v_who));
5514 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":93
5515 * sender = <char *> who
5516 * buddy = blist.purple_find_buddy(acc, <char *> who)
5517 * if buddy: # <<<<<<<<<<<<<<
5518 * c_sender_alias = <char *> blist.purple_buddy_get_alias_only(buddy)
5521 __pyx_1 = (__pyx_v_buddy != 0);
5524 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":94
5525 * buddy = blist.purple_find_buddy(acc, <char *> who)
5527 * c_sender_alias = <char *> blist.purple_buddy_get_alias_only(buddy) # <<<<<<<<<<<<<<
5529 * if c_sender_alias:
5531 __pyx_v_c_sender_alias = ((char *)purple_buddy_get_alias_only(__pyx_v_buddy));
5536 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":96
5537 * c_sender_alias = <char *> blist.purple_buddy_get_alias_only(buddy)
5539 * if c_sender_alias: # <<<<<<<<<<<<<<
5540 * sender_alias = unicode(c_sender_alias, 'utf-8')
5543 __pyx_1 = (__pyx_v_c_sender_alias != 0);
5546 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":97
5548 * if c_sender_alias:
5549 * sender_alias = unicode(c_sender_alias, 'utf-8') # <<<<<<<<<<<<<<
5551 * sender_alias = None
5553 __pyx_2 = __Pyx_PyBytes_FromString(__pyx_v_c_sender_alias); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 97; __pyx_clineno = __LINE__; goto __pyx_L1;}
5554 __pyx_3 = PyTuple_New(2); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 97; __pyx_clineno = __LINE__; goto __pyx_L1;}
5555 PyTuple_SET_ITEM(__pyx_3, 0, __pyx_2);
5556 Py_INCREF(__pyx_kp_184);
5557 PyTuple_SET_ITEM(__pyx_3, 1, __pyx_kp_184);
5559 __pyx_2 = PyObject_Call(((PyObject*)&PyUnicode_Type), ((PyObject *)__pyx_3), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 97; __pyx_clineno = __LINE__; goto __pyx_L1;}
5560 Py_DECREF(((PyObject *)__pyx_3)); __pyx_3 = 0;
5561 Py_DECREF(__pyx_v_sender_alias);
5562 __pyx_v_sender_alias = __pyx_2;
5568 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":99
5569 * sender_alias = unicode(c_sender_alias, 'utf-8')
5571 * sender_alias = None # <<<<<<<<<<<<<<
5576 Py_DECREF(__pyx_v_sender_alias);
5577 __pyx_v_sender_alias = Py_None;
5581 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":101
5582 * sender_alias = None
5584 * if c_message: # <<<<<<<<<<<<<<
5585 * message = <char *> c_message
5588 __pyx_1 = (__pyx_v_c_message != 0);
5591 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":102
5594 * message = <char *> c_message # <<<<<<<<<<<<<<
5598 __pyx_3 = __Pyx_PyBytes_FromString(((char *)__pyx_v_c_message)); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 102; __pyx_clineno = __LINE__; goto __pyx_L1;}
5599 Py_DECREF(__pyx_v_message);
5600 __pyx_v_message = __pyx_3;
5606 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":104
5607 * message = <char *> c_message
5609 * message = None # <<<<<<<<<<<<<<
5611 * # FIXME: Maybe we need add more purple flags in the future
5614 Py_DECREF(__pyx_v_message);
5615 __pyx_v_message = Py_None;
5619 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":107
5621 * # FIXME: Maybe we need add more purple flags in the future
5622 * if flags & conversation.PURPLE_MESSAGE_SEND: # <<<<<<<<<<<<<<
5626 __pyx_4 = (__pyx_v_flags & PURPLE_MESSAGE_SEND);
5629 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":108
5630 * # FIXME: Maybe we need add more purple flags in the future
5631 * if flags & conversation.PURPLE_MESSAGE_SEND:
5632 * flag = "SEND" # <<<<<<<<<<<<<<
5636 Py_INCREF(__pyx_kp_185);
5637 Py_DECREF(__pyx_v_flag);
5638 __pyx_v_flag = __pyx_kp_185;
5643 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":110
5646 * flag = "RECV" # <<<<<<<<<<<<<<
5648 * if conversation_cbs.has_key("write-im"):
5650 Py_INCREF(__pyx_kp_186);
5651 Py_DECREF(__pyx_v_flag);
5652 __pyx_v_flag = __pyx_kp_186;
5656 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":112
5659 * if conversation_cbs.has_key("write-im"): # <<<<<<<<<<<<<<
5660 * (<object> conversation_cbs["write-im"])(username, sender, \
5661 * sender_alias, message, flag)
5663 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_conversation_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 112; __pyx_clineno = __LINE__; goto __pyx_L1;}
5664 __pyx_3 = PyObject_GetAttr(__pyx_2, __pyx_kp_has_key); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 112; __pyx_clineno = __LINE__; goto __pyx_L1;}
5665 Py_DECREF(__pyx_2); __pyx_2 = 0;
5666 __pyx_2 = PyTuple_New(1); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 112; __pyx_clineno = __LINE__; goto __pyx_L1;}
5667 Py_INCREF(__pyx_kp_187);
5668 PyTuple_SET_ITEM(__pyx_2, 0, __pyx_kp_187);
5669 __pyx_5 = PyObject_Call(__pyx_3, ((PyObject *)__pyx_2), NULL); if (unlikely(!__pyx_5)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 112; __pyx_clineno = __LINE__; goto __pyx_L1;}
5670 Py_DECREF(__pyx_3); __pyx_3 = 0;
5671 Py_DECREF(((PyObject *)__pyx_2)); __pyx_2 = 0;
5672 __pyx_1 = __Pyx_PyObject_IsTrue(__pyx_5); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 112; __pyx_clineno = __LINE__; goto __pyx_L1;}
5673 Py_DECREF(__pyx_5); __pyx_5 = 0;
5676 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":113
5678 * if conversation_cbs.has_key("write-im"):
5679 * (<object> conversation_cbs["write-im"])(username, sender, \ # <<<<<<<<<<<<<<
5680 * sender_alias, message, flag)
5683 __pyx_3 = __Pyx_GetName(__pyx_m, __pyx_kp_conversation_cbs); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 113; __pyx_clineno = __LINE__; goto __pyx_L1;}
5684 __pyx_2 = PyObject_GetItem(__pyx_3, __pyx_kp_188); if (!__pyx_2) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 113; __pyx_clineno = __LINE__; goto __pyx_L1;}
5685 Py_DECREF(__pyx_3); __pyx_3 = 0;
5687 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":114
5688 * if conversation_cbs.has_key("write-im"):
5689 * (<object> conversation_cbs["write-im"])(username, sender, \
5690 * sender_alias, message, flag) # <<<<<<<<<<<<<<
5692 * cdef void write_conv(conversation.PurpleConversation *conv, const_char *name, \
5694 __pyx_5 = PyTuple_New(5); if (unlikely(!__pyx_5)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 113; __pyx_clineno = __LINE__; goto __pyx_L1;}
5695 Py_INCREF(__pyx_v_username);
5696 PyTuple_SET_ITEM(__pyx_5, 0, __pyx_v_username);
5697 Py_INCREF(__pyx_v_sender);
5698 PyTuple_SET_ITEM(__pyx_5, 1, __pyx_v_sender);
5699 Py_INCREF(__pyx_v_sender_alias);
5700 PyTuple_SET_ITEM(__pyx_5, 2, __pyx_v_sender_alias);
5701 Py_INCREF(__pyx_v_message);
5702 PyTuple_SET_ITEM(__pyx_5, 3, __pyx_v_message);
5703 Py_INCREF(__pyx_v_flag);
5704 PyTuple_SET_ITEM(__pyx_5, 4, __pyx_v_flag);
5705 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_5), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 113; __pyx_clineno = __LINE__; goto __pyx_L1;}
5706 Py_DECREF(__pyx_2); __pyx_2 = 0;
5707 Py_DECREF(((PyObject *)__pyx_5)); __pyx_5 = 0;
5708 Py_DECREF(__pyx_3); __pyx_3 = 0;
5715 Py_XDECREF(__pyx_2);
5716 Py_XDECREF(__pyx_3);
5717 Py_XDECREF(__pyx_5);
5718 __Pyx_WriteUnraisable("purple.write_im");
5720 Py_DECREF(__pyx_v_username);
5721 Py_DECREF(__pyx_v_sender);
5722 Py_DECREF(__pyx_v_sender_alias);
5723 Py_DECREF(__pyx_v_message);
5724 Py_DECREF(__pyx_v_flag);
5727 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":116
5728 * sender_alias, message, flag)
5730 * cdef void write_conv(conversation.PurpleConversation *conv, const_char *name, \ # <<<<<<<<<<<<<<
5731 * const_char *alias, const_char *message, \
5732 * conversation.PurpleMessageFlags flags, time_t mtime):
5735 static PyObject *__pyx_kp_192;
5736 static PyObject *__pyx_kp_193;
5737 static PyObject *__pyx_kp_194;
5739 static char __pyx_k_189[] = "conversation";
5740 static char __pyx_k_190[] = "%s";
5741 static char __pyx_k_191[] = "write-conv\n";
5742 static char __pyx_k_192[] = "write-conv";
5743 static char __pyx_k_193[] = "write-conv";
5744 static char __pyx_k_194[] = "write-conv: TODO";
5746 static void __pyx_f_6purple_write_conv(PurpleConversation *__pyx_v_conv, const char *__pyx_v_name, const char *__pyx_v_alias, const char *__pyx_v_message, PurpleMessageFlags __pyx_v_flags, time_t __pyx_v_mtime) {
5747 PyObject *__pyx_1 = 0;
5748 PyObject *__pyx_2 = 0;
5749 PyObject *__pyx_3 = 0;
5752 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":127
5753 * @see purple_conversation_write()
5755 * debug.purple_debug_info("conversation", "%s", "write-conv\n") # <<<<<<<<<<<<<<
5756 * if conversation_cbs.has_key("write-conv"):
5757 * (<object> conversation_cbs["write-conv"])("write-conv: TODO")
5759 purple_debug_info(__pyx_k_189, __pyx_k_190, __pyx_k_191);
5761 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":128
5763 * debug.purple_debug_info("conversation", "%s", "write-conv\n")
5764 * if conversation_cbs.has_key("write-conv"): # <<<<<<<<<<<<<<
5765 * (<object> conversation_cbs["write-conv"])("write-conv: TODO")
5768 __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_conversation_cbs); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 128; __pyx_clineno = __LINE__; goto __pyx_L1;}
5769 __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_has_key); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 128; __pyx_clineno = __LINE__; goto __pyx_L1;}
5770 Py_DECREF(__pyx_1); __pyx_1 = 0;
5771 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 128; __pyx_clineno = __LINE__; goto __pyx_L1;}
5772 Py_INCREF(__pyx_kp_192);
5773 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_kp_192);
5774 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 128; __pyx_clineno = __LINE__; goto __pyx_L1;}
5775 Py_DECREF(__pyx_2); __pyx_2 = 0;
5776 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
5777 __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_3); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 128; __pyx_clineno = __LINE__; goto __pyx_L1;}
5778 Py_DECREF(__pyx_3); __pyx_3 = 0;
5781 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":129
5782 * debug.purple_debug_info("conversation", "%s", "write-conv\n")
5783 * if conversation_cbs.has_key("write-conv"):
5784 * (<object> conversation_cbs["write-conv"])("write-conv: TODO") # <<<<<<<<<<<<<<
5786 * cdef void chat_add_users(conversation.PurpleConversation *conv, \
5788 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_conversation_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 129; __pyx_clineno = __LINE__; goto __pyx_L1;}
5789 __pyx_1 = PyObject_GetItem(__pyx_2, __pyx_kp_193); if (!__pyx_1) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 129; __pyx_clineno = __LINE__; goto __pyx_L1;}
5790 Py_DECREF(__pyx_2); __pyx_2 = 0;
5791 __pyx_3 = PyTuple_New(1); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 129; __pyx_clineno = __LINE__; goto __pyx_L1;}
5792 Py_INCREF(__pyx_kp_194);
5793 PyTuple_SET_ITEM(__pyx_3, 0, __pyx_kp_194);
5794 __pyx_2 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_3), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 129; __pyx_clineno = __LINE__; goto __pyx_L1;}
5795 Py_DECREF(__pyx_1); __pyx_1 = 0;
5796 Py_DECREF(((PyObject *)__pyx_3)); __pyx_3 = 0;
5797 Py_DECREF(__pyx_2); __pyx_2 = 0;
5804 Py_XDECREF(__pyx_1);
5805 Py_XDECREF(__pyx_2);
5806 Py_XDECREF(__pyx_3);
5807 __Pyx_WriteUnraisable("purple.write_conv");
5811 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":131
5812 * (<object> conversation_cbs["write-conv"])("write-conv: TODO")
5814 * cdef void chat_add_users(conversation.PurpleConversation *conv, \ # <<<<<<<<<<<<<<
5815 * glib.GList *cbuddies, glib.gboolean new_arrivals):
5819 static PyObject *__pyx_kp_198;
5820 static PyObject *__pyx_kp_199;
5821 static PyObject *__pyx_kp_200;
5823 static char __pyx_k_195[] = "conversation";
5824 static char __pyx_k_196[] = "%s";
5825 static char __pyx_k_197[] = "chat-add-users\n";
5826 static char __pyx_k_198[] = "chat-add-users";
5827 static char __pyx_k_199[] = "chat-add-users";
5828 static char __pyx_k_200[] = "chat-add-users: TODO";
5830 static void __pyx_f_6purple_chat_add_users(PurpleConversation *__pyx_v_conv, GList *__pyx_v_cbuddies, gboolean __pyx_v_new_arrivals) {
5831 PyObject *__pyx_1 = 0;
5832 PyObject *__pyx_2 = 0;
5833 PyObject *__pyx_3 = 0;
5836 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":141
5837 * @see purple_conv_chat_add_users()
5839 * debug.purple_debug_info("conversation", "%s", "chat-add-users\n") # <<<<<<<<<<<<<<
5840 * if conversation_cbs.has_key("chat-add-users"):
5841 * (<object> conversation_cbs["chat-add-users"])("chat-add-users: TODO")
5843 purple_debug_info(__pyx_k_195, __pyx_k_196, __pyx_k_197);
5845 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":142
5847 * debug.purple_debug_info("conversation", "%s", "chat-add-users\n")
5848 * if conversation_cbs.has_key("chat-add-users"): # <<<<<<<<<<<<<<
5849 * (<object> conversation_cbs["chat-add-users"])("chat-add-users: TODO")
5852 __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_conversation_cbs); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 142; __pyx_clineno = __LINE__; goto __pyx_L1;}
5853 __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_has_key); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 142; __pyx_clineno = __LINE__; goto __pyx_L1;}
5854 Py_DECREF(__pyx_1); __pyx_1 = 0;
5855 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 142; __pyx_clineno = __LINE__; goto __pyx_L1;}
5856 Py_INCREF(__pyx_kp_198);
5857 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_kp_198);
5858 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 142; __pyx_clineno = __LINE__; goto __pyx_L1;}
5859 Py_DECREF(__pyx_2); __pyx_2 = 0;
5860 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
5861 __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_3); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 142; __pyx_clineno = __LINE__; goto __pyx_L1;}
5862 Py_DECREF(__pyx_3); __pyx_3 = 0;
5865 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":143
5866 * debug.purple_debug_info("conversation", "%s", "chat-add-users\n")
5867 * if conversation_cbs.has_key("chat-add-users"):
5868 * (<object> conversation_cbs["chat-add-users"])("chat-add-users: TODO") # <<<<<<<<<<<<<<
5870 * cdef void chat_rename_user(conversation.PurpleConversation *conv, \
5872 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_conversation_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 143; __pyx_clineno = __LINE__; goto __pyx_L1;}
5873 __pyx_1 = PyObject_GetItem(__pyx_2, __pyx_kp_199); if (!__pyx_1) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 143; __pyx_clineno = __LINE__; goto __pyx_L1;}
5874 Py_DECREF(__pyx_2); __pyx_2 = 0;
5875 __pyx_3 = PyTuple_New(1); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 143; __pyx_clineno = __LINE__; goto __pyx_L1;}
5876 Py_INCREF(__pyx_kp_200);
5877 PyTuple_SET_ITEM(__pyx_3, 0, __pyx_kp_200);
5878 __pyx_2 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_3), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 143; __pyx_clineno = __LINE__; goto __pyx_L1;}
5879 Py_DECREF(__pyx_1); __pyx_1 = 0;
5880 Py_DECREF(((PyObject *)__pyx_3)); __pyx_3 = 0;
5881 Py_DECREF(__pyx_2); __pyx_2 = 0;
5888 Py_XDECREF(__pyx_1);
5889 Py_XDECREF(__pyx_2);
5890 Py_XDECREF(__pyx_3);
5891 __Pyx_WriteUnraisable("purple.chat_add_users");
5895 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":145
5896 * (<object> conversation_cbs["chat-add-users"])("chat-add-users: TODO")
5898 * cdef void chat_rename_user(conversation.PurpleConversation *conv, \ # <<<<<<<<<<<<<<
5899 * const_char *old_name, const_char *new_name,
5900 * const_char *new_alias):
5903 static PyObject *__pyx_kp_204;
5904 static PyObject *__pyx_kp_205;
5905 static PyObject *__pyx_kp_206;
5907 static char __pyx_k_201[] = "conversation";
5908 static char __pyx_k_202[] = "%s";
5909 static char __pyx_k_203[] = "chat-rename-user\n";
5910 static char __pyx_k_204[] = "chat-rename-user";
5911 static char __pyx_k_205[] = "chat-rename-user";
5912 static char __pyx_k_206[] = "chat-rename-user: TODO";
5914 static void __pyx_f_6purple_chat_rename_user(PurpleConversation *__pyx_v_conv, const char *__pyx_v_old_name, const char *__pyx_v_new_name, const char *__pyx_v_new_alias) {
5915 PyObject *__pyx_1 = 0;
5916 PyObject *__pyx_2 = 0;
5917 PyObject *__pyx_3 = 0;
5920 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":154
5921 * @see purple_conv_chat_rename_user()
5923 * debug.purple_debug_info("conversation", "%s", "chat-rename-user\n") # <<<<<<<<<<<<<<
5924 * if conversation_cbs.has_key("chat-rename-user"):
5925 * (<object> conversation_cbs["chat-rename-user"])("chat-rename-user: TODO")
5927 purple_debug_info(__pyx_k_201, __pyx_k_202, __pyx_k_203);
5929 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":155
5931 * debug.purple_debug_info("conversation", "%s", "chat-rename-user\n")
5932 * if conversation_cbs.has_key("chat-rename-user"): # <<<<<<<<<<<<<<
5933 * (<object> conversation_cbs["chat-rename-user"])("chat-rename-user: TODO")
5936 __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_conversation_cbs); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 155; __pyx_clineno = __LINE__; goto __pyx_L1;}
5937 __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_has_key); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 155; __pyx_clineno = __LINE__; goto __pyx_L1;}
5938 Py_DECREF(__pyx_1); __pyx_1 = 0;
5939 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 155; __pyx_clineno = __LINE__; goto __pyx_L1;}
5940 Py_INCREF(__pyx_kp_204);
5941 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_kp_204);
5942 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 155; __pyx_clineno = __LINE__; goto __pyx_L1;}
5943 Py_DECREF(__pyx_2); __pyx_2 = 0;
5944 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
5945 __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_3); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 155; __pyx_clineno = __LINE__; goto __pyx_L1;}
5946 Py_DECREF(__pyx_3); __pyx_3 = 0;
5949 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":156
5950 * debug.purple_debug_info("conversation", "%s", "chat-rename-user\n")
5951 * if conversation_cbs.has_key("chat-rename-user"):
5952 * (<object> conversation_cbs["chat-rename-user"])("chat-rename-user: TODO") # <<<<<<<<<<<<<<
5954 * cdef void chat_remove_users(conversation.PurpleConversation *conv, \
5956 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_conversation_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 156; __pyx_clineno = __LINE__; goto __pyx_L1;}
5957 __pyx_1 = PyObject_GetItem(__pyx_2, __pyx_kp_205); if (!__pyx_1) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 156; __pyx_clineno = __LINE__; goto __pyx_L1;}
5958 Py_DECREF(__pyx_2); __pyx_2 = 0;
5959 __pyx_3 = PyTuple_New(1); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 156; __pyx_clineno = __LINE__; goto __pyx_L1;}
5960 Py_INCREF(__pyx_kp_206);
5961 PyTuple_SET_ITEM(__pyx_3, 0, __pyx_kp_206);
5962 __pyx_2 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_3), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 156; __pyx_clineno = __LINE__; goto __pyx_L1;}
5963 Py_DECREF(__pyx_1); __pyx_1 = 0;
5964 Py_DECREF(((PyObject *)__pyx_3)); __pyx_3 = 0;
5965 Py_DECREF(__pyx_2); __pyx_2 = 0;
5972 Py_XDECREF(__pyx_1);
5973 Py_XDECREF(__pyx_2);
5974 Py_XDECREF(__pyx_3);
5975 __Pyx_WriteUnraisable("purple.chat_rename_user");
5979 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":158
5980 * (<object> conversation_cbs["chat-rename-user"])("chat-rename-user: TODO")
5982 * cdef void chat_remove_users(conversation.PurpleConversation *conv, \ # <<<<<<<<<<<<<<
5983 * glib.GList *users):
5987 static PyObject *__pyx_kp_210;
5988 static PyObject *__pyx_kp_211;
5989 static PyObject *__pyx_kp_212;
5991 static char __pyx_k_207[] = "conversation";
5992 static char __pyx_k_208[] = "%s";
5993 static char __pyx_k_209[] = "chat-remove-users\n";
5994 static char __pyx_k_210[] = "chat-remove-users";
5995 static char __pyx_k_211[] = "chat-remove-users";
5996 static char __pyx_k_212[] = "chat-remove-users: TODO";
5998 static void __pyx_f_6purple_chat_remove_users(PurpleConversation *__pyx_v_conv, GList *__pyx_v_users) {
5999 PyObject *__pyx_1 = 0;
6000 PyObject *__pyx_2 = 0;
6001 PyObject *__pyx_3 = 0;
6004 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":164
6005 * @param users A GList of const char *s.
6007 * debug.purple_debug_info("conversation", "%s", "chat-remove-users\n") # <<<<<<<<<<<<<<
6008 * if conversation_cbs.has_key("chat-remove-users"):
6009 * (<object> conversation_cbs["chat-remove-users"])("chat-remove-users: TODO")
6011 purple_debug_info(__pyx_k_207, __pyx_k_208, __pyx_k_209);
6013 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":165
6015 * debug.purple_debug_info("conversation", "%s", "chat-remove-users\n")
6016 * if conversation_cbs.has_key("chat-remove-users"): # <<<<<<<<<<<<<<
6017 * (<object> conversation_cbs["chat-remove-users"])("chat-remove-users: TODO")
6020 __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_conversation_cbs); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 165; __pyx_clineno = __LINE__; goto __pyx_L1;}
6021 __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_has_key); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 165; __pyx_clineno = __LINE__; goto __pyx_L1;}
6022 Py_DECREF(__pyx_1); __pyx_1 = 0;
6023 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 165; __pyx_clineno = __LINE__; goto __pyx_L1;}
6024 Py_INCREF(__pyx_kp_210);
6025 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_kp_210);
6026 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 165; __pyx_clineno = __LINE__; goto __pyx_L1;}
6027 Py_DECREF(__pyx_2); __pyx_2 = 0;
6028 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
6029 __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_3); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 165; __pyx_clineno = __LINE__; goto __pyx_L1;}
6030 Py_DECREF(__pyx_3); __pyx_3 = 0;
6033 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":166
6034 * debug.purple_debug_info("conversation", "%s", "chat-remove-users\n")
6035 * if conversation_cbs.has_key("chat-remove-users"):
6036 * (<object> conversation_cbs["chat-remove-users"])("chat-remove-users: TODO") # <<<<<<<<<<<<<<
6038 * cdef void chat_update_user(conversation.PurpleConversation *conv, \
6040 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_conversation_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 166; __pyx_clineno = __LINE__; goto __pyx_L1;}
6041 __pyx_1 = PyObject_GetItem(__pyx_2, __pyx_kp_211); if (!__pyx_1) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 166; __pyx_clineno = __LINE__; goto __pyx_L1;}
6042 Py_DECREF(__pyx_2); __pyx_2 = 0;
6043 __pyx_3 = PyTuple_New(1); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 166; __pyx_clineno = __LINE__; goto __pyx_L1;}
6044 Py_INCREF(__pyx_kp_212);
6045 PyTuple_SET_ITEM(__pyx_3, 0, __pyx_kp_212);
6046 __pyx_2 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_3), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 166; __pyx_clineno = __LINE__; goto __pyx_L1;}
6047 Py_DECREF(__pyx_1); __pyx_1 = 0;
6048 Py_DECREF(((PyObject *)__pyx_3)); __pyx_3 = 0;
6049 Py_DECREF(__pyx_2); __pyx_2 = 0;
6056 Py_XDECREF(__pyx_1);
6057 Py_XDECREF(__pyx_2);
6058 Py_XDECREF(__pyx_3);
6059 __Pyx_WriteUnraisable("purple.chat_remove_users");
6063 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":168
6064 * (<object> conversation_cbs["chat-remove-users"])("chat-remove-users: TODO")
6066 * cdef void chat_update_user(conversation.PurpleConversation *conv, \ # <<<<<<<<<<<<<<
6067 * const_char *user):
6071 static PyObject *__pyx_kp_216;
6072 static PyObject *__pyx_kp_217;
6073 static PyObject *__pyx_kp_218;
6075 static char __pyx_k_213[] = "conversation";
6076 static char __pyx_k_214[] = "%s";
6077 static char __pyx_k_215[] = "chat-update-user\n";
6078 static char __pyx_k_216[] = "chat-update-user";
6079 static char __pyx_k_217[] = "chat-update-user";
6080 static char __pyx_k_218[] = "chat-update-user: TODO";
6082 static void __pyx_f_6purple_chat_update_user(PurpleConversation *__pyx_v_conv, const char *__pyx_v_user) {
6083 PyObject *__pyx_1 = 0;
6084 PyObject *__pyx_2 = 0;
6085 PyObject *__pyx_3 = 0;
6088 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":174
6089 * @see purple_conv_chat_user_set_flags()
6091 * debug.purple_debug_info("conversation", "%s", "chat-update-user\n") # <<<<<<<<<<<<<<
6092 * if conversation_cbs.has_key("chat-update-user"):
6093 * (<object> conversation_cbs["chat-update-user"])("chat-update-user: TODO")
6095 purple_debug_info(__pyx_k_213, __pyx_k_214, __pyx_k_215);
6097 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":175
6099 * debug.purple_debug_info("conversation", "%s", "chat-update-user\n")
6100 * if conversation_cbs.has_key("chat-update-user"): # <<<<<<<<<<<<<<
6101 * (<object> conversation_cbs["chat-update-user"])("chat-update-user: TODO")
6104 __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_conversation_cbs); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 175; __pyx_clineno = __LINE__; goto __pyx_L1;}
6105 __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_has_key); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 175; __pyx_clineno = __LINE__; goto __pyx_L1;}
6106 Py_DECREF(__pyx_1); __pyx_1 = 0;
6107 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 175; __pyx_clineno = __LINE__; goto __pyx_L1;}
6108 Py_INCREF(__pyx_kp_216);
6109 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_kp_216);
6110 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 175; __pyx_clineno = __LINE__; goto __pyx_L1;}
6111 Py_DECREF(__pyx_2); __pyx_2 = 0;
6112 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
6113 __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_3); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 175; __pyx_clineno = __LINE__; goto __pyx_L1;}
6114 Py_DECREF(__pyx_3); __pyx_3 = 0;
6117 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":176
6118 * debug.purple_debug_info("conversation", "%s", "chat-update-user\n")
6119 * if conversation_cbs.has_key("chat-update-user"):
6120 * (<object> conversation_cbs["chat-update-user"])("chat-update-user: TODO") # <<<<<<<<<<<<<<
6122 * cdef void present(conversation.PurpleConversation *conv):
6124 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_conversation_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 176; __pyx_clineno = __LINE__; goto __pyx_L1;}
6125 __pyx_1 = PyObject_GetItem(__pyx_2, __pyx_kp_217); if (!__pyx_1) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 176; __pyx_clineno = __LINE__; goto __pyx_L1;}
6126 Py_DECREF(__pyx_2); __pyx_2 = 0;
6127 __pyx_3 = PyTuple_New(1); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 176; __pyx_clineno = __LINE__; goto __pyx_L1;}
6128 Py_INCREF(__pyx_kp_218);
6129 PyTuple_SET_ITEM(__pyx_3, 0, __pyx_kp_218);
6130 __pyx_2 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_3), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 176; __pyx_clineno = __LINE__; goto __pyx_L1;}
6131 Py_DECREF(__pyx_1); __pyx_1 = 0;
6132 Py_DECREF(((PyObject *)__pyx_3)); __pyx_3 = 0;
6133 Py_DECREF(__pyx_2); __pyx_2 = 0;
6140 Py_XDECREF(__pyx_1);
6141 Py_XDECREF(__pyx_2);
6142 Py_XDECREF(__pyx_3);
6143 __Pyx_WriteUnraisable("purple.chat_update_user");
6147 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":178
6148 * (<object> conversation_cbs["chat-update-user"])("chat-update-user: TODO")
6150 * cdef void present(conversation.PurpleConversation *conv): # <<<<<<<<<<<<<<
6152 * Present this conversation to the user; for example, by displaying the IM
6155 static char __pyx_k_222[] = "present";
6156 static char __pyx_k_223[] = "present";
6158 static PyObject *__pyx_kp_222;
6159 static PyObject *__pyx_kp_223;
6161 static PyObject *__pyx_kp_224;
6163 static char __pyx_k_219[] = "conversation";
6164 static char __pyx_k_220[] = "%s";
6165 static char __pyx_k_221[] = "present\n";
6166 static char __pyx_k_224[] = "present: TODO";
6168 static void __pyx_f_6purple_present(PurpleConversation *__pyx_v_conv) {
6169 PyObject *__pyx_1 = 0;
6170 PyObject *__pyx_2 = 0;
6171 PyObject *__pyx_3 = 0;
6174 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":183
6177 * debug.purple_debug_info("conversation", "%s", "present\n") # <<<<<<<<<<<<<<
6178 * if conversation_cbs.has_key("present"):
6179 * (<object> conversation_cbs["present"])("present: TODO")
6181 purple_debug_info(__pyx_k_219, __pyx_k_220, __pyx_k_221);
6183 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":184
6185 * debug.purple_debug_info("conversation", "%s", "present\n")
6186 * if conversation_cbs.has_key("present"): # <<<<<<<<<<<<<<
6187 * (<object> conversation_cbs["present"])("present: TODO")
6190 __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_conversation_cbs); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 184; __pyx_clineno = __LINE__; goto __pyx_L1;}
6191 __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_has_key); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 184; __pyx_clineno = __LINE__; goto __pyx_L1;}
6192 Py_DECREF(__pyx_1); __pyx_1 = 0;
6193 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 184; __pyx_clineno = __LINE__; goto __pyx_L1;}
6194 Py_INCREF(__pyx_kp_222);
6195 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_kp_222);
6196 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 184; __pyx_clineno = __LINE__; goto __pyx_L1;}
6197 Py_DECREF(__pyx_2); __pyx_2 = 0;
6198 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
6199 __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_3); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 184; __pyx_clineno = __LINE__; goto __pyx_L1;}
6200 Py_DECREF(__pyx_3); __pyx_3 = 0;
6203 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":185
6204 * debug.purple_debug_info("conversation", "%s", "present\n")
6205 * if conversation_cbs.has_key("present"):
6206 * (<object> conversation_cbs["present"])("present: TODO") # <<<<<<<<<<<<<<
6208 * cdef glib.gboolean has_focus(conversation.PurpleConversation *conv):
6210 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_conversation_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 185; __pyx_clineno = __LINE__; goto __pyx_L1;}
6211 __pyx_1 = PyObject_GetItem(__pyx_2, __pyx_kp_223); if (!__pyx_1) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 185; __pyx_clineno = __LINE__; goto __pyx_L1;}
6212 Py_DECREF(__pyx_2); __pyx_2 = 0;
6213 __pyx_3 = PyTuple_New(1); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 185; __pyx_clineno = __LINE__; goto __pyx_L1;}
6214 Py_INCREF(__pyx_kp_224);
6215 PyTuple_SET_ITEM(__pyx_3, 0, __pyx_kp_224);
6216 __pyx_2 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_3), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 185; __pyx_clineno = __LINE__; goto __pyx_L1;}
6217 Py_DECREF(__pyx_1); __pyx_1 = 0;
6218 Py_DECREF(((PyObject *)__pyx_3)); __pyx_3 = 0;
6219 Py_DECREF(__pyx_2); __pyx_2 = 0;
6226 Py_XDECREF(__pyx_1);
6227 Py_XDECREF(__pyx_2);
6228 Py_XDECREF(__pyx_3);
6229 __Pyx_WriteUnraisable("purple.present");
6233 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":187
6234 * (<object> conversation_cbs["present"])("present: TODO")
6236 * cdef glib.gboolean has_focus(conversation.PurpleConversation *conv): # <<<<<<<<<<<<<<
6238 * If this UI has a concept of focus (as in a windowing system) and this
6241 static PyObject *__pyx_kp_228;
6242 static PyObject *__pyx_kp_229;
6243 static PyObject *__pyx_kp_230;
6245 static char __pyx_k_225[] = "conversation";
6246 static char __pyx_k_226[] = "%s";
6247 static char __pyx_k_227[] = "has-focus\n";
6248 static char __pyx_k_228[] = "has-focus";
6249 static char __pyx_k_229[] = "has-focus";
6250 static char __pyx_k_230[] = "has-focus: TODO";
6252 static gboolean __pyx_f_6purple_has_focus(PurpleConversation *__pyx_v_conv) {
6254 PyObject *__pyx_1 = 0;
6255 PyObject *__pyx_2 = 0;
6256 PyObject *__pyx_3 = 0;
6259 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":192
6260 * conversation has the focus, return TRUE; otherwise, return FALSE.
6262 * debug.purple_debug_info("conversation", "%s", "has-focus\n") # <<<<<<<<<<<<<<
6263 * if conversation_cbs.has_key("has-focus"):
6264 * (<object> conversation_cbs["has-focus"])("has-focus: TODO")
6266 purple_debug_info(__pyx_k_225, __pyx_k_226, __pyx_k_227);
6268 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":193
6270 * debug.purple_debug_info("conversation", "%s", "has-focus\n")
6271 * if conversation_cbs.has_key("has-focus"): # <<<<<<<<<<<<<<
6272 * (<object> conversation_cbs["has-focus"])("has-focus: TODO")
6275 __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_conversation_cbs); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 193; __pyx_clineno = __LINE__; goto __pyx_L1;}
6276 __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_has_key); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 193; __pyx_clineno = __LINE__; goto __pyx_L1;}
6277 Py_DECREF(__pyx_1); __pyx_1 = 0;
6278 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 193; __pyx_clineno = __LINE__; goto __pyx_L1;}
6279 Py_INCREF(__pyx_kp_228);
6280 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_kp_228);
6281 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 193; __pyx_clineno = __LINE__; goto __pyx_L1;}
6282 Py_DECREF(__pyx_2); __pyx_2 = 0;
6283 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
6284 __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_3); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 193; __pyx_clineno = __LINE__; goto __pyx_L1;}
6285 Py_DECREF(__pyx_3); __pyx_3 = 0;
6288 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":194
6289 * debug.purple_debug_info("conversation", "%s", "has-focus\n")
6290 * if conversation_cbs.has_key("has-focus"):
6291 * (<object> conversation_cbs["has-focus"])("has-focus: TODO") # <<<<<<<<<<<<<<
6295 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_conversation_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 194; __pyx_clineno = __LINE__; goto __pyx_L1;}
6296 __pyx_1 = PyObject_GetItem(__pyx_2, __pyx_kp_229); if (!__pyx_1) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 194; __pyx_clineno = __LINE__; goto __pyx_L1;}
6297 Py_DECREF(__pyx_2); __pyx_2 = 0;
6298 __pyx_3 = PyTuple_New(1); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 194; __pyx_clineno = __LINE__; goto __pyx_L1;}
6299 Py_INCREF(__pyx_kp_230);
6300 PyTuple_SET_ITEM(__pyx_3, 0, __pyx_kp_230);
6301 __pyx_2 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_3), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 194; __pyx_clineno = __LINE__; goto __pyx_L1;}
6302 Py_DECREF(__pyx_1); __pyx_1 = 0;
6303 Py_DECREF(((PyObject *)__pyx_3)); __pyx_3 = 0;
6304 Py_DECREF(__pyx_2); __pyx_2 = 0;
6309 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":195
6310 * if conversation_cbs.has_key("has-focus"):
6311 * (<object> conversation_cbs["has-focus"])("has-focus: TODO")
6312 * return False # <<<<<<<<<<<<<<
6314 * cdef glib.gboolean custom_smiley_add(conversation.PurpleConversation *conv, \
6322 Py_XDECREF(__pyx_1);
6323 Py_XDECREF(__pyx_2);
6324 Py_XDECREF(__pyx_3);
6325 __Pyx_WriteUnraisable("purple.has_focus");
6331 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":197
6334 * cdef glib.gboolean custom_smiley_add(conversation.PurpleConversation *conv, \ # <<<<<<<<<<<<<<
6335 * const_char *smile, glib.gboolean remote):
6339 static PyObject *__pyx_kp_234;
6340 static PyObject *__pyx_kp_235;
6341 static PyObject *__pyx_kp_236;
6343 static char __pyx_k_231[] = "conversation";
6344 static char __pyx_k_232[] = "%s";
6345 static char __pyx_k_233[] = "custom-smiley-add\n";
6346 static char __pyx_k_234[] = "custom-smiley-add";
6347 static char __pyx_k_235[] = "custom-smiley-add";
6348 static char __pyx_k_236[] = "custom-smiley-add: TODO";
6350 static gboolean __pyx_f_6purple_custom_smiley_add(PurpleConversation *__pyx_v_conv, const char *__pyx_v_smile, gboolean __pyx_v_remote) {
6352 PyObject *__pyx_1 = 0;
6353 PyObject *__pyx_2 = 0;
6354 PyObject *__pyx_3 = 0;
6357 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":202
6358 * Custom smileys (add).
6360 * debug.purple_debug_info("conversation", "%s", "custom-smiley-add\n") # <<<<<<<<<<<<<<
6361 * if conversation_cbs.has_key("custom-smiley-add"):
6362 * (<object> conversation_cbs["custom-smiley-add"])("custom-smiley-add: TODO")
6364 purple_debug_info(__pyx_k_231, __pyx_k_232, __pyx_k_233);
6366 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":203
6368 * debug.purple_debug_info("conversation", "%s", "custom-smiley-add\n")
6369 * if conversation_cbs.has_key("custom-smiley-add"): # <<<<<<<<<<<<<<
6370 * (<object> conversation_cbs["custom-smiley-add"])("custom-smiley-add: TODO")
6373 __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_conversation_cbs); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 203; __pyx_clineno = __LINE__; goto __pyx_L1;}
6374 __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_has_key); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 203; __pyx_clineno = __LINE__; goto __pyx_L1;}
6375 Py_DECREF(__pyx_1); __pyx_1 = 0;
6376 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 203; __pyx_clineno = __LINE__; goto __pyx_L1;}
6377 Py_INCREF(__pyx_kp_234);
6378 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_kp_234);
6379 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 203; __pyx_clineno = __LINE__; goto __pyx_L1;}
6380 Py_DECREF(__pyx_2); __pyx_2 = 0;
6381 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
6382 __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_3); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 203; __pyx_clineno = __LINE__; goto __pyx_L1;}
6383 Py_DECREF(__pyx_3); __pyx_3 = 0;
6386 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":204
6387 * debug.purple_debug_info("conversation", "%s", "custom-smiley-add\n")
6388 * if conversation_cbs.has_key("custom-smiley-add"):
6389 * (<object> conversation_cbs["custom-smiley-add"])("custom-smiley-add: TODO") # <<<<<<<<<<<<<<
6393 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_conversation_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 204; __pyx_clineno = __LINE__; goto __pyx_L1;}
6394 __pyx_1 = PyObject_GetItem(__pyx_2, __pyx_kp_235); if (!__pyx_1) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 204; __pyx_clineno = __LINE__; goto __pyx_L1;}
6395 Py_DECREF(__pyx_2); __pyx_2 = 0;
6396 __pyx_3 = PyTuple_New(1); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 204; __pyx_clineno = __LINE__; goto __pyx_L1;}
6397 Py_INCREF(__pyx_kp_236);
6398 PyTuple_SET_ITEM(__pyx_3, 0, __pyx_kp_236);
6399 __pyx_2 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_3), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 204; __pyx_clineno = __LINE__; goto __pyx_L1;}
6400 Py_DECREF(__pyx_1); __pyx_1 = 0;
6401 Py_DECREF(((PyObject *)__pyx_3)); __pyx_3 = 0;
6402 Py_DECREF(__pyx_2); __pyx_2 = 0;
6407 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":205
6408 * if conversation_cbs.has_key("custom-smiley-add"):
6409 * (<object> conversation_cbs["custom-smiley-add"])("custom-smiley-add: TODO")
6410 * return False # <<<<<<<<<<<<<<
6412 * cdef void custom_smiley_write(conversation.PurpleConversation *conv, \
6420 Py_XDECREF(__pyx_1);
6421 Py_XDECREF(__pyx_2);
6422 Py_XDECREF(__pyx_3);
6423 __Pyx_WriteUnraisable("purple.custom_smiley_add");
6429 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":207
6432 * cdef void custom_smiley_write(conversation.PurpleConversation *conv, \ # <<<<<<<<<<<<<<
6433 * const_char *smile, const_guchar *data, glib.gsize size):
6437 static PyObject *__pyx_kp_240;
6438 static PyObject *__pyx_kp_241;
6439 static PyObject *__pyx_kp_242;
6441 static char __pyx_k_237[] = "conversation";
6442 static char __pyx_k_238[] = "%s";
6443 static char __pyx_k_239[] = "custom-smiley-write\n";
6444 static char __pyx_k_240[] = "custom-smiley-write";
6445 static char __pyx_k_241[] = "custom-smiley-write";
6446 static char __pyx_k_242[] = "custom-smiley-write: TODO";
6448 static void __pyx_f_6purple_custom_smiley_write(PurpleConversation *__pyx_v_conv, const char *__pyx_v_smile, const guchar *__pyx_v_data, gsize __pyx_v_size) {
6449 PyObject *__pyx_1 = 0;
6450 PyObject *__pyx_2 = 0;
6451 PyObject *__pyx_3 = 0;
6454 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":212
6455 * Custom smileys (write).
6457 * debug.purple_debug_info("conversation", "%s", "custom-smiley-write\n") # <<<<<<<<<<<<<<
6458 * if conversation_cbs.has_key("custom-smiley-write"):
6459 * (<object> conversation_cbs["custom-smiley-write"])("custom-smiley-write: TODO")
6461 purple_debug_info(__pyx_k_237, __pyx_k_238, __pyx_k_239);
6463 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":213
6465 * debug.purple_debug_info("conversation", "%s", "custom-smiley-write\n")
6466 * if conversation_cbs.has_key("custom-smiley-write"): # <<<<<<<<<<<<<<
6467 * (<object> conversation_cbs["custom-smiley-write"])("custom-smiley-write: TODO")
6470 __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_conversation_cbs); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 213; __pyx_clineno = __LINE__; goto __pyx_L1;}
6471 __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_has_key); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 213; __pyx_clineno = __LINE__; goto __pyx_L1;}
6472 Py_DECREF(__pyx_1); __pyx_1 = 0;
6473 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 213; __pyx_clineno = __LINE__; goto __pyx_L1;}
6474 Py_INCREF(__pyx_kp_240);
6475 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_kp_240);
6476 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 213; __pyx_clineno = __LINE__; goto __pyx_L1;}
6477 Py_DECREF(__pyx_2); __pyx_2 = 0;
6478 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
6479 __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_3); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 213; __pyx_clineno = __LINE__; goto __pyx_L1;}
6480 Py_DECREF(__pyx_3); __pyx_3 = 0;
6483 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":214
6484 * debug.purple_debug_info("conversation", "%s", "custom-smiley-write\n")
6485 * if conversation_cbs.has_key("custom-smiley-write"):
6486 * (<object> conversation_cbs["custom-smiley-write"])("custom-smiley-write: TODO") # <<<<<<<<<<<<<<
6488 * cdef void custom_smiley_close(conversation.PurpleConversation *conv, \
6490 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_conversation_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 214; __pyx_clineno = __LINE__; goto __pyx_L1;}
6491 __pyx_1 = PyObject_GetItem(__pyx_2, __pyx_kp_241); if (!__pyx_1) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 214; __pyx_clineno = __LINE__; goto __pyx_L1;}
6492 Py_DECREF(__pyx_2); __pyx_2 = 0;
6493 __pyx_3 = PyTuple_New(1); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 214; __pyx_clineno = __LINE__; goto __pyx_L1;}
6494 Py_INCREF(__pyx_kp_242);
6495 PyTuple_SET_ITEM(__pyx_3, 0, __pyx_kp_242);
6496 __pyx_2 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_3), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 214; __pyx_clineno = __LINE__; goto __pyx_L1;}
6497 Py_DECREF(__pyx_1); __pyx_1 = 0;
6498 Py_DECREF(((PyObject *)__pyx_3)); __pyx_3 = 0;
6499 Py_DECREF(__pyx_2); __pyx_2 = 0;
6506 Py_XDECREF(__pyx_1);
6507 Py_XDECREF(__pyx_2);
6508 Py_XDECREF(__pyx_3);
6509 __Pyx_WriteUnraisable("purple.custom_smiley_write");
6513 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":216
6514 * (<object> conversation_cbs["custom-smiley-write"])("custom-smiley-write: TODO")
6516 * cdef void custom_smiley_close(conversation.PurpleConversation *conv, \ # <<<<<<<<<<<<<<
6517 * const_char *smile):
6521 static PyObject *__pyx_kp_246;
6522 static PyObject *__pyx_kp_247;
6523 static PyObject *__pyx_kp_248;
6525 static char __pyx_k_243[] = "conversation";
6526 static char __pyx_k_244[] = "%s";
6527 static char __pyx_k_245[] = "custom-smiley-close\n";
6528 static char __pyx_k_246[] = "custom-smiley-close";
6529 static char __pyx_k_247[] = "custom-smiley-close";
6530 static char __pyx_k_248[] = "custom-smiley-close: TODO";
6532 static void __pyx_f_6purple_custom_smiley_close(PurpleConversation *__pyx_v_conv, const char *__pyx_v_smile) {
6533 PyObject *__pyx_1 = 0;
6534 PyObject *__pyx_2 = 0;
6535 PyObject *__pyx_3 = 0;
6538 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":221
6539 * Custom smileys (close).
6541 * debug.purple_debug_info("conversation", "%s", "custom-smiley-close\n") # <<<<<<<<<<<<<<
6542 * if conversation_cbs.has_key("custom-smiley-close"):
6543 * (<object> conversation_cbs["custom-smiley-close"])("custom-smiley-close: TODO")
6545 purple_debug_info(__pyx_k_243, __pyx_k_244, __pyx_k_245);
6547 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":222
6549 * debug.purple_debug_info("conversation", "%s", "custom-smiley-close\n")
6550 * if conversation_cbs.has_key("custom-smiley-close"): # <<<<<<<<<<<<<<
6551 * (<object> conversation_cbs["custom-smiley-close"])("custom-smiley-close: TODO")
6554 __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_conversation_cbs); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 222; __pyx_clineno = __LINE__; goto __pyx_L1;}
6555 __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_has_key); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 222; __pyx_clineno = __LINE__; goto __pyx_L1;}
6556 Py_DECREF(__pyx_1); __pyx_1 = 0;
6557 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 222; __pyx_clineno = __LINE__; goto __pyx_L1;}
6558 Py_INCREF(__pyx_kp_246);
6559 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_kp_246);
6560 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 222; __pyx_clineno = __LINE__; goto __pyx_L1;}
6561 Py_DECREF(__pyx_2); __pyx_2 = 0;
6562 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
6563 __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_3); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 222; __pyx_clineno = __LINE__; goto __pyx_L1;}
6564 Py_DECREF(__pyx_3); __pyx_3 = 0;
6567 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":223
6568 * debug.purple_debug_info("conversation", "%s", "custom-smiley-close\n")
6569 * if conversation_cbs.has_key("custom-smiley-close"):
6570 * (<object> conversation_cbs["custom-smiley-close"])("custom-smiley-close: TODO") # <<<<<<<<<<<<<<
6572 * cdef void send_confirm(conversation.PurpleConversation *conv, \
6574 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_conversation_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 223; __pyx_clineno = __LINE__; goto __pyx_L1;}
6575 __pyx_1 = PyObject_GetItem(__pyx_2, __pyx_kp_247); if (!__pyx_1) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 223; __pyx_clineno = __LINE__; goto __pyx_L1;}
6576 Py_DECREF(__pyx_2); __pyx_2 = 0;
6577 __pyx_3 = PyTuple_New(1); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 223; __pyx_clineno = __LINE__; goto __pyx_L1;}
6578 Py_INCREF(__pyx_kp_248);
6579 PyTuple_SET_ITEM(__pyx_3, 0, __pyx_kp_248);
6580 __pyx_2 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_3), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 223; __pyx_clineno = __LINE__; goto __pyx_L1;}
6581 Py_DECREF(__pyx_1); __pyx_1 = 0;
6582 Py_DECREF(((PyObject *)__pyx_3)); __pyx_3 = 0;
6583 Py_DECREF(__pyx_2); __pyx_2 = 0;
6590 Py_XDECREF(__pyx_1);
6591 Py_XDECREF(__pyx_2);
6592 Py_XDECREF(__pyx_3);
6593 __Pyx_WriteUnraisable("purple.custom_smiley_close");
6597 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":225
6598 * (<object> conversation_cbs["custom-smiley-close"])("custom-smiley-close: TODO")
6600 * cdef void send_confirm(conversation.PurpleConversation *conv, \ # <<<<<<<<<<<<<<
6601 * const_char *message):
6605 static PyObject *__pyx_kp_252;
6606 static PyObject *__pyx_kp_253;
6607 static PyObject *__pyx_kp_254;
6609 static char __pyx_k_249[] = "conversation";
6610 static char __pyx_k_250[] = "%s";
6611 static char __pyx_k_251[] = "send-confirm\n";
6612 static char __pyx_k_252[] = "send-confirm";
6613 static char __pyx_k_253[] = "send-confirm";
6614 static char __pyx_k_254[] = "send-confirm: TODO";
6616 static void __pyx_f_6purple_send_confirm(PurpleConversation *__pyx_v_conv, const char *__pyx_v_message) {
6617 PyObject *__pyx_1 = 0;
6618 PyObject *__pyx_2 = 0;
6619 PyObject *__pyx_3 = 0;
6622 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":232
6623 * is NULL, libpurple will fall back to using purple_request_action().
6625 * debug.purple_debug_info("conversation", "%s", "send-confirm\n") # <<<<<<<<<<<<<<
6626 * if conversation_cbs.has_key("send-confirm"):
6627 * (<object> conversation_cbs["send-confirm"])("send-confirm: TODO")
6629 purple_debug_info(__pyx_k_249, __pyx_k_250, __pyx_k_251);
6631 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":233
6633 * debug.purple_debug_info("conversation", "%s", "send-confirm\n")
6634 * if conversation_cbs.has_key("send-confirm"): # <<<<<<<<<<<<<<
6635 * (<object> conversation_cbs["send-confirm"])("send-confirm: TODO")
6637 __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_conversation_cbs); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 233; __pyx_clineno = __LINE__; goto __pyx_L1;}
6638 __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_has_key); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 233; __pyx_clineno = __LINE__; goto __pyx_L1;}
6639 Py_DECREF(__pyx_1); __pyx_1 = 0;
6640 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 233; __pyx_clineno = __LINE__; goto __pyx_L1;}
6641 Py_INCREF(__pyx_kp_252);
6642 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_kp_252);
6643 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 233; __pyx_clineno = __LINE__; goto __pyx_L1;}
6644 Py_DECREF(__pyx_2); __pyx_2 = 0;
6645 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
6646 __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_3); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 233; __pyx_clineno = __LINE__; goto __pyx_L1;}
6647 Py_DECREF(__pyx_3); __pyx_3 = 0;
6650 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":234
6651 * debug.purple_debug_info("conversation", "%s", "send-confirm\n")
6652 * if conversation_cbs.has_key("send-confirm"):
6653 * (<object> conversation_cbs["send-confirm"])("send-confirm: TODO") # <<<<<<<<<<<<<<
6655 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_conversation_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 234; __pyx_clineno = __LINE__; goto __pyx_L1;}
6656 __pyx_1 = PyObject_GetItem(__pyx_2, __pyx_kp_253); if (!__pyx_1) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 234; __pyx_clineno = __LINE__; goto __pyx_L1;}
6657 Py_DECREF(__pyx_2); __pyx_2 = 0;
6658 __pyx_3 = PyTuple_New(1); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 234; __pyx_clineno = __LINE__; goto __pyx_L1;}
6659 Py_INCREF(__pyx_kp_254);
6660 PyTuple_SET_ITEM(__pyx_3, 0, __pyx_kp_254);
6661 __pyx_2 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_3), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 234; __pyx_clineno = __LINE__; goto __pyx_L1;}
6662 Py_DECREF(__pyx_1); __pyx_1 = 0;
6663 Py_DECREF(((PyObject *)__pyx_3)); __pyx_3 = 0;
6664 Py_DECREF(__pyx_2); __pyx_2 = 0;
6671 Py_XDECREF(__pyx_1);
6672 Py_XDECREF(__pyx_2);
6673 Py_XDECREF(__pyx_3);
6674 __Pyx_WriteUnraisable("purple.send_confirm");
6678 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/notify_cbs.pxd":28
6681 * cdef void *notify_message(notify.PurpleNotifyMsgType type, \ # <<<<<<<<<<<<<<
6682 * const_char *title, const_char *primary, const_char *secondary):
6686 static PyObject *__pyx_kp_258;
6687 static PyObject *__pyx_kp_259;
6688 static PyObject *__pyx_kp_260;
6690 static char __pyx_k_255[] = "notify";
6691 static char __pyx_k_256[] = "%s";
6692 static char __pyx_k_257[] = "notify-message\n";
6693 static char __pyx_k_258[] = "notif-message";
6694 static char __pyx_k_259[] = "notify-message";
6695 static char __pyx_k_260[] = "notify-message: TODO";
6697 static void *__pyx_f_6purple_notify_message(PurpleNotifyMsgType __pyx_v_type, const char *__pyx_v_title, const char *__pyx_v_primary, const char *__pyx_v_secondary) {
6699 PyObject *__pyx_1 = 0;
6700 PyObject *__pyx_2 = 0;
6701 PyObject *__pyx_3 = 0;
6704 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/notify_cbs.pxd":33
6707 * debug.purple_debug_info("notify", "%s", "notify-message\n") # <<<<<<<<<<<<<<
6708 * if notify_cbs.has_key("notif-message"):
6709 * (<object> notify_cbs["notify-message"])("notify-message: TODO")
6711 purple_debug_info(__pyx_k_255, __pyx_k_256, __pyx_k_257);
6713 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/notify_cbs.pxd":34
6715 * debug.purple_debug_info("notify", "%s", "notify-message\n")
6716 * if notify_cbs.has_key("notif-message"): # <<<<<<<<<<<<<<
6717 * (<object> notify_cbs["notify-message"])("notify-message: TODO")
6720 __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_notify_cbs); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 34; __pyx_clineno = __LINE__; goto __pyx_L1;}
6721 __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_has_key); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 34; __pyx_clineno = __LINE__; goto __pyx_L1;}
6722 Py_DECREF(__pyx_1); __pyx_1 = 0;
6723 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 34; __pyx_clineno = __LINE__; goto __pyx_L1;}
6724 Py_INCREF(__pyx_kp_258);
6725 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_kp_258);
6726 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 34; __pyx_clineno = __LINE__; goto __pyx_L1;}
6727 Py_DECREF(__pyx_2); __pyx_2 = 0;
6728 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
6729 __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_3); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 34; __pyx_clineno = __LINE__; goto __pyx_L1;}
6730 Py_DECREF(__pyx_3); __pyx_3 = 0;
6733 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/notify_cbs.pxd":35
6734 * debug.purple_debug_info("notify", "%s", "notify-message\n")
6735 * if notify_cbs.has_key("notif-message"):
6736 * (<object> notify_cbs["notify-message"])("notify-message: TODO") # <<<<<<<<<<<<<<
6738 * cdef void *notify_email(connection.PurpleConnection *gc, \
6740 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_notify_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 35; __pyx_clineno = __LINE__; goto __pyx_L1;}
6741 __pyx_1 = PyObject_GetItem(__pyx_2, __pyx_kp_259); if (!__pyx_1) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 35; __pyx_clineno = __LINE__; goto __pyx_L1;}
6742 Py_DECREF(__pyx_2); __pyx_2 = 0;
6743 __pyx_3 = PyTuple_New(1); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 35; __pyx_clineno = __LINE__; goto __pyx_L1;}
6744 Py_INCREF(__pyx_kp_260);
6745 PyTuple_SET_ITEM(__pyx_3, 0, __pyx_kp_260);
6746 __pyx_2 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_3), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 35; __pyx_clineno = __LINE__; goto __pyx_L1;}
6747 Py_DECREF(__pyx_1); __pyx_1 = 0;
6748 Py_DECREF(((PyObject *)__pyx_3)); __pyx_3 = 0;
6749 Py_DECREF(__pyx_2); __pyx_2 = 0;
6757 Py_XDECREF(__pyx_1);
6758 Py_XDECREF(__pyx_2);
6759 Py_XDECREF(__pyx_3);
6760 __Pyx_WriteUnraisable("purple.notify_message");
6766 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/notify_cbs.pxd":37
6767 * (<object> notify_cbs["notify-message"])("notify-message: TODO")
6769 * cdef void *notify_email(connection.PurpleConnection *gc, \ # <<<<<<<<<<<<<<
6770 * const_char *subject, const_char *_from, const_char *to, \
6774 static PyObject *__pyx_kp_264;
6775 static PyObject *__pyx_kp_265;
6776 static PyObject *__pyx_kp_266;
6778 static char __pyx_k_261[] = "notify";
6779 static char __pyx_k_262[] = "%s";
6780 static char __pyx_k_263[] = "notify-email\n";
6781 static char __pyx_k_264[] = "notify-email";
6782 static char __pyx_k_265[] = "notify-email";
6783 static char __pyx_k_266[] = "notify-email: TODO";
6785 static void *__pyx_f_6purple_notify_email(PurpleConnection *__pyx_v_gc, const char *__pyx_v_subject, const char *__pyx_v__from, const char *__pyx_v_to, const char *__pyx_v_url) {
6787 PyObject *__pyx_1 = 0;
6788 PyObject *__pyx_2 = 0;
6789 PyObject *__pyx_3 = 0;
6792 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/notify_cbs.pxd":43
6795 * debug.purple_debug_info("notify", "%s", "notify-email\n") # <<<<<<<<<<<<<<
6796 * if notify_cbs.has_key("notify-email"):
6797 * (<object> notify_cbs["notify-email"])("notify-email: TODO")
6799 purple_debug_info(__pyx_k_261, __pyx_k_262, __pyx_k_263);
6801 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/notify_cbs.pxd":44
6803 * debug.purple_debug_info("notify", "%s", "notify-email\n")
6804 * if notify_cbs.has_key("notify-email"): # <<<<<<<<<<<<<<
6805 * (<object> notify_cbs["notify-email"])("notify-email: TODO")
6808 __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_notify_cbs); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 44; __pyx_clineno = __LINE__; goto __pyx_L1;}
6809 __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_has_key); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 44; __pyx_clineno = __LINE__; goto __pyx_L1;}
6810 Py_DECREF(__pyx_1); __pyx_1 = 0;
6811 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 44; __pyx_clineno = __LINE__; goto __pyx_L1;}
6812 Py_INCREF(__pyx_kp_264);
6813 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_kp_264);
6814 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 44; __pyx_clineno = __LINE__; goto __pyx_L1;}
6815 Py_DECREF(__pyx_2); __pyx_2 = 0;
6816 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
6817 __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_3); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 44; __pyx_clineno = __LINE__; goto __pyx_L1;}
6818 Py_DECREF(__pyx_3); __pyx_3 = 0;
6821 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/notify_cbs.pxd":45
6822 * debug.purple_debug_info("notify", "%s", "notify-email\n")
6823 * if notify_cbs.has_key("notify-email"):
6824 * (<object> notify_cbs["notify-email"])("notify-email: TODO") # <<<<<<<<<<<<<<
6826 * cdef void *notify_emails(connection.PurpleConnection *gc, size_t count, \
6828 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_notify_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 45; __pyx_clineno = __LINE__; goto __pyx_L1;}
6829 __pyx_1 = PyObject_GetItem(__pyx_2, __pyx_kp_265); if (!__pyx_1) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 45; __pyx_clineno = __LINE__; goto __pyx_L1;}
6830 Py_DECREF(__pyx_2); __pyx_2 = 0;
6831 __pyx_3 = PyTuple_New(1); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 45; __pyx_clineno = __LINE__; goto __pyx_L1;}
6832 Py_INCREF(__pyx_kp_266);
6833 PyTuple_SET_ITEM(__pyx_3, 0, __pyx_kp_266);
6834 __pyx_2 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_3), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 45; __pyx_clineno = __LINE__; goto __pyx_L1;}
6835 Py_DECREF(__pyx_1); __pyx_1 = 0;
6836 Py_DECREF(((PyObject *)__pyx_3)); __pyx_3 = 0;
6837 Py_DECREF(__pyx_2); __pyx_2 = 0;
6845 Py_XDECREF(__pyx_1);
6846 Py_XDECREF(__pyx_2);
6847 Py_XDECREF(__pyx_3);
6848 __Pyx_WriteUnraisable("purple.notify_email");
6854 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/notify_cbs.pxd":47
6855 * (<object> notify_cbs["notify-email"])("notify-email: TODO")
6857 * cdef void *notify_emails(connection.PurpleConnection *gc, size_t count, \ # <<<<<<<<<<<<<<
6858 * glib.gboolean detailed, const_char **subjects, \
6859 * const_char **froms, const_char **tos, const_char **urls):
6862 static PyObject *__pyx_kp_270;
6863 static PyObject *__pyx_kp_271;
6864 static PyObject *__pyx_kp_272;
6866 static char __pyx_k_267[] = "notify";
6867 static char __pyx_k_268[] = "%s";
6868 static char __pyx_k_269[] = "notify-emails\n";
6869 static char __pyx_k_270[] = "notify-emails";
6870 static char __pyx_k_271[] = "notify-emails";
6871 static char __pyx_k_272[] = "notify-emails: TODO";
6873 static void *__pyx_f_6purple_notify_emails(PurpleConnection *__pyx_v_gc, size_t __pyx_v_count, gboolean __pyx_v_detailed, const char **__pyx_v_subjects, const char **__pyx_v_froms, const char **__pyx_v_tos, const char **__pyx_v_urls) {
6875 PyObject *__pyx_1 = 0;
6876 PyObject *__pyx_2 = 0;
6877 PyObject *__pyx_3 = 0;
6880 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/notify_cbs.pxd":53
6883 * debug.purple_debug_info("notify", "%s", "notify-emails\n") # <<<<<<<<<<<<<<
6884 * if notify_cbs.has_key("notify-emails"):
6885 * (<object> notify_cbs["notify-emails"])("notify-emails: TODO")
6887 purple_debug_info(__pyx_k_267, __pyx_k_268, __pyx_k_269);
6889 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/notify_cbs.pxd":54
6891 * debug.purple_debug_info("notify", "%s", "notify-emails\n")
6892 * if notify_cbs.has_key("notify-emails"): # <<<<<<<<<<<<<<
6893 * (<object> notify_cbs["notify-emails"])("notify-emails: TODO")
6896 __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_notify_cbs); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 54; __pyx_clineno = __LINE__; goto __pyx_L1;}
6897 __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_has_key); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 54; __pyx_clineno = __LINE__; goto __pyx_L1;}
6898 Py_DECREF(__pyx_1); __pyx_1 = 0;
6899 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 54; __pyx_clineno = __LINE__; goto __pyx_L1;}
6900 Py_INCREF(__pyx_kp_270);
6901 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_kp_270);
6902 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 54; __pyx_clineno = __LINE__; goto __pyx_L1;}
6903 Py_DECREF(__pyx_2); __pyx_2 = 0;
6904 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
6905 __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_3); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 54; __pyx_clineno = __LINE__; goto __pyx_L1;}
6906 Py_DECREF(__pyx_3); __pyx_3 = 0;
6909 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/notify_cbs.pxd":55
6910 * debug.purple_debug_info("notify", "%s", "notify-emails\n")
6911 * if notify_cbs.has_key("notify-emails"):
6912 * (<object> notify_cbs["notify-emails"])("notify-emails: TODO") # <<<<<<<<<<<<<<
6914 * cdef void *notify_formatted(const_char *title, const_char *primary, \
6916 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_notify_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 55; __pyx_clineno = __LINE__; goto __pyx_L1;}
6917 __pyx_1 = PyObject_GetItem(__pyx_2, __pyx_kp_271); if (!__pyx_1) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 55; __pyx_clineno = __LINE__; goto __pyx_L1;}
6918 Py_DECREF(__pyx_2); __pyx_2 = 0;
6919 __pyx_3 = PyTuple_New(1); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 55; __pyx_clineno = __LINE__; goto __pyx_L1;}
6920 Py_INCREF(__pyx_kp_272);
6921 PyTuple_SET_ITEM(__pyx_3, 0, __pyx_kp_272);
6922 __pyx_2 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_3), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 55; __pyx_clineno = __LINE__; goto __pyx_L1;}
6923 Py_DECREF(__pyx_1); __pyx_1 = 0;
6924 Py_DECREF(((PyObject *)__pyx_3)); __pyx_3 = 0;
6925 Py_DECREF(__pyx_2); __pyx_2 = 0;
6933 Py_XDECREF(__pyx_1);
6934 Py_XDECREF(__pyx_2);
6935 Py_XDECREF(__pyx_3);
6936 __Pyx_WriteUnraisable("purple.notify_emails");
6942 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/notify_cbs.pxd":57
6943 * (<object> notify_cbs["notify-emails"])("notify-emails: TODO")
6945 * cdef void *notify_formatted(const_char *title, const_char *primary, \ # <<<<<<<<<<<<<<
6946 * const_char *secondary, const_char *text):
6950 static PyObject *__pyx_kp_276;
6951 static PyObject *__pyx_kp_277;
6952 static PyObject *__pyx_kp_278;
6954 static char __pyx_k_273[] = "notify";
6955 static char __pyx_k_274[] = "%s";
6956 static char __pyx_k_275[] = "notify-formatted\n";
6957 static char __pyx_k_276[] = "notify-formatted";
6958 static char __pyx_k_277[] = "notify-formatted";
6959 static char __pyx_k_278[] = "notify-formatted: TODO";
6961 static void *__pyx_f_6purple_notify_formatted(const char *__pyx_v_title, const char *__pyx_v_primary, const char *__pyx_v_secondary, const char *__pyx_v_text) {
6963 PyObject *__pyx_1 = 0;
6964 PyObject *__pyx_2 = 0;
6965 PyObject *__pyx_3 = 0;
6968 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/notify_cbs.pxd":62
6971 * debug.purple_debug_info("notify", "%s", "notify-formatted\n") # <<<<<<<<<<<<<<
6972 * if notify_cbs.has_key("notify-formatted"):
6973 * (<object> notify_cbs["notify-formatted"])("notify-formatted: TODO")
6975 purple_debug_info(__pyx_k_273, __pyx_k_274, __pyx_k_275);
6977 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/notify_cbs.pxd":63
6979 * debug.purple_debug_info("notify", "%s", "notify-formatted\n")
6980 * if notify_cbs.has_key("notify-formatted"): # <<<<<<<<<<<<<<
6981 * (<object> notify_cbs["notify-formatted"])("notify-formatted: TODO")
6984 __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_notify_cbs); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 63; __pyx_clineno = __LINE__; goto __pyx_L1;}
6985 __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_has_key); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 63; __pyx_clineno = __LINE__; goto __pyx_L1;}
6986 Py_DECREF(__pyx_1); __pyx_1 = 0;
6987 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 63; __pyx_clineno = __LINE__; goto __pyx_L1;}
6988 Py_INCREF(__pyx_kp_276);
6989 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_kp_276);
6990 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 63; __pyx_clineno = __LINE__; goto __pyx_L1;}
6991 Py_DECREF(__pyx_2); __pyx_2 = 0;
6992 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
6993 __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_3); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 63; __pyx_clineno = __LINE__; goto __pyx_L1;}
6994 Py_DECREF(__pyx_3); __pyx_3 = 0;
6997 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/notify_cbs.pxd":64
6998 * debug.purple_debug_info("notify", "%s", "notify-formatted\n")
6999 * if notify_cbs.has_key("notify-formatted"):
7000 * (<object> notify_cbs["notify-formatted"])("notify-formatted: TODO") # <<<<<<<<<<<<<<
7002 * cdef void *notify_searchresults(connection.PurpleConnection *gc, \
7004 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_notify_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 64; __pyx_clineno = __LINE__; goto __pyx_L1;}
7005 __pyx_1 = PyObject_GetItem(__pyx_2, __pyx_kp_277); if (!__pyx_1) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 64; __pyx_clineno = __LINE__; goto __pyx_L1;}
7006 Py_DECREF(__pyx_2); __pyx_2 = 0;
7007 __pyx_3 = PyTuple_New(1); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 64; __pyx_clineno = __LINE__; goto __pyx_L1;}
7008 Py_INCREF(__pyx_kp_278);
7009 PyTuple_SET_ITEM(__pyx_3, 0, __pyx_kp_278);
7010 __pyx_2 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_3), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 64; __pyx_clineno = __LINE__; goto __pyx_L1;}
7011 Py_DECREF(__pyx_1); __pyx_1 = 0;
7012 Py_DECREF(((PyObject *)__pyx_3)); __pyx_3 = 0;
7013 Py_DECREF(__pyx_2); __pyx_2 = 0;
7021 Py_XDECREF(__pyx_1);
7022 Py_XDECREF(__pyx_2);
7023 Py_XDECREF(__pyx_3);
7024 __Pyx_WriteUnraisable("purple.notify_formatted");
7030 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/notify_cbs.pxd":66
7031 * (<object> notify_cbs["notify-formatted"])("notify-formatted: TODO")
7033 * cdef void *notify_searchresults(connection.PurpleConnection *gc, \ # <<<<<<<<<<<<<<
7034 * const_char *title, const_char *primary, const_char *secondary, \
7035 * notify.PurpleNotifySearchResults *results, glib.gpointer user_data):
7038 static PyObject *__pyx_kp_282;
7039 static PyObject *__pyx_kp_283;
7040 static PyObject *__pyx_kp_284;
7042 static char __pyx_k_279[] = "notify";
7043 static char __pyx_k_280[] = "%s";
7044 static char __pyx_k_281[] = "notify-searchresults\n";
7045 static char __pyx_k_282[] = "notify-searchresults";
7046 static char __pyx_k_283[] = "notify-searchresults";
7047 static char __pyx_k_284[] = "notify-searchresults: TODO";
7049 static void *__pyx_f_6purple_notify_searchresults(PurpleConnection *__pyx_v_gc, const char *__pyx_v_title, const char *__pyx_v_primary, const char *__pyx_v_secondary, PurpleNotifySearchResults *__pyx_v_results, gpointer __pyx_v_user_data) {
7051 PyObject *__pyx_1 = 0;
7052 PyObject *__pyx_2 = 0;
7053 PyObject *__pyx_3 = 0;
7056 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/notify_cbs.pxd":72
7059 * debug.purple_debug_info("notify", "%s", "notify-searchresults\n") # <<<<<<<<<<<<<<
7060 * if notify_cbs.has_key("notify-searchresults"):
7061 * (<object> notify_cbs["notify-searchresults"])("notify-searchresults: TODO")
7063 purple_debug_info(__pyx_k_279, __pyx_k_280, __pyx_k_281);
7065 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/notify_cbs.pxd":73
7067 * debug.purple_debug_info("notify", "%s", "notify-searchresults\n")
7068 * if notify_cbs.has_key("notify-searchresults"): # <<<<<<<<<<<<<<
7069 * (<object> notify_cbs["notify-searchresults"])("notify-searchresults: TODO")
7072 __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_notify_cbs); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 73; __pyx_clineno = __LINE__; goto __pyx_L1;}
7073 __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_has_key); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 73; __pyx_clineno = __LINE__; goto __pyx_L1;}
7074 Py_DECREF(__pyx_1); __pyx_1 = 0;
7075 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 73; __pyx_clineno = __LINE__; goto __pyx_L1;}
7076 Py_INCREF(__pyx_kp_282);
7077 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_kp_282);
7078 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 73; __pyx_clineno = __LINE__; goto __pyx_L1;}
7079 Py_DECREF(__pyx_2); __pyx_2 = 0;
7080 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
7081 __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_3); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 73; __pyx_clineno = __LINE__; goto __pyx_L1;}
7082 Py_DECREF(__pyx_3); __pyx_3 = 0;
7085 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/notify_cbs.pxd":74
7086 * debug.purple_debug_info("notify", "%s", "notify-searchresults\n")
7087 * if notify_cbs.has_key("notify-searchresults"):
7088 * (<object> notify_cbs["notify-searchresults"])("notify-searchresults: TODO") # <<<<<<<<<<<<<<
7090 * cdef void notify_searchresults_new_rows(connection.PurpleConnection *gc, \
7092 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_notify_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 74; __pyx_clineno = __LINE__; goto __pyx_L1;}
7093 __pyx_1 = PyObject_GetItem(__pyx_2, __pyx_kp_283); if (!__pyx_1) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 74; __pyx_clineno = __LINE__; goto __pyx_L1;}
7094 Py_DECREF(__pyx_2); __pyx_2 = 0;
7095 __pyx_3 = PyTuple_New(1); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 74; __pyx_clineno = __LINE__; goto __pyx_L1;}
7096 Py_INCREF(__pyx_kp_284);
7097 PyTuple_SET_ITEM(__pyx_3, 0, __pyx_kp_284);
7098 __pyx_2 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_3), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 74; __pyx_clineno = __LINE__; goto __pyx_L1;}
7099 Py_DECREF(__pyx_1); __pyx_1 = 0;
7100 Py_DECREF(((PyObject *)__pyx_3)); __pyx_3 = 0;
7101 Py_DECREF(__pyx_2); __pyx_2 = 0;
7109 Py_XDECREF(__pyx_1);
7110 Py_XDECREF(__pyx_2);
7111 Py_XDECREF(__pyx_3);
7112 __Pyx_WriteUnraisable("purple.notify_searchresults");
7118 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/notify_cbs.pxd":76
7119 * (<object> notify_cbs["notify-searchresults"])("notify-searchresults: TODO")
7121 * cdef void notify_searchresults_new_rows(connection.PurpleConnection *gc, \ # <<<<<<<<<<<<<<
7122 * notify.PurpleNotifySearchResults *results, void *data):
7126 static PyObject *__pyx_kp_288;
7127 static PyObject *__pyx_kp_289;
7128 static PyObject *__pyx_kp_290;
7130 static char __pyx_k_285[] = "notify";
7131 static char __pyx_k_286[] = "%s";
7132 static char __pyx_k_287[] = "notify-searchresults-new-rows\n";
7133 static char __pyx_k_288[] = "notify-searchresults-new-rows";
7134 static char __pyx_k_289[] = "notify-searchresults-new-rows";
7135 static char __pyx_k_290[] = "notify-searchresults-new-rows: TODO";
7137 static void __pyx_f_6purple_notify_searchresults_new_rows(PurpleConnection *__pyx_v_gc, PurpleNotifySearchResults *__pyx_v_results, void *__pyx_v_data) {
7138 PyObject *__pyx_1 = 0;
7139 PyObject *__pyx_2 = 0;
7140 PyObject *__pyx_3 = 0;
7143 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/notify_cbs.pxd":81
7146 * debug.purple_debug_info("notify", "%s", "notify-searchresults-new-rows\n") # <<<<<<<<<<<<<<
7147 * if notify_cbs.has_key("notify-searchresults-new-rows"):
7148 * (<object> notify_cbs["notify-searchresults-new-rows"])("notify-searchresults-new-rows: TODO")
7150 purple_debug_info(__pyx_k_285, __pyx_k_286, __pyx_k_287);
7152 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/notify_cbs.pxd":82
7154 * debug.purple_debug_info("notify", "%s", "notify-searchresults-new-rows\n")
7155 * if notify_cbs.has_key("notify-searchresults-new-rows"): # <<<<<<<<<<<<<<
7156 * (<object> notify_cbs["notify-searchresults-new-rows"])("notify-searchresults-new-rows: TODO")
7159 __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_notify_cbs); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 82; __pyx_clineno = __LINE__; goto __pyx_L1;}
7160 __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_has_key); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 82; __pyx_clineno = __LINE__; goto __pyx_L1;}
7161 Py_DECREF(__pyx_1); __pyx_1 = 0;
7162 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 82; __pyx_clineno = __LINE__; goto __pyx_L1;}
7163 Py_INCREF(__pyx_kp_288);
7164 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_kp_288);
7165 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 82; __pyx_clineno = __LINE__; goto __pyx_L1;}
7166 Py_DECREF(__pyx_2); __pyx_2 = 0;
7167 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
7168 __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_3); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 82; __pyx_clineno = __LINE__; goto __pyx_L1;}
7169 Py_DECREF(__pyx_3); __pyx_3 = 0;
7172 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/notify_cbs.pxd":83
7173 * debug.purple_debug_info("notify", "%s", "notify-searchresults-new-rows\n")
7174 * if notify_cbs.has_key("notify-searchresults-new-rows"):
7175 * (<object> notify_cbs["notify-searchresults-new-rows"])("notify-searchresults-new-rows: TODO") # <<<<<<<<<<<<<<
7177 * cdef void *notify_userinfo(connection.PurpleConnection *gc, const_char *who, \
7179 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_notify_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 83; __pyx_clineno = __LINE__; goto __pyx_L1;}
7180 __pyx_1 = PyObject_GetItem(__pyx_2, __pyx_kp_289); if (!__pyx_1) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 83; __pyx_clineno = __LINE__; goto __pyx_L1;}
7181 Py_DECREF(__pyx_2); __pyx_2 = 0;
7182 __pyx_3 = PyTuple_New(1); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 83; __pyx_clineno = __LINE__; goto __pyx_L1;}
7183 Py_INCREF(__pyx_kp_290);
7184 PyTuple_SET_ITEM(__pyx_3, 0, __pyx_kp_290);
7185 __pyx_2 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_3), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 83; __pyx_clineno = __LINE__; goto __pyx_L1;}
7186 Py_DECREF(__pyx_1); __pyx_1 = 0;
7187 Py_DECREF(((PyObject *)__pyx_3)); __pyx_3 = 0;
7188 Py_DECREF(__pyx_2); __pyx_2 = 0;
7195 Py_XDECREF(__pyx_1);
7196 Py_XDECREF(__pyx_2);
7197 Py_XDECREF(__pyx_3);
7198 __Pyx_WriteUnraisable("purple.notify_searchresults_new_rows");
7202 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/notify_cbs.pxd":85
7203 * (<object> notify_cbs["notify-searchresults-new-rows"])("notify-searchresults-new-rows: TODO")
7205 * cdef void *notify_userinfo(connection.PurpleConnection *gc, const_char *who, \ # <<<<<<<<<<<<<<
7206 * notify.PurpleNotifyUserInfo *user_info):
7210 static PyObject *__pyx_kp_294;
7211 static PyObject *__pyx_kp_295;
7212 static PyObject *__pyx_kp_296;
7214 static char __pyx_k_291[] = "notify";
7215 static char __pyx_k_292[] = "%s";
7216 static char __pyx_k_293[] = "notify-userinfo\n";
7217 static char __pyx_k_294[] = "notify-userinfo";
7218 static char __pyx_k_295[] = "notify-userinfo";
7219 static char __pyx_k_296[] = "notify-userinfo: TODO";
7221 static void *__pyx_f_6purple_notify_userinfo(PurpleConnection *__pyx_v_gc, const char *__pyx_v_who, PurpleNotifyUserInfo *__pyx_v_user_info) {
7223 PyObject *__pyx_1 = 0;
7224 PyObject *__pyx_2 = 0;
7225 PyObject *__pyx_3 = 0;
7228 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/notify_cbs.pxd":90
7231 * debug.purple_debug_info("notify", "%s", "notify-userinfo\n") # <<<<<<<<<<<<<<
7232 * if notify_cbs.has_key("notify-userinfo"):
7233 * (<object> notify_cbs["notify-userinfo"])("notify-userinfo: TODO")
7235 purple_debug_info(__pyx_k_291, __pyx_k_292, __pyx_k_293);
7237 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/notify_cbs.pxd":91
7239 * debug.purple_debug_info("notify", "%s", "notify-userinfo\n")
7240 * if notify_cbs.has_key("notify-userinfo"): # <<<<<<<<<<<<<<
7241 * (<object> notify_cbs["notify-userinfo"])("notify-userinfo: TODO")
7244 __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_notify_cbs); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 91; __pyx_clineno = __LINE__; goto __pyx_L1;}
7245 __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_has_key); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 91; __pyx_clineno = __LINE__; goto __pyx_L1;}
7246 Py_DECREF(__pyx_1); __pyx_1 = 0;
7247 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 91; __pyx_clineno = __LINE__; goto __pyx_L1;}
7248 Py_INCREF(__pyx_kp_294);
7249 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_kp_294);
7250 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 91; __pyx_clineno = __LINE__; goto __pyx_L1;}
7251 Py_DECREF(__pyx_2); __pyx_2 = 0;
7252 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
7253 __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_3); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 91; __pyx_clineno = __LINE__; goto __pyx_L1;}
7254 Py_DECREF(__pyx_3); __pyx_3 = 0;
7257 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/notify_cbs.pxd":92
7258 * debug.purple_debug_info("notify", "%s", "notify-userinfo\n")
7259 * if notify_cbs.has_key("notify-userinfo"):
7260 * (<object> notify_cbs["notify-userinfo"])("notify-userinfo: TODO") # <<<<<<<<<<<<<<
7262 * cdef void *notify_uri(const_char *uri):
7264 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_notify_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 92; __pyx_clineno = __LINE__; goto __pyx_L1;}
7265 __pyx_1 = PyObject_GetItem(__pyx_2, __pyx_kp_295); if (!__pyx_1) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 92; __pyx_clineno = __LINE__; goto __pyx_L1;}
7266 Py_DECREF(__pyx_2); __pyx_2 = 0;
7267 __pyx_3 = PyTuple_New(1); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 92; __pyx_clineno = __LINE__; goto __pyx_L1;}
7268 Py_INCREF(__pyx_kp_296);
7269 PyTuple_SET_ITEM(__pyx_3, 0, __pyx_kp_296);
7270 __pyx_2 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_3), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 92; __pyx_clineno = __LINE__; goto __pyx_L1;}
7271 Py_DECREF(__pyx_1); __pyx_1 = 0;
7272 Py_DECREF(((PyObject *)__pyx_3)); __pyx_3 = 0;
7273 Py_DECREF(__pyx_2); __pyx_2 = 0;
7281 Py_XDECREF(__pyx_1);
7282 Py_XDECREF(__pyx_2);
7283 Py_XDECREF(__pyx_3);
7284 __Pyx_WriteUnraisable("purple.notify_userinfo");
7290 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/notify_cbs.pxd":94
7291 * (<object> notify_cbs["notify-userinfo"])("notify-userinfo: TODO")
7293 * cdef void *notify_uri(const_char *uri): # <<<<<<<<<<<<<<
7298 static PyObject *__pyx_kp_300;
7299 static PyObject *__pyx_kp_301;
7300 static PyObject *__pyx_kp_302;
7302 static char __pyx_k_297[] = "notify";
7303 static char __pyx_k_298[] = "%s";
7304 static char __pyx_k_299[] = "notify-uri\n";
7305 static char __pyx_k_300[] = "notify-uri";
7306 static char __pyx_k_301[] = "notify-uri";
7307 static char __pyx_k_302[] = "notify-uri: TODO";
7309 static void *__pyx_f_6purple_notify_uri(const char *__pyx_v_uri) {
7311 PyObject *__pyx_1 = 0;
7312 PyObject *__pyx_2 = 0;
7313 PyObject *__pyx_3 = 0;
7316 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/notify_cbs.pxd":98
7319 * debug.purple_debug_info("notify", "%s", "notify-uri\n") # <<<<<<<<<<<<<<
7320 * if notify_cbs.has_key("notify-uri"):
7321 * (<object> notify_cbs["notify-uri"])("notify-uri: TODO")
7323 purple_debug_info(__pyx_k_297, __pyx_k_298, __pyx_k_299);
7325 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/notify_cbs.pxd":99
7327 * debug.purple_debug_info("notify", "%s", "notify-uri\n")
7328 * if notify_cbs.has_key("notify-uri"): # <<<<<<<<<<<<<<
7329 * (<object> notify_cbs["notify-uri"])("notify-uri: TODO")
7332 __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_notify_cbs); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 99; __pyx_clineno = __LINE__; goto __pyx_L1;}
7333 __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_has_key); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 99; __pyx_clineno = __LINE__; goto __pyx_L1;}
7334 Py_DECREF(__pyx_1); __pyx_1 = 0;
7335 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 99; __pyx_clineno = __LINE__; goto __pyx_L1;}
7336 Py_INCREF(__pyx_kp_300);
7337 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_kp_300);
7338 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 99; __pyx_clineno = __LINE__; goto __pyx_L1;}
7339 Py_DECREF(__pyx_2); __pyx_2 = 0;
7340 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
7341 __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_3); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 99; __pyx_clineno = __LINE__; goto __pyx_L1;}
7342 Py_DECREF(__pyx_3); __pyx_3 = 0;
7345 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/notify_cbs.pxd":100
7346 * debug.purple_debug_info("notify", "%s", "notify-uri\n")
7347 * if notify_cbs.has_key("notify-uri"):
7348 * (<object> notify_cbs["notify-uri"])("notify-uri: TODO") # <<<<<<<<<<<<<<
7350 * cdef void close_notify(notify.PurpleNotifyType type, void *ui_handle):
7352 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_notify_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 100; __pyx_clineno = __LINE__; goto __pyx_L1;}
7353 __pyx_1 = PyObject_GetItem(__pyx_2, __pyx_kp_301); if (!__pyx_1) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 100; __pyx_clineno = __LINE__; goto __pyx_L1;}
7354 Py_DECREF(__pyx_2); __pyx_2 = 0;
7355 __pyx_3 = PyTuple_New(1); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 100; __pyx_clineno = __LINE__; goto __pyx_L1;}
7356 Py_INCREF(__pyx_kp_302);
7357 PyTuple_SET_ITEM(__pyx_3, 0, __pyx_kp_302);
7358 __pyx_2 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_3), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 100; __pyx_clineno = __LINE__; goto __pyx_L1;}
7359 Py_DECREF(__pyx_1); __pyx_1 = 0;
7360 Py_DECREF(((PyObject *)__pyx_3)); __pyx_3 = 0;
7361 Py_DECREF(__pyx_2); __pyx_2 = 0;
7369 Py_XDECREF(__pyx_1);
7370 Py_XDECREF(__pyx_2);
7371 Py_XDECREF(__pyx_3);
7372 __Pyx_WriteUnraisable("purple.notify_uri");
7378 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/notify_cbs.pxd":102
7379 * (<object> notify_cbs["notify-uri"])("notify-uri: TODO")
7381 * cdef void close_notify(notify.PurpleNotifyType type, void *ui_handle): # <<<<<<<<<<<<<<
7386 static PyObject *__pyx_kp_306;
7387 static PyObject *__pyx_kp_307;
7388 static PyObject *__pyx_kp_308;
7390 static char __pyx_k_303[] = "notify";
7391 static char __pyx_k_304[] = "%s";
7392 static char __pyx_k_305[] = "close-notify\n";
7393 static char __pyx_k_306[] = "close-notify";
7394 static char __pyx_k_307[] = "close-notify";
7395 static char __pyx_k_308[] = "close-notify: TODO";
7397 static void __pyx_f_6purple_close_notify(PurpleNotifyType __pyx_v_type, void *__pyx_v_ui_handle) {
7398 PyObject *__pyx_1 = 0;
7399 PyObject *__pyx_2 = 0;
7400 PyObject *__pyx_3 = 0;
7403 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/notify_cbs.pxd":106
7406 * debug.purple_debug_info("notify", "%s", "close-notify\n") # <<<<<<<<<<<<<<
7407 * if notify_cbs.has_key("close-notify"):
7408 * (<object> notify_cbs["close-notify"])("close-notify: TODO")
7410 purple_debug_info(__pyx_k_303, __pyx_k_304, __pyx_k_305);
7412 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/notify_cbs.pxd":107
7414 * debug.purple_debug_info("notify", "%s", "close-notify\n")
7415 * if notify_cbs.has_key("close-notify"): # <<<<<<<<<<<<<<
7416 * (<object> notify_cbs["close-notify"])("close-notify: TODO")
7418 __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_notify_cbs); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 107; __pyx_clineno = __LINE__; goto __pyx_L1;}
7419 __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_has_key); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 107; __pyx_clineno = __LINE__; goto __pyx_L1;}
7420 Py_DECREF(__pyx_1); __pyx_1 = 0;
7421 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 107; __pyx_clineno = __LINE__; goto __pyx_L1;}
7422 Py_INCREF(__pyx_kp_306);
7423 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_kp_306);
7424 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 107; __pyx_clineno = __LINE__; goto __pyx_L1;}
7425 Py_DECREF(__pyx_2); __pyx_2 = 0;
7426 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
7427 __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_3); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 107; __pyx_clineno = __LINE__; goto __pyx_L1;}
7428 Py_DECREF(__pyx_3); __pyx_3 = 0;
7431 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/notify_cbs.pxd":108
7432 * debug.purple_debug_info("notify", "%s", "close-notify\n")
7433 * if notify_cbs.has_key("close-notify"):
7434 * (<object> notify_cbs["close-notify"])("close-notify: TODO") # <<<<<<<<<<<<<<
7436 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_notify_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 108; __pyx_clineno = __LINE__; goto __pyx_L1;}
7437 __pyx_1 = PyObject_GetItem(__pyx_2, __pyx_kp_307); if (!__pyx_1) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 108; __pyx_clineno = __LINE__; goto __pyx_L1;}
7438 Py_DECREF(__pyx_2); __pyx_2 = 0;
7439 __pyx_3 = PyTuple_New(1); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 108; __pyx_clineno = __LINE__; goto __pyx_L1;}
7440 Py_INCREF(__pyx_kp_308);
7441 PyTuple_SET_ITEM(__pyx_3, 0, __pyx_kp_308);
7442 __pyx_2 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_3), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 108; __pyx_clineno = __LINE__; goto __pyx_L1;}
7443 Py_DECREF(__pyx_1); __pyx_1 = 0;
7444 Py_DECREF(((PyObject *)__pyx_3)); __pyx_3 = 0;
7445 Py_DECREF(__pyx_2); __pyx_2 = 0;
7452 Py_XDECREF(__pyx_1);
7453 Py_XDECREF(__pyx_2);
7454 Py_XDECREF(__pyx_3);
7455 __Pyx_WriteUnraisable("purple.close_notify");
7459 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/request_cbs.pxd":29
7462 * cdef void *request_input(const_char *title, const_char *primary, \ # <<<<<<<<<<<<<<
7463 * const_char *secondary, const_char *default_value, \
7464 * glib.gboolean multiline, glib.gboolean masked, glib.gchar *hint, \
7467 static PyObject *__pyx_kp_312;
7468 static PyObject *__pyx_kp_313;
7469 static PyObject *__pyx_kp_314;
7471 static char __pyx_k_309[] = "request";
7472 static char __pyx_k_310[] = "%s";
7473 static char __pyx_k_311[] = "request-input\n";
7474 static char __pyx_k_312[] = "request-input";
7475 static char __pyx_k_313[] = "request-input";
7476 static char __pyx_k_314[] = "request-input: TODO";
7478 static void *__pyx_f_6purple_request_input(const char *__pyx_v_title, const char *__pyx_v_primary, const char *__pyx_v_secondary, const char *__pyx_v_default_value, gboolean __pyx_v_multiline, gboolean __pyx_v_masked, gchar *__pyx_v_hint, const char *__pyx_v_ok_text, GCallback __pyx_v_ok_cb, const char *__pyx_v_cancel_text, GCallback __pyx_v_cancel_cb, PurpleAccount *__pyx_v_account, const char *__pyx_v_who, PurpleConversation *__pyx_v_conv, void *__pyx_v_user_data) {
7480 PyObject *__pyx_1 = 0;
7481 PyObject *__pyx_2 = 0;
7482 PyObject *__pyx_3 = 0;
7485 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/request_cbs.pxd":39
7486 * @see purple_request_input().
7488 * debug.purple_debug_info("request", "%s", "request-input\n") # <<<<<<<<<<<<<<
7489 * if request_cbs.has_key("request-input"):
7490 * (<object> request_cbs["request-input"])("request-input: TODO")
7492 purple_debug_info(__pyx_k_309, __pyx_k_310, __pyx_k_311);
7494 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/request_cbs.pxd":40
7496 * debug.purple_debug_info("request", "%s", "request-input\n")
7497 * if request_cbs.has_key("request-input"): # <<<<<<<<<<<<<<
7498 * (<object> request_cbs["request-input"])("request-input: TODO")
7501 __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_request_cbs); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 40; __pyx_clineno = __LINE__; goto __pyx_L1;}
7502 __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_has_key); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 40; __pyx_clineno = __LINE__; goto __pyx_L1;}
7503 Py_DECREF(__pyx_1); __pyx_1 = 0;
7504 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 40; __pyx_clineno = __LINE__; goto __pyx_L1;}
7505 Py_INCREF(__pyx_kp_312);
7506 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_kp_312);
7507 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 40; __pyx_clineno = __LINE__; goto __pyx_L1;}
7508 Py_DECREF(__pyx_2); __pyx_2 = 0;
7509 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
7510 __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_3); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 40; __pyx_clineno = __LINE__; goto __pyx_L1;}
7511 Py_DECREF(__pyx_3); __pyx_3 = 0;
7514 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/request_cbs.pxd":41
7515 * debug.purple_debug_info("request", "%s", "request-input\n")
7516 * if request_cbs.has_key("request-input"):
7517 * (<object> request_cbs["request-input"])("request-input: TODO") # <<<<<<<<<<<<<<
7519 * cdef void *request_choice(const_char *title, const_char *primary, \
7521 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_request_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 41; __pyx_clineno = __LINE__; goto __pyx_L1;}
7522 __pyx_1 = PyObject_GetItem(__pyx_2, __pyx_kp_313); if (!__pyx_1) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 41; __pyx_clineno = __LINE__; goto __pyx_L1;}
7523 Py_DECREF(__pyx_2); __pyx_2 = 0;
7524 __pyx_3 = PyTuple_New(1); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 41; __pyx_clineno = __LINE__; goto __pyx_L1;}
7525 Py_INCREF(__pyx_kp_314);
7526 PyTuple_SET_ITEM(__pyx_3, 0, __pyx_kp_314);
7527 __pyx_2 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_3), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 41; __pyx_clineno = __LINE__; goto __pyx_L1;}
7528 Py_DECREF(__pyx_1); __pyx_1 = 0;
7529 Py_DECREF(((PyObject *)__pyx_3)); __pyx_3 = 0;
7530 Py_DECREF(__pyx_2); __pyx_2 = 0;
7538 Py_XDECREF(__pyx_1);
7539 Py_XDECREF(__pyx_2);
7540 Py_XDECREF(__pyx_3);
7541 __Pyx_WriteUnraisable("purple.request_input");
7547 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/request_cbs.pxd":43
7548 * (<object> request_cbs["request-input"])("request-input: TODO")
7550 * cdef void *request_choice(const_char *title, const_char *primary, \ # <<<<<<<<<<<<<<
7551 * const_char *secondary, int default_value, const_char *ok_text, \
7552 * glib.GCallback ok_cb, const_char *cancel_text, \
7555 static PyObject *__pyx_kp_318;
7556 static PyObject *__pyx_kp_319;
7557 static PyObject *__pyx_kp_320;
7559 static char __pyx_k_315[] = "request";
7560 static char __pyx_k_316[] = "%s";
7561 static char __pyx_k_317[] = "request-choice\n";
7562 static char __pyx_k_318[] = "request-choice";
7563 static char __pyx_k_319[] = "request-choice";
7564 static char __pyx_k_320[] = "request-choice: TODO";
7566 static void *__pyx_f_6purple_request_choice(const char *__pyx_v_title, const char *__pyx_v_primary, const char *__pyx_v_secondary, int __pyx_v_default_value, const char *__pyx_v_ok_text, GCallback __pyx_v_ok_cb, const char *__pyx_v_cancel_text, GCallback __pyx_v_cancel_cb, PurpleAccount *__pyx_v_account, const char *__pyx_v_who, PurpleConversation *__pyx_v_conv, void *__pyx_v_user_data, va_list __pyx_v_choices) {
7568 PyObject *__pyx_1 = 0;
7569 PyObject *__pyx_2 = 0;
7570 PyObject *__pyx_3 = 0;
7573 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/request_cbs.pxd":52
7574 * @see purple_request_choice_varg().
7576 * debug.purple_debug_info("request", "%s", "request-choice\n") # <<<<<<<<<<<<<<
7577 * if request_cbs.has_key("request-choice"):
7578 * (<object> request_cbs["request-choice"])("request-choice: TODO")
7580 purple_debug_info(__pyx_k_315, __pyx_k_316, __pyx_k_317);
7582 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/request_cbs.pxd":53
7584 * debug.purple_debug_info("request", "%s", "request-choice\n")
7585 * if request_cbs.has_key("request-choice"): # <<<<<<<<<<<<<<
7586 * (<object> request_cbs["request-choice"])("request-choice: TODO")
7589 __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_request_cbs); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 53; __pyx_clineno = __LINE__; goto __pyx_L1;}
7590 __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_has_key); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 53; __pyx_clineno = __LINE__; goto __pyx_L1;}
7591 Py_DECREF(__pyx_1); __pyx_1 = 0;
7592 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 53; __pyx_clineno = __LINE__; goto __pyx_L1;}
7593 Py_INCREF(__pyx_kp_318);
7594 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_kp_318);
7595 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 53; __pyx_clineno = __LINE__; goto __pyx_L1;}
7596 Py_DECREF(__pyx_2); __pyx_2 = 0;
7597 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
7598 __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_3); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 53; __pyx_clineno = __LINE__; goto __pyx_L1;}
7599 Py_DECREF(__pyx_3); __pyx_3 = 0;
7602 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/request_cbs.pxd":54
7603 * debug.purple_debug_info("request", "%s", "request-choice\n")
7604 * if request_cbs.has_key("request-choice"):
7605 * (<object> request_cbs["request-choice"])("request-choice: TODO") # <<<<<<<<<<<<<<
7607 * cdef void *request_action(const_char *title, const_char *primary, \
7609 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_request_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 54; __pyx_clineno = __LINE__; goto __pyx_L1;}
7610 __pyx_1 = PyObject_GetItem(__pyx_2, __pyx_kp_319); if (!__pyx_1) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 54; __pyx_clineno = __LINE__; goto __pyx_L1;}
7611 Py_DECREF(__pyx_2); __pyx_2 = 0;
7612 __pyx_3 = PyTuple_New(1); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 54; __pyx_clineno = __LINE__; goto __pyx_L1;}
7613 Py_INCREF(__pyx_kp_320);
7614 PyTuple_SET_ITEM(__pyx_3, 0, __pyx_kp_320);
7615 __pyx_2 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_3), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 54; __pyx_clineno = __LINE__; goto __pyx_L1;}
7616 Py_DECREF(__pyx_1); __pyx_1 = 0;
7617 Py_DECREF(((PyObject *)__pyx_3)); __pyx_3 = 0;
7618 Py_DECREF(__pyx_2); __pyx_2 = 0;
7626 Py_XDECREF(__pyx_1);
7627 Py_XDECREF(__pyx_2);
7628 Py_XDECREF(__pyx_3);
7629 __Pyx_WriteUnraisable("purple.request_choice");
7635 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/request_cbs.pxd":56
7636 * (<object> request_cbs["request-choice"])("request-choice: TODO")
7638 * cdef void *request_action(const_char *title, const_char *primary, \ # <<<<<<<<<<<<<<
7639 * const_char *secondary, int default_action, \
7640 * account.PurpleAccount *account, const_char *who, \
7643 static PyObject *__pyx_kp_324;
7644 static PyObject *__pyx_kp_325;
7645 static PyObject *__pyx_kp_326;
7647 static char __pyx_k_321[] = "request";
7648 static char __pyx_k_322[] = "%s";
7649 static char __pyx_k_323[] = "request-action\n";
7650 static char __pyx_k_324[] = "request-action";
7651 static char __pyx_k_325[] = "request-action";
7652 static char __pyx_k_326[] = "request-action: TODo";
7654 static void *__pyx_f_6purple_request_action(const char *__pyx_v_title, const char *__pyx_v_primary, const char *__pyx_v_secondary, int __pyx_v_default_action, PurpleAccount *__pyx_v_account, const char *__pyx_v_who, PurpleConversation *__pyx_v_conv, void *__pyx_v_user_data, size_t __pyx_v_action_count, va_list __pyx_v_actions) {
7656 PyObject *__pyx_1 = 0;
7657 PyObject *__pyx_2 = 0;
7658 PyObject *__pyx_3 = 0;
7661 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/request_cbs.pxd":64
7662 * @see purple_request_action_varg().
7664 * debug.purple_debug_info("request", "%s", "request-action\n") # <<<<<<<<<<<<<<
7665 * if request_cbs.has_key("request-action"):
7666 * (<object> request_cbs["request-action"])("request-action: TODo")
7668 purple_debug_info(__pyx_k_321, __pyx_k_322, __pyx_k_323);
7670 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/request_cbs.pxd":65
7672 * debug.purple_debug_info("request", "%s", "request-action\n")
7673 * if request_cbs.has_key("request-action"): # <<<<<<<<<<<<<<
7674 * (<object> request_cbs["request-action"])("request-action: TODo")
7677 __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_request_cbs); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 65; __pyx_clineno = __LINE__; goto __pyx_L1;}
7678 __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_has_key); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 65; __pyx_clineno = __LINE__; goto __pyx_L1;}
7679 Py_DECREF(__pyx_1); __pyx_1 = 0;
7680 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 65; __pyx_clineno = __LINE__; goto __pyx_L1;}
7681 Py_INCREF(__pyx_kp_324);
7682 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_kp_324);
7683 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 65; __pyx_clineno = __LINE__; goto __pyx_L1;}
7684 Py_DECREF(__pyx_2); __pyx_2 = 0;
7685 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
7686 __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_3); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 65; __pyx_clineno = __LINE__; goto __pyx_L1;}
7687 Py_DECREF(__pyx_3); __pyx_3 = 0;
7690 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/request_cbs.pxd":66
7691 * debug.purple_debug_info("request", "%s", "request-action\n")
7692 * if request_cbs.has_key("request-action"):
7693 * (<object> request_cbs["request-action"])("request-action: TODo") # <<<<<<<<<<<<<<
7695 * cdef void *request_fields(const_char *title, const_char *primary, \
7697 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_request_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 66; __pyx_clineno = __LINE__; goto __pyx_L1;}
7698 __pyx_1 = PyObject_GetItem(__pyx_2, __pyx_kp_325); if (!__pyx_1) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 66; __pyx_clineno = __LINE__; goto __pyx_L1;}
7699 Py_DECREF(__pyx_2); __pyx_2 = 0;
7700 __pyx_3 = PyTuple_New(1); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 66; __pyx_clineno = __LINE__; goto __pyx_L1;}
7701 Py_INCREF(__pyx_kp_326);
7702 PyTuple_SET_ITEM(__pyx_3, 0, __pyx_kp_326);
7703 __pyx_2 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_3), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 66; __pyx_clineno = __LINE__; goto __pyx_L1;}
7704 Py_DECREF(__pyx_1); __pyx_1 = 0;
7705 Py_DECREF(((PyObject *)__pyx_3)); __pyx_3 = 0;
7706 Py_DECREF(__pyx_2); __pyx_2 = 0;
7714 Py_XDECREF(__pyx_1);
7715 Py_XDECREF(__pyx_2);
7716 Py_XDECREF(__pyx_3);
7717 __Pyx_WriteUnraisable("purple.request_action");
7723 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/request_cbs.pxd":68
7724 * (<object> request_cbs["request-action"])("request-action: TODo")
7726 * cdef void *request_fields(const_char *title, const_char *primary, \ # <<<<<<<<<<<<<<
7727 * const_char *secondary, request.PurpleRequestFields *fields, \
7728 * const_char *ok_text, glib.GCallback ok_cb, const_char *cancel_text, \
7731 static PyObject *__pyx_kp_330;
7732 static PyObject *__pyx_kp_331;
7733 static PyObject *__pyx_kp_332;
7735 static char __pyx_k_327[] = "request";
7736 static char __pyx_k_328[] = "%s";
7737 static char __pyx_k_329[] = "request-fields\n";
7738 static char __pyx_k_330[] = "request-fields";
7739 static char __pyx_k_331[] = "request-fields";
7740 static char __pyx_k_332[] = "request-fields: TODO";
7742 static void *__pyx_f_6purple_request_fields(const char *__pyx_v_title, const char *__pyx_v_primary, const char *__pyx_v_secondary, PurpleRequestFields *__pyx_v_fields, const char *__pyx_v_ok_text, GCallback __pyx_v_ok_cb, const char *__pyx_v_cancel_text, GCallback __pyx_v_cancel_cb, PurpleAccount *__pyx_v_account, const char *__pyx_v_who, PurpleConversation *__pyx_v_conv, void *__pyx_v_user_data) {
7744 PyObject *__pyx_1 = 0;
7745 PyObject *__pyx_2 = 0;
7746 PyObject *__pyx_3 = 0;
7749 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/request_cbs.pxd":77
7750 * @see purple_request_fields().
7752 * debug.purple_debug_info("request", "%s", "request-fields\n") # <<<<<<<<<<<<<<
7753 * if request_cbs.has_key("request-fields"):
7754 * (<object> request_cbs["request-fields"])("request-fields: TODO")
7756 purple_debug_info(__pyx_k_327, __pyx_k_328, __pyx_k_329);
7758 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/request_cbs.pxd":78
7760 * debug.purple_debug_info("request", "%s", "request-fields\n")
7761 * if request_cbs.has_key("request-fields"): # <<<<<<<<<<<<<<
7762 * (<object> request_cbs["request-fields"])("request-fields: TODO")
7765 __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_request_cbs); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 78; __pyx_clineno = __LINE__; goto __pyx_L1;}
7766 __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_has_key); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 78; __pyx_clineno = __LINE__; goto __pyx_L1;}
7767 Py_DECREF(__pyx_1); __pyx_1 = 0;
7768 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 78; __pyx_clineno = __LINE__; goto __pyx_L1;}
7769 Py_INCREF(__pyx_kp_330);
7770 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_kp_330);
7771 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 78; __pyx_clineno = __LINE__; goto __pyx_L1;}
7772 Py_DECREF(__pyx_2); __pyx_2 = 0;
7773 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
7774 __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_3); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 78; __pyx_clineno = __LINE__; goto __pyx_L1;}
7775 Py_DECREF(__pyx_3); __pyx_3 = 0;
7778 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/request_cbs.pxd":79
7779 * debug.purple_debug_info("request", "%s", "request-fields\n")
7780 * if request_cbs.has_key("request-fields"):
7781 * (<object> request_cbs["request-fields"])("request-fields: TODO") # <<<<<<<<<<<<<<
7783 * cdef void *request_file(const_char *title, const_char *filename, \
7785 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_request_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 79; __pyx_clineno = __LINE__; goto __pyx_L1;}
7786 __pyx_1 = PyObject_GetItem(__pyx_2, __pyx_kp_331); if (!__pyx_1) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 79; __pyx_clineno = __LINE__; goto __pyx_L1;}
7787 Py_DECREF(__pyx_2); __pyx_2 = 0;
7788 __pyx_3 = PyTuple_New(1); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 79; __pyx_clineno = __LINE__; goto __pyx_L1;}
7789 Py_INCREF(__pyx_kp_332);
7790 PyTuple_SET_ITEM(__pyx_3, 0, __pyx_kp_332);
7791 __pyx_2 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_3), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 79; __pyx_clineno = __LINE__; goto __pyx_L1;}
7792 Py_DECREF(__pyx_1); __pyx_1 = 0;
7793 Py_DECREF(((PyObject *)__pyx_3)); __pyx_3 = 0;
7794 Py_DECREF(__pyx_2); __pyx_2 = 0;
7802 Py_XDECREF(__pyx_1);
7803 Py_XDECREF(__pyx_2);
7804 Py_XDECREF(__pyx_3);
7805 __Pyx_WriteUnraisable("purple.request_fields");
7811 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/request_cbs.pxd":81
7812 * (<object> request_cbs["request-fields"])("request-fields: TODO")
7814 * cdef void *request_file(const_char *title, const_char *filename, \ # <<<<<<<<<<<<<<
7815 * glib.gboolean savedialog, glib.GCallback ok_cb, \
7816 * glib.GCallback cancel_cb, account.PurpleAccount *account, \
7819 static PyObject *__pyx_kp_336;
7820 static PyObject *__pyx_kp_337;
7821 static PyObject *__pyx_kp_338;
7823 static char __pyx_k_333[] = "request";
7824 static char __pyx_k_334[] = "%s";
7825 static char __pyx_k_335[] = "request-file\n";
7826 static char __pyx_k_336[] = "request-file";
7827 static char __pyx_k_337[] = "request-file";
7828 static char __pyx_k_338[] = "request-file: TODO";
7830 static void *__pyx_f_6purple_request_file(const char *__pyx_v_title, const char *__pyx_v_filename, gboolean __pyx_v_savedialog, GCallback __pyx_v_ok_cb, GCallback __pyx_v_cancel_cb, PurpleAccount *__pyx_v_account, const char *__pyx_v_who, PurpleConversation *__pyx_v_conv, void *__pyx_v_user_data) {
7832 PyObject *__pyx_1 = 0;
7833 PyObject *__pyx_2 = 0;
7834 PyObject *__pyx_3 = 0;
7837 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/request_cbs.pxd":89
7838 * @see purple_request_file().
7840 * debug.purple_debug_info("request", "%s", "request-file\n") # <<<<<<<<<<<<<<
7841 * if request_cbs.has_key("request-file"):
7842 * (<object> request_cbs["request-file"])("request-file: TODO")
7844 purple_debug_info(__pyx_k_333, __pyx_k_334, __pyx_k_335);
7846 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/request_cbs.pxd":90
7848 * debug.purple_debug_info("request", "%s", "request-file\n")
7849 * if request_cbs.has_key("request-file"): # <<<<<<<<<<<<<<
7850 * (<object> request_cbs["request-file"])("request-file: TODO")
7853 __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_request_cbs); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 90; __pyx_clineno = __LINE__; goto __pyx_L1;}
7854 __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_has_key); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 90; __pyx_clineno = __LINE__; goto __pyx_L1;}
7855 Py_DECREF(__pyx_1); __pyx_1 = 0;
7856 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 90; __pyx_clineno = __LINE__; goto __pyx_L1;}
7857 Py_INCREF(__pyx_kp_336);
7858 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_kp_336);
7859 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 90; __pyx_clineno = __LINE__; goto __pyx_L1;}
7860 Py_DECREF(__pyx_2); __pyx_2 = 0;
7861 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
7862 __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_3); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 90; __pyx_clineno = __LINE__; goto __pyx_L1;}
7863 Py_DECREF(__pyx_3); __pyx_3 = 0;
7866 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/request_cbs.pxd":91
7867 * debug.purple_debug_info("request", "%s", "request-file\n")
7868 * if request_cbs.has_key("request-file"):
7869 * (<object> request_cbs["request-file"])("request-file: TODO") # <<<<<<<<<<<<<<
7871 * cdef void close_request(request.PurpleRequestType type, void *ui_handle):
7873 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_request_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 91; __pyx_clineno = __LINE__; goto __pyx_L1;}
7874 __pyx_1 = PyObject_GetItem(__pyx_2, __pyx_kp_337); if (!__pyx_1) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 91; __pyx_clineno = __LINE__; goto __pyx_L1;}
7875 Py_DECREF(__pyx_2); __pyx_2 = 0;
7876 __pyx_3 = PyTuple_New(1); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 91; __pyx_clineno = __LINE__; goto __pyx_L1;}
7877 Py_INCREF(__pyx_kp_338);
7878 PyTuple_SET_ITEM(__pyx_3, 0, __pyx_kp_338);
7879 __pyx_2 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_3), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 91; __pyx_clineno = __LINE__; goto __pyx_L1;}
7880 Py_DECREF(__pyx_1); __pyx_1 = 0;
7881 Py_DECREF(((PyObject *)__pyx_3)); __pyx_3 = 0;
7882 Py_DECREF(__pyx_2); __pyx_2 = 0;
7890 Py_XDECREF(__pyx_1);
7891 Py_XDECREF(__pyx_2);
7892 Py_XDECREF(__pyx_3);
7893 __Pyx_WriteUnraisable("purple.request_file");
7899 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/request_cbs.pxd":93
7900 * (<object> request_cbs["request-file"])("request-file: TODO")
7902 * cdef void close_request(request.PurpleRequestType type, void *ui_handle): # <<<<<<<<<<<<<<
7907 static PyObject *__pyx_kp_342;
7908 static PyObject *__pyx_kp_343;
7909 static PyObject *__pyx_kp_344;
7911 static char __pyx_k_339[] = "request";
7912 static char __pyx_k_340[] = "%s";
7913 static char __pyx_k_341[] = "close-request\n";
7914 static char __pyx_k_342[] = "close-request";
7915 static char __pyx_k_343[] = "close-request";
7916 static char __pyx_k_344[] = "close-request: TODO";
7918 static void __pyx_f_6purple_close_request(PurpleRequestType __pyx_v_type, void *__pyx_v_ui_handle) {
7919 PyObject *__pyx_1 = 0;
7920 PyObject *__pyx_2 = 0;
7921 PyObject *__pyx_3 = 0;
7924 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/request_cbs.pxd":97
7927 * debug.purple_debug_info("request", "%s", "close-request\n") # <<<<<<<<<<<<<<
7928 * if request_cbs.has_key("close-request"):
7929 * (<object> request_cbs["close-request"])("close-request: TODO")
7931 purple_debug_info(__pyx_k_339, __pyx_k_340, __pyx_k_341);
7933 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/request_cbs.pxd":98
7935 * debug.purple_debug_info("request", "%s", "close-request\n")
7936 * if request_cbs.has_key("close-request"): # <<<<<<<<<<<<<<
7937 * (<object> request_cbs["close-request"])("close-request: TODO")
7940 __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_request_cbs); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 98; __pyx_clineno = __LINE__; goto __pyx_L1;}
7941 __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_has_key); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 98; __pyx_clineno = __LINE__; goto __pyx_L1;}
7942 Py_DECREF(__pyx_1); __pyx_1 = 0;
7943 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 98; __pyx_clineno = __LINE__; goto __pyx_L1;}
7944 Py_INCREF(__pyx_kp_342);
7945 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_kp_342);
7946 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 98; __pyx_clineno = __LINE__; goto __pyx_L1;}
7947 Py_DECREF(__pyx_2); __pyx_2 = 0;
7948 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
7949 __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_3); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 98; __pyx_clineno = __LINE__; goto __pyx_L1;}
7950 Py_DECREF(__pyx_3); __pyx_3 = 0;
7953 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/request_cbs.pxd":99
7954 * debug.purple_debug_info("request", "%s", "close-request\n")
7955 * if request_cbs.has_key("close-request"):
7956 * (<object> request_cbs["close-request"])("close-request: TODO") # <<<<<<<<<<<<<<
7958 * cdef void *request_folder(const_char *title, const_char *dirname, \
7960 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_request_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 99; __pyx_clineno = __LINE__; goto __pyx_L1;}
7961 __pyx_1 = PyObject_GetItem(__pyx_2, __pyx_kp_343); if (!__pyx_1) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 99; __pyx_clineno = __LINE__; goto __pyx_L1;}
7962 Py_DECREF(__pyx_2); __pyx_2 = 0;
7963 __pyx_3 = PyTuple_New(1); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 99; __pyx_clineno = __LINE__; goto __pyx_L1;}
7964 Py_INCREF(__pyx_kp_344);
7965 PyTuple_SET_ITEM(__pyx_3, 0, __pyx_kp_344);
7966 __pyx_2 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_3), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 99; __pyx_clineno = __LINE__; goto __pyx_L1;}
7967 Py_DECREF(__pyx_1); __pyx_1 = 0;
7968 Py_DECREF(((PyObject *)__pyx_3)); __pyx_3 = 0;
7969 Py_DECREF(__pyx_2); __pyx_2 = 0;
7976 Py_XDECREF(__pyx_1);
7977 Py_XDECREF(__pyx_2);
7978 Py_XDECREF(__pyx_3);
7979 __Pyx_WriteUnraisable("purple.close_request");
7983 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/request_cbs.pxd":101
7984 * (<object> request_cbs["close-request"])("close-request: TODO")
7986 * cdef void *request_folder(const_char *title, const_char *dirname, \ # <<<<<<<<<<<<<<
7987 * glib.GCallback ok_cb, glib.GCallback cancel_cb, \
7988 * account.PurpleAccount *account, const_char *who, \
7991 static PyObject *__pyx_kp_348;
7992 static PyObject *__pyx_kp_349;
7993 static PyObject *__pyx_kp_350;
7995 static char __pyx_k_345[] = "request";
7996 static char __pyx_k_346[] = "%s";
7997 static char __pyx_k_347[] = "request-folder\n";
7998 static char __pyx_k_348[] = "request-folder";
7999 static char __pyx_k_349[] = "request-folder";
8000 static char __pyx_k_350[] = "request-folder: TODO";
8002 static void *__pyx_f_6purple_request_folder(const char *__pyx_v_title, const char *__pyx_v_dirname, GCallback __pyx_v_ok_cb, GCallback __pyx_v_cancel_cb, PurpleAccount *__pyx_v_account, const char *__pyx_v_who, PurpleConversation *__pyx_v_conv, void *__pyx_v_user_data) {
8004 PyObject *__pyx_1 = 0;
8005 PyObject *__pyx_2 = 0;
8006 PyObject *__pyx_3 = 0;
8009 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/request_cbs.pxd":108
8010 * @see purple_request_folder().
8012 * debug.purple_debug_info("request", "%s", "request-folder\n") # <<<<<<<<<<<<<<
8013 * if request_cbs.has_key("request-folder"):
8014 * (<object> request_cbs["request-folder"])("request-folder: TODO")
8016 purple_debug_info(__pyx_k_345, __pyx_k_346, __pyx_k_347);
8018 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/request_cbs.pxd":109
8020 * debug.purple_debug_info("request", "%s", "request-folder\n")
8021 * if request_cbs.has_key("request-folder"): # <<<<<<<<<<<<<<
8022 * (<object> request_cbs["request-folder"])("request-folder: TODO")
8024 __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_request_cbs); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 109; __pyx_clineno = __LINE__; goto __pyx_L1;}
8025 __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_has_key); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 109; __pyx_clineno = __LINE__; goto __pyx_L1;}
8026 Py_DECREF(__pyx_1); __pyx_1 = 0;
8027 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 109; __pyx_clineno = __LINE__; goto __pyx_L1;}
8028 Py_INCREF(__pyx_kp_348);
8029 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_kp_348);
8030 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 109; __pyx_clineno = __LINE__; goto __pyx_L1;}
8031 Py_DECREF(__pyx_2); __pyx_2 = 0;
8032 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
8033 __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_3); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 109; __pyx_clineno = __LINE__; goto __pyx_L1;}
8034 Py_DECREF(__pyx_3); __pyx_3 = 0;
8037 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/request_cbs.pxd":110
8038 * debug.purple_debug_info("request", "%s", "request-folder\n")
8039 * if request_cbs.has_key("request-folder"):
8040 * (<object> request_cbs["request-folder"])("request-folder: TODO") # <<<<<<<<<<<<<<
8042 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_request_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 110; __pyx_clineno = __LINE__; goto __pyx_L1;}
8043 __pyx_1 = PyObject_GetItem(__pyx_2, __pyx_kp_349); if (!__pyx_1) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 110; __pyx_clineno = __LINE__; goto __pyx_L1;}
8044 Py_DECREF(__pyx_2); __pyx_2 = 0;
8045 __pyx_3 = PyTuple_New(1); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 110; __pyx_clineno = __LINE__; goto __pyx_L1;}
8046 Py_INCREF(__pyx_kp_350);
8047 PyTuple_SET_ITEM(__pyx_3, 0, __pyx_kp_350);
8048 __pyx_2 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_3), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 110; __pyx_clineno = __LINE__; goto __pyx_L1;}
8049 Py_DECREF(__pyx_1); __pyx_1 = 0;
8050 Py_DECREF(((PyObject *)__pyx_3)); __pyx_3 = 0;
8051 Py_DECREF(__pyx_2); __pyx_2 = 0;
8059 Py_XDECREF(__pyx_1);
8060 Py_XDECREF(__pyx_2);
8061 Py_XDECREF(__pyx_3);
8062 __Pyx_WriteUnraisable("purple.request_folder");
8068 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":27
8069 * ctypedef char const_gchar "const gchar"
8071 * cdef void signal_signed_on_cb(connection.PurpleConnection *gc, \ # <<<<<<<<<<<<<<
8072 * glib.gpointer null):
8076 static PyObject *__pyx_kp_351;
8077 static PyObject *__pyx_kp_352;
8079 static char __pyx_k_351[] = "signed-on";
8080 static char __pyx_k_352[] = "signed-on";
8082 static void __pyx_f_6purple_signal_signed_on_cb(PurpleConnection *__pyx_v_gc, gpointer __pyx_v_null) {
8083 PurpleAccount *__pyx_v_acc;
8084 char *__pyx_v_c_username;
8085 char *__pyx_v_c_protocol_id;
8086 PyObject *__pyx_v_username;
8087 PyObject *__pyx_v_protocol_id;
8089 PyObject *__pyx_2 = 0;
8090 PyObject *__pyx_3 = 0;
8091 PyObject *__pyx_4 = 0;
8092 __pyx_v_username = Py_None; Py_INCREF(Py_None);
8093 __pyx_v_protocol_id = Py_None; Py_INCREF(Py_None);
8095 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":33
8096 * @params gc The connection that has signed on.
8098 * cdef account.PurpleAccount *acc = connection.purple_connection_get_account(gc) # <<<<<<<<<<<<<<
8099 * cdef char *c_username = NULL
8100 * cdef char *c_protocol_id = NULL
8102 __pyx_v_acc = purple_connection_get_account(__pyx_v_gc);
8105 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":34
8107 * cdef account.PurpleAccount *acc = connection.purple_connection_get_account(gc)
8108 * cdef char *c_username = NULL # <<<<<<<<<<<<<<
8109 * cdef char *c_protocol_id = NULL
8112 __pyx_v_c_username = NULL;
8115 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":35
8116 * cdef account.PurpleAccount *acc = connection.purple_connection_get_account(gc)
8117 * cdef char *c_username = NULL
8118 * cdef char *c_protocol_id = NULL # <<<<<<<<<<<<<<
8120 * c_username = <char *> account.purple_account_get_username(acc)
8122 __pyx_v_c_protocol_id = NULL;
8125 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":37
8126 * cdef char *c_protocol_id = NULL
8128 * c_username = <char *> account.purple_account_get_username(acc) # <<<<<<<<<<<<<<
8129 * if c_username == NULL:
8132 __pyx_v_c_username = ((char *)purple_account_get_username(__pyx_v_acc));
8134 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":38
8136 * c_username = <char *> account.purple_account_get_username(acc)
8137 * if c_username == NULL: # <<<<<<<<<<<<<<
8141 __pyx_1 = (__pyx_v_c_username == NULL);
8144 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":39
8145 * c_username = <char *> account.purple_account_get_username(acc)
8146 * if c_username == NULL:
8147 * username = None # <<<<<<<<<<<<<<
8149 * username = c_username
8152 Py_DECREF(__pyx_v_username);
8153 __pyx_v_username = Py_None;
8158 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":41
8161 * username = c_username # <<<<<<<<<<<<<<
8163 * c_protocol_id = <char *> account.purple_account_get_protocol_id(acc)
8165 __pyx_2 = __Pyx_PyBytes_FromString(__pyx_v_c_username); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 41; __pyx_clineno = __LINE__; goto __pyx_L1;}
8166 Py_DECREF(__pyx_v_username);
8167 __pyx_v_username = __pyx_2;
8172 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":43
8173 * username = c_username
8175 * c_protocol_id = <char *> account.purple_account_get_protocol_id(acc) # <<<<<<<<<<<<<<
8176 * if c_protocol_id == NULL:
8177 * protocol_id = None
8179 __pyx_v_c_protocol_id = ((char *)purple_account_get_protocol_id(__pyx_v_acc));
8181 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":44
8183 * c_protocol_id = <char *> account.purple_account_get_protocol_id(acc)
8184 * if c_protocol_id == NULL: # <<<<<<<<<<<<<<
8185 * protocol_id = None
8188 __pyx_1 = (__pyx_v_c_protocol_id == NULL);
8191 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":45
8192 * c_protocol_id = <char *> account.purple_account_get_protocol_id(acc)
8193 * if c_protocol_id == NULL:
8194 * protocol_id = None # <<<<<<<<<<<<<<
8196 * protocol_id = c_protocol_id
8199 Py_DECREF(__pyx_v_protocol_id);
8200 __pyx_v_protocol_id = Py_None;
8205 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":47
8206 * protocol_id = None
8208 * protocol_id = c_protocol_id # <<<<<<<<<<<<<<
8210 * if signal_cbs.has_key("signed-on"):
8212 __pyx_2 = __Pyx_PyBytes_FromString(__pyx_v_c_protocol_id); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 47; __pyx_clineno = __LINE__; goto __pyx_L1;}
8213 Py_DECREF(__pyx_v_protocol_id);
8214 __pyx_v_protocol_id = __pyx_2;
8219 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":49
8220 * protocol_id = c_protocol_id
8222 * if signal_cbs.has_key("signed-on"): # <<<<<<<<<<<<<<
8223 * (<object> signal_cbs["signed-on"])(username, protocol_id)
8226 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_signal_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 49; __pyx_clineno = __LINE__; goto __pyx_L1;}
8227 __pyx_3 = PyObject_GetAttr(__pyx_2, __pyx_kp_has_key); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 49; __pyx_clineno = __LINE__; goto __pyx_L1;}
8228 Py_DECREF(__pyx_2); __pyx_2 = 0;
8229 __pyx_2 = PyTuple_New(1); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 49; __pyx_clineno = __LINE__; goto __pyx_L1;}
8230 Py_INCREF(__pyx_kp_351);
8231 PyTuple_SET_ITEM(__pyx_2, 0, __pyx_kp_351);
8232 __pyx_4 = PyObject_Call(__pyx_3, ((PyObject *)__pyx_2), NULL); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 49; __pyx_clineno = __LINE__; goto __pyx_L1;}
8233 Py_DECREF(__pyx_3); __pyx_3 = 0;
8234 Py_DECREF(((PyObject *)__pyx_2)); __pyx_2 = 0;
8235 __pyx_1 = __Pyx_PyObject_IsTrue(__pyx_4); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 49; __pyx_clineno = __LINE__; goto __pyx_L1;}
8236 Py_DECREF(__pyx_4); __pyx_4 = 0;
8239 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":50
8241 * if signal_cbs.has_key("signed-on"):
8242 * (<object> signal_cbs["signed-on"])(username, protocol_id) # <<<<<<<<<<<<<<
8244 * cdef void signal_signed_off_cb(connection.PurpleConnection *gc, \
8246 __pyx_3 = __Pyx_GetName(__pyx_m, __pyx_kp_signal_cbs); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L1;}
8247 __pyx_2 = PyObject_GetItem(__pyx_3, __pyx_kp_352); if (!__pyx_2) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L1;}
8248 Py_DECREF(__pyx_3); __pyx_3 = 0;
8249 __pyx_4 = PyTuple_New(2); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L1;}
8250 Py_INCREF(__pyx_v_username);
8251 PyTuple_SET_ITEM(__pyx_4, 0, __pyx_v_username);
8252 Py_INCREF(__pyx_v_protocol_id);
8253 PyTuple_SET_ITEM(__pyx_4, 1, __pyx_v_protocol_id);
8254 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_4), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L1;}
8255 Py_DECREF(__pyx_2); __pyx_2 = 0;
8256 Py_DECREF(((PyObject *)__pyx_4)); __pyx_4 = 0;
8257 Py_DECREF(__pyx_3); __pyx_3 = 0;
8264 Py_XDECREF(__pyx_2);
8265 Py_XDECREF(__pyx_3);
8266 Py_XDECREF(__pyx_4);
8267 __Pyx_WriteUnraisable("purple.signal_signed_on_cb");
8269 Py_DECREF(__pyx_v_username);
8270 Py_DECREF(__pyx_v_protocol_id);
8273 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":52
8274 * (<object> signal_cbs["signed-on"])(username, protocol_id)
8276 * cdef void signal_signed_off_cb(connection.PurpleConnection *gc, \ # <<<<<<<<<<<<<<
8277 * glib.gpointer null):
8281 static PyObject *__pyx_kp_353;
8282 static PyObject *__pyx_kp_354;
8284 static char __pyx_k_353[] = "signed-off";
8285 static char __pyx_k_354[] = "signed-off";
8287 static void __pyx_f_6purple_signal_signed_off_cb(PurpleConnection *__pyx_v_gc, gpointer __pyx_v_null) {
8288 PurpleAccount *__pyx_v_acc;
8289 char *__pyx_v_c_username;
8290 char *__pyx_v_c_protocol_id;
8291 PyObject *__pyx_v_username;
8292 PyObject *__pyx_v_protocol_id;
8294 PyObject *__pyx_2 = 0;
8295 PyObject *__pyx_3 = 0;
8296 PyObject *__pyx_4 = 0;
8297 __pyx_v_username = Py_None; Py_INCREF(Py_None);
8298 __pyx_v_protocol_id = Py_None; Py_INCREF(Py_None);
8300 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":58
8301 * @params gc The connection that has signed off.
8303 * cdef account.PurpleAccount *acc = connection.purple_connection_get_account(gc) # <<<<<<<<<<<<<<
8304 * cdef char *c_username = NULL
8305 * cdef char *c_protocol_id = NULL
8307 __pyx_v_acc = purple_connection_get_account(__pyx_v_gc);
8310 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":59
8312 * cdef account.PurpleAccount *acc = connection.purple_connection_get_account(gc)
8313 * cdef char *c_username = NULL # <<<<<<<<<<<<<<
8314 * cdef char *c_protocol_id = NULL
8317 __pyx_v_c_username = NULL;
8320 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":60
8321 * cdef account.PurpleAccount *acc = connection.purple_connection_get_account(gc)
8322 * cdef char *c_username = NULL
8323 * cdef char *c_protocol_id = NULL # <<<<<<<<<<<<<<
8325 * c_username = <char *> account.purple_account_get_username(acc)
8327 __pyx_v_c_protocol_id = NULL;
8330 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":62
8331 * cdef char *c_protocol_id = NULL
8333 * c_username = <char *> account.purple_account_get_username(acc) # <<<<<<<<<<<<<<
8334 * if c_username == NULL:
8337 __pyx_v_c_username = ((char *)purple_account_get_username(__pyx_v_acc));
8339 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":63
8341 * c_username = <char *> account.purple_account_get_username(acc)
8342 * if c_username == NULL: # <<<<<<<<<<<<<<
8346 __pyx_1 = (__pyx_v_c_username == NULL);
8349 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":64
8350 * c_username = <char *> account.purple_account_get_username(acc)
8351 * if c_username == NULL:
8352 * username = None # <<<<<<<<<<<<<<
8354 * username = c_username
8357 Py_DECREF(__pyx_v_username);
8358 __pyx_v_username = Py_None;
8363 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":66
8366 * username = c_username # <<<<<<<<<<<<<<
8368 * c_protocol_id = <char *> account.purple_account_get_protocol_id(acc)
8370 __pyx_2 = __Pyx_PyBytes_FromString(__pyx_v_c_username); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 66; __pyx_clineno = __LINE__; goto __pyx_L1;}
8371 Py_DECREF(__pyx_v_username);
8372 __pyx_v_username = __pyx_2;
8377 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":68
8378 * username = c_username
8380 * c_protocol_id = <char *> account.purple_account_get_protocol_id(acc) # <<<<<<<<<<<<<<
8381 * if c_protocol_id == NULL:
8382 * protocol_id = None
8384 __pyx_v_c_protocol_id = ((char *)purple_account_get_protocol_id(__pyx_v_acc));
8386 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":69
8388 * c_protocol_id = <char *> account.purple_account_get_protocol_id(acc)
8389 * if c_protocol_id == NULL: # <<<<<<<<<<<<<<
8390 * protocol_id = None
8393 __pyx_1 = (__pyx_v_c_protocol_id == NULL);
8396 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":70
8397 * c_protocol_id = <char *> account.purple_account_get_protocol_id(acc)
8398 * if c_protocol_id == NULL:
8399 * protocol_id = None # <<<<<<<<<<<<<<
8401 * protocol_id = c_protocol_id
8404 Py_DECREF(__pyx_v_protocol_id);
8405 __pyx_v_protocol_id = Py_None;
8410 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":72
8411 * protocol_id = None
8413 * protocol_id = c_protocol_id # <<<<<<<<<<<<<<
8415 * if signal_cbs.has_key("signed-off"):
8417 __pyx_2 = __Pyx_PyBytes_FromString(__pyx_v_c_protocol_id); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 72; __pyx_clineno = __LINE__; goto __pyx_L1;}
8418 Py_DECREF(__pyx_v_protocol_id);
8419 __pyx_v_protocol_id = __pyx_2;
8424 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":74
8425 * protocol_id = c_protocol_id
8427 * if signal_cbs.has_key("signed-off"): # <<<<<<<<<<<<<<
8428 * (<object> signal_cbs["signed-off"])(username, protocol_id)
8431 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_signal_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 74; __pyx_clineno = __LINE__; goto __pyx_L1;}
8432 __pyx_3 = PyObject_GetAttr(__pyx_2, __pyx_kp_has_key); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 74; __pyx_clineno = __LINE__; goto __pyx_L1;}
8433 Py_DECREF(__pyx_2); __pyx_2 = 0;
8434 __pyx_2 = PyTuple_New(1); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 74; __pyx_clineno = __LINE__; goto __pyx_L1;}
8435 Py_INCREF(__pyx_kp_353);
8436 PyTuple_SET_ITEM(__pyx_2, 0, __pyx_kp_353);
8437 __pyx_4 = PyObject_Call(__pyx_3, ((PyObject *)__pyx_2), NULL); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 74; __pyx_clineno = __LINE__; goto __pyx_L1;}
8438 Py_DECREF(__pyx_3); __pyx_3 = 0;
8439 Py_DECREF(((PyObject *)__pyx_2)); __pyx_2 = 0;
8440 __pyx_1 = __Pyx_PyObject_IsTrue(__pyx_4); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 74; __pyx_clineno = __LINE__; goto __pyx_L1;}
8441 Py_DECREF(__pyx_4); __pyx_4 = 0;
8444 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":75
8446 * if signal_cbs.has_key("signed-off"):
8447 * (<object> signal_cbs["signed-off"])(username, protocol_id) # <<<<<<<<<<<<<<
8449 * cdef void signal_connection_error_cb(connection.PurpleConnection *gc, \
8451 __pyx_3 = __Pyx_GetName(__pyx_m, __pyx_kp_signal_cbs); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 75; __pyx_clineno = __LINE__; goto __pyx_L1;}
8452 __pyx_2 = PyObject_GetItem(__pyx_3, __pyx_kp_354); if (!__pyx_2) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 75; __pyx_clineno = __LINE__; goto __pyx_L1;}
8453 Py_DECREF(__pyx_3); __pyx_3 = 0;
8454 __pyx_4 = PyTuple_New(2); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 75; __pyx_clineno = __LINE__; goto __pyx_L1;}
8455 Py_INCREF(__pyx_v_username);
8456 PyTuple_SET_ITEM(__pyx_4, 0, __pyx_v_username);
8457 Py_INCREF(__pyx_v_protocol_id);
8458 PyTuple_SET_ITEM(__pyx_4, 1, __pyx_v_protocol_id);
8459 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_4), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 75; __pyx_clineno = __LINE__; goto __pyx_L1;}
8460 Py_DECREF(__pyx_2); __pyx_2 = 0;
8461 Py_DECREF(((PyObject *)__pyx_4)); __pyx_4 = 0;
8462 Py_DECREF(__pyx_3); __pyx_3 = 0;
8469 Py_XDECREF(__pyx_2);
8470 Py_XDECREF(__pyx_3);
8471 Py_XDECREF(__pyx_4);
8472 __Pyx_WriteUnraisable("purple.signal_signed_off_cb");
8474 Py_DECREF(__pyx_v_username);
8475 Py_DECREF(__pyx_v_protocol_id);
8478 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":77
8479 * (<object> signal_cbs["signed-off"])(username, protocol_id)
8481 * cdef void signal_connection_error_cb(connection.PurpleConnection *gc, \ # <<<<<<<<<<<<<<
8482 * connection.PurpleConnectionError err, const_gchar *c_desc):
8486 static PyObject *__pyx_kp_355;
8487 static PyObject *__pyx_kp_356;
8488 static PyObject *__pyx_kp_357;
8489 static PyObject *__pyx_kp_358;
8490 static PyObject *__pyx_kp_359;
8491 static PyObject *__pyx_kp_360;
8492 static PyObject *__pyx_kp_361;
8493 static PyObject *__pyx_kp_362;
8494 static PyObject *__pyx_kp_363;
8495 static PyObject *__pyx_kp_364;
8496 static PyObject *__pyx_kp_365;
8497 static PyObject *__pyx_kp_366;
8498 static PyObject *__pyx_kp_367;
8499 static PyObject *__pyx_kp_368;
8500 static PyObject *__pyx_kp_369;
8501 static PyObject *__pyx_kp_370;
8502 static PyObject *__pyx_kp_371;
8503 static PyObject *__pyx_kp_372;
8504 static PyObject *__pyx_kp_373;
8506 static char __pyx_k_355[] = "Network error";
8507 static char __pyx_k_356[] = "Invalid username";
8508 static char __pyx_k_357[] = "Authentication failed";
8509 static char __pyx_k_358[] = "Authentication impossible";
8510 static char __pyx_k_359[] = "No SSL support";
8511 static char __pyx_k_360[] = "Encryption error";
8512 static char __pyx_k_361[] = "Name in use";
8513 static char __pyx_k_362[] = "Invalid settings";
8514 static char __pyx_k_363[] = "SSL certificate not provided";
8515 static char __pyx_k_364[] = "SSL certificate untrusted";
8516 static char __pyx_k_365[] = "SSL certificate expired";
8517 static char __pyx_k_366[] = "SSL certificate not activated";
8518 static char __pyx_k_367[] = "SSL certificate hostname mismatch";
8519 static char __pyx_k_368[] = "SSL certificate fingerprint mismatch";
8520 static char __pyx_k_369[] = "SSL certificate self signed";
8521 static char __pyx_k_370[] = "SSL certificate other error";
8522 static char __pyx_k_371[] = "Other error";
8523 static char __pyx_k_372[] = "connection-error";
8524 static char __pyx_k_373[] = "connection-error";
8526 static void __pyx_f_6purple_signal_connection_error_cb(PurpleConnection *__pyx_v_gc, PurpleConnectionError __pyx_v_err, const gchar *__pyx_v_c_desc) {
8527 PurpleAccount *__pyx_v_acc;
8528 char *__pyx_v_c_username;
8529 char *__pyx_v_c_protocol_id;
8530 PyObject *__pyx_v_username;
8531 PyObject *__pyx_v_protocol_id;
8532 PyObject *__pyx_v_short_desc;
8533 PyObject *__pyx_v_desc;
8535 PyObject *__pyx_2 = 0;
8537 PyObject *__pyx_4 = 0;
8538 PyObject *__pyx_5 = 0;
8539 __pyx_v_username = Py_None; Py_INCREF(Py_None);
8540 __pyx_v_protocol_id = Py_None; Py_INCREF(Py_None);
8541 __pyx_v_short_desc = Py_None; Py_INCREF(Py_None);
8542 __pyx_v_desc = Py_None; Py_INCREF(Py_None);
8544 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":85
8545 * @params desc A description of the error, giving more information
8547 * cdef account.PurpleAccount *acc = connection.purple_connection_get_account(gc) # <<<<<<<<<<<<<<
8548 * cdef char *c_username = NULL
8549 * cdef char *c_protocol_id = NULL
8551 __pyx_v_acc = purple_connection_get_account(__pyx_v_gc);
8554 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":86
8556 * cdef account.PurpleAccount *acc = connection.purple_connection_get_account(gc)
8557 * cdef char *c_username = NULL # <<<<<<<<<<<<<<
8558 * cdef char *c_protocol_id = NULL
8561 __pyx_v_c_username = NULL;
8564 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":87
8565 * cdef account.PurpleAccount *acc = connection.purple_connection_get_account(gc)
8566 * cdef char *c_username = NULL
8567 * cdef char *c_protocol_id = NULL # <<<<<<<<<<<<<<
8569 * c_username = <char *> account.purple_account_get_username(acc)
8571 __pyx_v_c_protocol_id = NULL;
8574 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":89
8575 * cdef char *c_protocol_id = NULL
8577 * c_username = <char *> account.purple_account_get_username(acc) # <<<<<<<<<<<<<<
8579 * username = <char *> c_username
8581 __pyx_v_c_username = ((char *)purple_account_get_username(__pyx_v_acc));
8583 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":90
8585 * c_username = <char *> account.purple_account_get_username(acc)
8586 * if c_username: # <<<<<<<<<<<<<<
8587 * username = <char *> c_username
8590 __pyx_1 = (__pyx_v_c_username != 0);
8593 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":91
8594 * c_username = <char *> account.purple_account_get_username(acc)
8596 * username = <char *> c_username # <<<<<<<<<<<<<<
8600 __pyx_2 = __Pyx_PyBytes_FromString(((char *)__pyx_v_c_username)); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 91; __pyx_clineno = __LINE__; goto __pyx_L1;}
8601 Py_DECREF(__pyx_v_username);
8602 __pyx_v_username = __pyx_2;
8608 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":93
8609 * username = <char *> c_username
8611 * username = None # <<<<<<<<<<<<<<
8613 * c_protocol_id = <char *> account.purple_account_get_protocol_id(acc)
8616 Py_DECREF(__pyx_v_username);
8617 __pyx_v_username = Py_None;
8621 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":95
8624 * c_protocol_id = <char *> account.purple_account_get_protocol_id(acc) # <<<<<<<<<<<<<<
8626 * protocol_id = <char *> c_protocol_id
8628 __pyx_v_c_protocol_id = ((char *)purple_account_get_protocol_id(__pyx_v_acc));
8630 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":96
8632 * c_protocol_id = <char *> account.purple_account_get_protocol_id(acc)
8633 * if c_protocol_id: # <<<<<<<<<<<<<<
8634 * protocol_id = <char *> c_protocol_id
8637 __pyx_1 = (__pyx_v_c_protocol_id != 0);
8640 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":97
8641 * c_protocol_id = <char *> account.purple_account_get_protocol_id(acc)
8643 * protocol_id = <char *> c_protocol_id # <<<<<<<<<<<<<<
8645 * protocol_id = None
8647 __pyx_2 = __Pyx_PyBytes_FromString(((char *)__pyx_v_c_protocol_id)); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 97; __pyx_clineno = __LINE__; goto __pyx_L1;}
8648 Py_DECREF(__pyx_v_protocol_id);
8649 __pyx_v_protocol_id = __pyx_2;
8655 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":99
8656 * protocol_id = <char *> c_protocol_id
8658 * protocol_id = None # <<<<<<<<<<<<<<
8663 Py_DECREF(__pyx_v_protocol_id);
8664 __pyx_v_protocol_id = Py_None;
8668 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":118
8669 * 14: "SSL certificate self signed",
8670 * 15: "SSL certificate other error",
8671 * 16: "Other error" }[<int> err] # <<<<<<<<<<<<<<
8675 __pyx_2 = PyDict_New(); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 101; __pyx_clineno = __LINE__; goto __pyx_L1;}
8677 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":102
8680 * 0: "Network error", # <<<<<<<<<<<<<<
8681 * 1: "Invalid username",
8682 * 2: "Authentication failed",
8684 if (PyDict_SetItem(__pyx_2, __pyx_int_0, __pyx_kp_355) < 0) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 101; __pyx_clineno = __LINE__; goto __pyx_L1;}
8686 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":103
8688 * 0: "Network error",
8689 * 1: "Invalid username", # <<<<<<<<<<<<<<
8690 * 2: "Authentication failed",
8691 * 3: "Authentication impossible",
8693 if (PyDict_SetItem(__pyx_2, __pyx_int_1, __pyx_kp_356) < 0) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 101; __pyx_clineno = __LINE__; goto __pyx_L1;}
8695 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":104
8696 * 0: "Network error",
8697 * 1: "Invalid username",
8698 * 2: "Authentication failed", # <<<<<<<<<<<<<<
8699 * 3: "Authentication impossible",
8700 * 4: "No SSL support",
8702 if (PyDict_SetItem(__pyx_2, __pyx_int_2, __pyx_kp_357) < 0) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 101; __pyx_clineno = __LINE__; goto __pyx_L1;}
8704 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":105
8705 * 1: "Invalid username",
8706 * 2: "Authentication failed",
8707 * 3: "Authentication impossible", # <<<<<<<<<<<<<<
8708 * 4: "No SSL support",
8709 * 5: "Encryption error",
8711 if (PyDict_SetItem(__pyx_2, __pyx_int_3, __pyx_kp_358) < 0) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 101; __pyx_clineno = __LINE__; goto __pyx_L1;}
8713 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":106
8714 * 2: "Authentication failed",
8715 * 3: "Authentication impossible",
8716 * 4: "No SSL support", # <<<<<<<<<<<<<<
8717 * 5: "Encryption error",
8720 if (PyDict_SetItem(__pyx_2, __pyx_int_4, __pyx_kp_359) < 0) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 101; __pyx_clineno = __LINE__; goto __pyx_L1;}
8722 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":107
8723 * 3: "Authentication impossible",
8724 * 4: "No SSL support",
8725 * 5: "Encryption error", # <<<<<<<<<<<<<<
8727 * 7: "Invalid settings",
8729 if (PyDict_SetItem(__pyx_2, __pyx_int_5, __pyx_kp_360) < 0) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 101; __pyx_clineno = __LINE__; goto __pyx_L1;}
8731 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":108
8732 * 4: "No SSL support",
8733 * 5: "Encryption error",
8734 * 6: "Name in use", # <<<<<<<<<<<<<<
8735 * 7: "Invalid settings",
8736 * 8: "SSL certificate not provided",
8738 if (PyDict_SetItem(__pyx_2, __pyx_int_6, __pyx_kp_361) < 0) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 101; __pyx_clineno = __LINE__; goto __pyx_L1;}
8740 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":109
8741 * 5: "Encryption error",
8743 * 7: "Invalid settings", # <<<<<<<<<<<<<<
8744 * 8: "SSL certificate not provided",
8745 * 9: "SSL certificate untrusted",
8747 if (PyDict_SetItem(__pyx_2, __pyx_int_7, __pyx_kp_362) < 0) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 101; __pyx_clineno = __LINE__; goto __pyx_L1;}
8749 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":110
8751 * 7: "Invalid settings",
8752 * 8: "SSL certificate not provided", # <<<<<<<<<<<<<<
8753 * 9: "SSL certificate untrusted",
8754 * 10: "SSL certificate expired",
8756 if (PyDict_SetItem(__pyx_2, __pyx_int_8, __pyx_kp_363) < 0) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 101; __pyx_clineno = __LINE__; goto __pyx_L1;}
8758 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":111
8759 * 7: "Invalid settings",
8760 * 8: "SSL certificate not provided",
8761 * 9: "SSL certificate untrusted", # <<<<<<<<<<<<<<
8762 * 10: "SSL certificate expired",
8763 * 11: "SSL certificate not activated",
8765 if (PyDict_SetItem(__pyx_2, __pyx_int_9, __pyx_kp_364) < 0) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 101; __pyx_clineno = __LINE__; goto __pyx_L1;}
8767 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":112
8768 * 8: "SSL certificate not provided",
8769 * 9: "SSL certificate untrusted",
8770 * 10: "SSL certificate expired", # <<<<<<<<<<<<<<
8771 * 11: "SSL certificate not activated",
8772 * 12: "SSL certificate hostname mismatch",
8774 if (PyDict_SetItem(__pyx_2, __pyx_int_10, __pyx_kp_365) < 0) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 101; __pyx_clineno = __LINE__; goto __pyx_L1;}
8776 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":113
8777 * 9: "SSL certificate untrusted",
8778 * 10: "SSL certificate expired",
8779 * 11: "SSL certificate not activated", # <<<<<<<<<<<<<<
8780 * 12: "SSL certificate hostname mismatch",
8781 * 13: "SSL certificate fingerprint mismatch",
8783 if (PyDict_SetItem(__pyx_2, __pyx_int_11, __pyx_kp_366) < 0) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 101; __pyx_clineno = __LINE__; goto __pyx_L1;}
8785 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":114
8786 * 10: "SSL certificate expired",
8787 * 11: "SSL certificate not activated",
8788 * 12: "SSL certificate hostname mismatch", # <<<<<<<<<<<<<<
8789 * 13: "SSL certificate fingerprint mismatch",
8790 * 14: "SSL certificate self signed",
8792 if (PyDict_SetItem(__pyx_2, __pyx_int_12, __pyx_kp_367) < 0) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 101; __pyx_clineno = __LINE__; goto __pyx_L1;}
8794 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":115
8795 * 11: "SSL certificate not activated",
8796 * 12: "SSL certificate hostname mismatch",
8797 * 13: "SSL certificate fingerprint mismatch", # <<<<<<<<<<<<<<
8798 * 14: "SSL certificate self signed",
8799 * 15: "SSL certificate other error",
8801 if (PyDict_SetItem(__pyx_2, __pyx_int_13, __pyx_kp_368) < 0) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 101; __pyx_clineno = __LINE__; goto __pyx_L1;}
8803 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":116
8804 * 12: "SSL certificate hostname mismatch",
8805 * 13: "SSL certificate fingerprint mismatch",
8806 * 14: "SSL certificate self signed", # <<<<<<<<<<<<<<
8807 * 15: "SSL certificate other error",
8808 * 16: "Other error" }[<int> err]
8810 if (PyDict_SetItem(__pyx_2, __pyx_int_14, __pyx_kp_369) < 0) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 101; __pyx_clineno = __LINE__; goto __pyx_L1;}
8812 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":117
8813 * 13: "SSL certificate fingerprint mismatch",
8814 * 14: "SSL certificate self signed",
8815 * 15: "SSL certificate other error", # <<<<<<<<<<<<<<
8816 * 16: "Other error" }[<int> err]
8819 if (PyDict_SetItem(__pyx_2, __pyx_int_15, __pyx_kp_370) < 0) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 101; __pyx_clineno = __LINE__; goto __pyx_L1;}
8821 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":118
8822 * 14: "SSL certificate self signed",
8823 * 15: "SSL certificate other error",
8824 * 16: "Other error" }[<int> err] # <<<<<<<<<<<<<<
8828 if (PyDict_SetItem(__pyx_2, __pyx_int_16, __pyx_kp_371) < 0) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 101; __pyx_clineno = __LINE__; goto __pyx_L1;}
8829 __pyx_3 = ((int)__pyx_v_err);
8830 __pyx_4 = __Pyx_GetItemInt(((PyObject *)__pyx_2), __pyx_3, 0); if (!__pyx_4) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 118; __pyx_clineno = __LINE__; goto __pyx_L1;}
8831 Py_DECREF(((PyObject *)__pyx_2)); __pyx_2 = 0;
8832 Py_DECREF(__pyx_v_short_desc);
8833 __pyx_v_short_desc = __pyx_4;
8836 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":120
8837 * 16: "Other error" }[<int> err]
8839 * if c_desc: # <<<<<<<<<<<<<<
8840 * desc = str(<char *> c_desc)
8843 __pyx_1 = (__pyx_v_c_desc != 0);
8846 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":121
8849 * desc = str(<char *> c_desc) # <<<<<<<<<<<<<<
8853 __pyx_2 = __Pyx_PyBytes_FromString(((char *)__pyx_v_c_desc)); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 121; __pyx_clineno = __LINE__; goto __pyx_L1;}
8854 __pyx_4 = PyTuple_New(1); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 121; __pyx_clineno = __LINE__; goto __pyx_L1;}
8855 PyTuple_SET_ITEM(__pyx_4, 0, __pyx_2);
8857 __pyx_2 = PyObject_Call(((PyObject*)&PyBytes_Type), ((PyObject *)__pyx_4), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 121; __pyx_clineno = __LINE__; goto __pyx_L1;}
8858 Py_DECREF(((PyObject *)__pyx_4)); __pyx_4 = 0;
8859 Py_DECREF(__pyx_v_desc);
8860 __pyx_v_desc = __pyx_2;
8866 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":123
8867 * desc = str(<char *> c_desc)
8869 * desc = None # <<<<<<<<<<<<<<
8871 * if signal_cbs.has_key("connection-error"):
8874 Py_DECREF(__pyx_v_desc);
8875 __pyx_v_desc = Py_None;
8879 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":125
8882 * if signal_cbs.has_key("connection-error"): # <<<<<<<<<<<<<<
8883 * (<object> signal_cbs["connection-error"])(username, protocol_id, \
8886 __pyx_4 = __Pyx_GetName(__pyx_m, __pyx_kp_signal_cbs); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 125; __pyx_clineno = __LINE__; goto __pyx_L1;}
8887 __pyx_2 = PyObject_GetAttr(__pyx_4, __pyx_kp_has_key); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 125; __pyx_clineno = __LINE__; goto __pyx_L1;}
8888 Py_DECREF(__pyx_4); __pyx_4 = 0;
8889 __pyx_4 = PyTuple_New(1); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 125; __pyx_clineno = __LINE__; goto __pyx_L1;}
8890 Py_INCREF(__pyx_kp_372);
8891 PyTuple_SET_ITEM(__pyx_4, 0, __pyx_kp_372);
8892 __pyx_5 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_4), NULL); if (unlikely(!__pyx_5)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 125; __pyx_clineno = __LINE__; goto __pyx_L1;}
8893 Py_DECREF(__pyx_2); __pyx_2 = 0;
8894 Py_DECREF(((PyObject *)__pyx_4)); __pyx_4 = 0;
8895 __pyx_1 = __Pyx_PyObject_IsTrue(__pyx_5); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 125; __pyx_clineno = __LINE__; goto __pyx_L1;}
8896 Py_DECREF(__pyx_5); __pyx_5 = 0;
8899 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":126
8901 * if signal_cbs.has_key("connection-error"):
8902 * (<object> signal_cbs["connection-error"])(username, protocol_id, \ # <<<<<<<<<<<<<<
8906 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_signal_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 126; __pyx_clineno = __LINE__; goto __pyx_L1;}
8907 __pyx_4 = PyObject_GetItem(__pyx_2, __pyx_kp_373); if (!__pyx_4) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 126; __pyx_clineno = __LINE__; goto __pyx_L1;}
8908 Py_DECREF(__pyx_2); __pyx_2 = 0;
8910 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":127
8911 * if signal_cbs.has_key("connection-error"):
8912 * (<object> signal_cbs["connection-error"])(username, protocol_id, \
8913 * short_desc, desc) # <<<<<<<<<<<<<<
8915 * cdef void signal_buddy_signed_on_cb(blist.PurpleBuddy *buddy):
8917 __pyx_5 = PyTuple_New(4); if (unlikely(!__pyx_5)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 126; __pyx_clineno = __LINE__; goto __pyx_L1;}
8918 Py_INCREF(__pyx_v_username);
8919 PyTuple_SET_ITEM(__pyx_5, 0, __pyx_v_username);
8920 Py_INCREF(__pyx_v_protocol_id);
8921 PyTuple_SET_ITEM(__pyx_5, 1, __pyx_v_protocol_id);
8922 Py_INCREF(__pyx_v_short_desc);
8923 PyTuple_SET_ITEM(__pyx_5, 2, __pyx_v_short_desc);
8924 Py_INCREF(__pyx_v_desc);
8925 PyTuple_SET_ITEM(__pyx_5, 3, __pyx_v_desc);
8926 __pyx_2 = PyObject_Call(__pyx_4, ((PyObject *)__pyx_5), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 126; __pyx_clineno = __LINE__; goto __pyx_L1;}
8927 Py_DECREF(__pyx_4); __pyx_4 = 0;
8928 Py_DECREF(((PyObject *)__pyx_5)); __pyx_5 = 0;
8929 Py_DECREF(__pyx_2); __pyx_2 = 0;
8936 Py_XDECREF(__pyx_2);
8937 Py_XDECREF(__pyx_4);
8938 Py_XDECREF(__pyx_5);
8939 __Pyx_WriteUnraisable("purple.signal_connection_error_cb");
8941 Py_DECREF(__pyx_v_username);
8942 Py_DECREF(__pyx_v_protocol_id);
8943 Py_DECREF(__pyx_v_short_desc);
8944 Py_DECREF(__pyx_v_desc);
8947 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":129
8950 * cdef void signal_buddy_signed_on_cb(blist.PurpleBuddy *buddy): # <<<<<<<<<<<<<<
8952 * Emitted when a buddy on your buddy list signs on.
8955 static PyObject *__pyx_kp_374;
8956 static PyObject *__pyx_kp_375;
8958 static char __pyx_k_374[] = "buddy-signed-on";
8959 static char __pyx_k_375[] = "buddy-signed-on";
8961 static void __pyx_f_6purple_signal_buddy_signed_on_cb(PurpleBuddy *__pyx_v_buddy) {
8962 char *__pyx_v_c_name;
8963 char *__pyx_v_c_alias;
8964 PyObject *__pyx_v_name;
8965 PyObject *__pyx_v_alias;
8967 PyObject *__pyx_2 = 0;
8968 PyObject *__pyx_3 = 0;
8969 PyObject *__pyx_4 = 0;
8970 __pyx_v_name = Py_None; Py_INCREF(Py_None);
8971 __pyx_v_alias = Py_None; Py_INCREF(Py_None);
8973 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":134
8974 * @params buddy The buddy that signed on.
8976 * cdef char *c_name = NULL # <<<<<<<<<<<<<<
8977 * cdef char *c_alias = NULL
8980 __pyx_v_c_name = NULL;
8983 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":135
8985 * cdef char *c_name = NULL
8986 * cdef char *c_alias = NULL # <<<<<<<<<<<<<<
8988 * c_name = <char *> blist.purple_buddy_get_name(buddy)
8990 __pyx_v_c_alias = NULL;
8993 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":137
8994 * cdef char *c_alias = NULL
8996 * c_name = <char *> blist.purple_buddy_get_name(buddy) # <<<<<<<<<<<<<<
8997 * if c_name == NULL:
9000 __pyx_v_c_name = ((char *)purple_buddy_get_name(__pyx_v_buddy));
9002 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":138
9004 * c_name = <char *> blist.purple_buddy_get_name(buddy)
9005 * if c_name == NULL: # <<<<<<<<<<<<<<
9009 __pyx_1 = (__pyx_v_c_name == NULL);
9012 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":139
9013 * c_name = <char *> blist.purple_buddy_get_name(buddy)
9014 * if c_name == NULL:
9015 * name = None # <<<<<<<<<<<<<<
9020 Py_DECREF(__pyx_v_name);
9021 __pyx_v_name = Py_None;
9026 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":141
9029 * name = c_name # <<<<<<<<<<<<<<
9031 * c_alias = <char *> blist.purple_buddy_get_alias_only(buddy)
9033 __pyx_2 = __Pyx_PyBytes_FromString(__pyx_v_c_name); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 141; __pyx_clineno = __LINE__; goto __pyx_L1;}
9034 Py_DECREF(__pyx_v_name);
9035 __pyx_v_name = __pyx_2;
9040 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":143
9043 * c_alias = <char *> blist.purple_buddy_get_alias_only(buddy) # <<<<<<<<<<<<<<
9044 * if c_alias == NULL:
9047 __pyx_v_c_alias = ((char *)purple_buddy_get_alias_only(__pyx_v_buddy));
9049 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":144
9051 * c_alias = <char *> blist.purple_buddy_get_alias_only(buddy)
9052 * if c_alias == NULL: # <<<<<<<<<<<<<<
9056 __pyx_1 = (__pyx_v_c_alias == NULL);
9059 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":145
9060 * c_alias = <char *> blist.purple_buddy_get_alias_only(buddy)
9061 * if c_alias == NULL:
9062 * alias = None # <<<<<<<<<<<<<<
9067 Py_DECREF(__pyx_v_alias);
9068 __pyx_v_alias = Py_None;
9073 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":147
9076 * alias = c_alias # <<<<<<<<<<<<<<
9078 * if signal_cbs.has_key("buddy-signed-on"):
9080 __pyx_2 = __Pyx_PyBytes_FromString(__pyx_v_c_alias); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 147; __pyx_clineno = __LINE__; goto __pyx_L1;}
9081 Py_DECREF(__pyx_v_alias);
9082 __pyx_v_alias = __pyx_2;
9087 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":149
9090 * if signal_cbs.has_key("buddy-signed-on"): # <<<<<<<<<<<<<<
9091 * (<object> signal_cbs["buddy-signed-on"])(name, alias)
9094 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_signal_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 149; __pyx_clineno = __LINE__; goto __pyx_L1;}
9095 __pyx_3 = PyObject_GetAttr(__pyx_2, __pyx_kp_has_key); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 149; __pyx_clineno = __LINE__; goto __pyx_L1;}
9096 Py_DECREF(__pyx_2); __pyx_2 = 0;
9097 __pyx_2 = PyTuple_New(1); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 149; __pyx_clineno = __LINE__; goto __pyx_L1;}
9098 Py_INCREF(__pyx_kp_374);
9099 PyTuple_SET_ITEM(__pyx_2, 0, __pyx_kp_374);
9100 __pyx_4 = PyObject_Call(__pyx_3, ((PyObject *)__pyx_2), NULL); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 149; __pyx_clineno = __LINE__; goto __pyx_L1;}
9101 Py_DECREF(__pyx_3); __pyx_3 = 0;
9102 Py_DECREF(((PyObject *)__pyx_2)); __pyx_2 = 0;
9103 __pyx_1 = __Pyx_PyObject_IsTrue(__pyx_4); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 149; __pyx_clineno = __LINE__; goto __pyx_L1;}
9104 Py_DECREF(__pyx_4); __pyx_4 = 0;
9107 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":150
9109 * if signal_cbs.has_key("buddy-signed-on"):
9110 * (<object> signal_cbs["buddy-signed-on"])(name, alias) # <<<<<<<<<<<<<<
9112 * cdef void signal_buddy_signed_off_cb(blist.PurpleBuddy *buddy):
9114 __pyx_3 = __Pyx_GetName(__pyx_m, __pyx_kp_signal_cbs); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 150; __pyx_clineno = __LINE__; goto __pyx_L1;}
9115 __pyx_2 = PyObject_GetItem(__pyx_3, __pyx_kp_375); if (!__pyx_2) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 150; __pyx_clineno = __LINE__; goto __pyx_L1;}
9116 Py_DECREF(__pyx_3); __pyx_3 = 0;
9117 __pyx_4 = PyTuple_New(2); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 150; __pyx_clineno = __LINE__; goto __pyx_L1;}
9118 Py_INCREF(__pyx_v_name);
9119 PyTuple_SET_ITEM(__pyx_4, 0, __pyx_v_name);
9120 Py_INCREF(__pyx_v_alias);
9121 PyTuple_SET_ITEM(__pyx_4, 1, __pyx_v_alias);
9122 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_4), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 150; __pyx_clineno = __LINE__; goto __pyx_L1;}
9123 Py_DECREF(__pyx_2); __pyx_2 = 0;
9124 Py_DECREF(((PyObject *)__pyx_4)); __pyx_4 = 0;
9125 Py_DECREF(__pyx_3); __pyx_3 = 0;
9132 Py_XDECREF(__pyx_2);
9133 Py_XDECREF(__pyx_3);
9134 Py_XDECREF(__pyx_4);
9135 __Pyx_WriteUnraisable("purple.signal_buddy_signed_on_cb");
9137 Py_DECREF(__pyx_v_name);
9138 Py_DECREF(__pyx_v_alias);
9141 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":152
9142 * (<object> signal_cbs["buddy-signed-on"])(name, alias)
9144 * cdef void signal_buddy_signed_off_cb(blist.PurpleBuddy *buddy): # <<<<<<<<<<<<<<
9146 * Emitted when a buddy on your buddy list signs off.
9149 static PyObject *__pyx_kp_376;
9150 static PyObject *__pyx_kp_377;
9152 static char __pyx_k_376[] = "buddy-signed-off";
9153 static char __pyx_k_377[] = "buddy-signed-off";
9155 static void __pyx_f_6purple_signal_buddy_signed_off_cb(PurpleBuddy *__pyx_v_buddy) {
9156 char *__pyx_v_c_name;
9157 char *__pyx_v_c_alias;
9158 PyObject *__pyx_v_name;
9159 PyObject *__pyx_v_alias;
9161 PyObject *__pyx_2 = 0;
9162 PyObject *__pyx_3 = 0;
9163 PyObject *__pyx_4 = 0;
9164 __pyx_v_name = Py_None; Py_INCREF(Py_None);
9165 __pyx_v_alias = Py_None; Py_INCREF(Py_None);
9167 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":157
9168 * @params buddy The buddy that signed off.
9170 * cdef char *c_name = NULL # <<<<<<<<<<<<<<
9171 * cdef char *c_alias = NULL
9174 __pyx_v_c_name = NULL;
9177 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":158
9179 * cdef char *c_name = NULL
9180 * cdef char *c_alias = NULL # <<<<<<<<<<<<<<
9182 * c_name = <char *> blist.purple_buddy_get_name(buddy)
9184 __pyx_v_c_alias = NULL;
9187 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":160
9188 * cdef char *c_alias = NULL
9190 * c_name = <char *> blist.purple_buddy_get_name(buddy) # <<<<<<<<<<<<<<
9191 * if c_name == NULL:
9194 __pyx_v_c_name = ((char *)purple_buddy_get_name(__pyx_v_buddy));
9196 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":161
9198 * c_name = <char *> blist.purple_buddy_get_name(buddy)
9199 * if c_name == NULL: # <<<<<<<<<<<<<<
9203 __pyx_1 = (__pyx_v_c_name == NULL);
9206 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":162
9207 * c_name = <char *> blist.purple_buddy_get_name(buddy)
9208 * if c_name == NULL:
9209 * name = None # <<<<<<<<<<<<<<
9214 Py_DECREF(__pyx_v_name);
9215 __pyx_v_name = Py_None;
9220 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":164
9223 * name = c_name # <<<<<<<<<<<<<<
9225 * c_alias = <char *> blist.purple_buddy_get_alias_only(buddy)
9227 __pyx_2 = __Pyx_PyBytes_FromString(__pyx_v_c_name); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 164; __pyx_clineno = __LINE__; goto __pyx_L1;}
9228 Py_DECREF(__pyx_v_name);
9229 __pyx_v_name = __pyx_2;
9234 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":166
9237 * c_alias = <char *> blist.purple_buddy_get_alias_only(buddy) # <<<<<<<<<<<<<<
9238 * if c_alias == NULL:
9241 __pyx_v_c_alias = ((char *)purple_buddy_get_alias_only(__pyx_v_buddy));
9243 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":167
9245 * c_alias = <char *> blist.purple_buddy_get_alias_only(buddy)
9246 * if c_alias == NULL: # <<<<<<<<<<<<<<
9250 __pyx_1 = (__pyx_v_c_alias == NULL);
9253 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":168
9254 * c_alias = <char *> blist.purple_buddy_get_alias_only(buddy)
9255 * if c_alias == NULL:
9256 * alias = None # <<<<<<<<<<<<<<
9261 Py_DECREF(__pyx_v_alias);
9262 __pyx_v_alias = Py_None;
9267 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":170
9270 * alias = c_alias # <<<<<<<<<<<<<<
9272 * if signal_cbs.has_key("buddy-signed-off"):
9274 __pyx_2 = __Pyx_PyBytes_FromString(__pyx_v_c_alias); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 170; __pyx_clineno = __LINE__; goto __pyx_L1;}
9275 Py_DECREF(__pyx_v_alias);
9276 __pyx_v_alias = __pyx_2;
9281 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":172
9284 * if signal_cbs.has_key("buddy-signed-off"): # <<<<<<<<<<<<<<
9285 * (<object> signal_cbs["buddy-signed-off"])(name, alias)
9288 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_signal_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 172; __pyx_clineno = __LINE__; goto __pyx_L1;}
9289 __pyx_3 = PyObject_GetAttr(__pyx_2, __pyx_kp_has_key); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 172; __pyx_clineno = __LINE__; goto __pyx_L1;}
9290 Py_DECREF(__pyx_2); __pyx_2 = 0;
9291 __pyx_2 = PyTuple_New(1); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 172; __pyx_clineno = __LINE__; goto __pyx_L1;}
9292 Py_INCREF(__pyx_kp_376);
9293 PyTuple_SET_ITEM(__pyx_2, 0, __pyx_kp_376);
9294 __pyx_4 = PyObject_Call(__pyx_3, ((PyObject *)__pyx_2), NULL); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 172; __pyx_clineno = __LINE__; goto __pyx_L1;}
9295 Py_DECREF(__pyx_3); __pyx_3 = 0;
9296 Py_DECREF(((PyObject *)__pyx_2)); __pyx_2 = 0;
9297 __pyx_1 = __Pyx_PyObject_IsTrue(__pyx_4); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 172; __pyx_clineno = __LINE__; goto __pyx_L1;}
9298 Py_DECREF(__pyx_4); __pyx_4 = 0;
9301 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":173
9303 * if signal_cbs.has_key("buddy-signed-off"):
9304 * (<object> signal_cbs["buddy-signed-off"])(name, alias) # <<<<<<<<<<<<<<
9306 * cdef glib.gboolean signal_receiving_im_msg_cb(account.PurpleAccount *account, \
9308 __pyx_3 = __Pyx_GetName(__pyx_m, __pyx_kp_signal_cbs); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 173; __pyx_clineno = __LINE__; goto __pyx_L1;}
9309 __pyx_2 = PyObject_GetItem(__pyx_3, __pyx_kp_377); if (!__pyx_2) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 173; __pyx_clineno = __LINE__; goto __pyx_L1;}
9310 Py_DECREF(__pyx_3); __pyx_3 = 0;
9311 __pyx_4 = PyTuple_New(2); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 173; __pyx_clineno = __LINE__; goto __pyx_L1;}
9312 Py_INCREF(__pyx_v_name);
9313 PyTuple_SET_ITEM(__pyx_4, 0, __pyx_v_name);
9314 Py_INCREF(__pyx_v_alias);
9315 PyTuple_SET_ITEM(__pyx_4, 1, __pyx_v_alias);
9316 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_4), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 173; __pyx_clineno = __LINE__; goto __pyx_L1;}
9317 Py_DECREF(__pyx_2); __pyx_2 = 0;
9318 Py_DECREF(((PyObject *)__pyx_4)); __pyx_4 = 0;
9319 Py_DECREF(__pyx_3); __pyx_3 = 0;
9326 Py_XDECREF(__pyx_2);
9327 Py_XDECREF(__pyx_3);
9328 Py_XDECREF(__pyx_4);
9329 __Pyx_WriteUnraisable("purple.signal_buddy_signed_off_cb");
9331 Py_DECREF(__pyx_v_name);
9332 Py_DECREF(__pyx_v_alias);
9335 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":175
9336 * (<object> signal_cbs["buddy-signed-off"])(name, alias)
9338 * cdef glib.gboolean signal_receiving_im_msg_cb(account.PurpleAccount *account, \ # <<<<<<<<<<<<<<
9339 * char **sender, char **message, conversation.PurpleConversation *conv, \
9340 * conversation.PurpleMessageFlags *flags):
9343 static PyObject *__pyx_kp_378;
9344 static PyObject *__pyx_kp_379;
9346 static char __pyx_k_378[] = "receiving-im-msg";
9347 static char __pyx_k_379[] = "receiving-im-msg";
9349 static gboolean __pyx_f_6purple_signal_receiving_im_msg_cb(PurpleAccount *__pyx_v_account, char **__pyx_v_sender, char **__pyx_v_message, PurpleConversation *__pyx_v_conv, PurpleMessageFlags *__pyx_v_flags) {
9350 PurpleBuddy *__pyx_v_buddy;
9351 char *__pyx_v_c_alias;
9352 PyObject *__pyx_v_alias;
9353 PyObject *__pyx_v_stripped;
9356 PyObject *__pyx_2 = 0;
9357 PyObject *__pyx_3 = 0;
9358 PyObject *__pyx_4 = 0;
9360 __pyx_v_alias = Py_None; Py_INCREF(Py_None);
9361 __pyx_v_stripped = Py_None; Py_INCREF(Py_None);
9363 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":190
9364 * @params flags A pointer to the IM message flags.
9366 * cdef blist.PurpleBuddy *buddy = blist.purple_find_buddy(account, sender[0]) # <<<<<<<<<<<<<<
9367 * cdef char *c_alias = NULL
9370 __pyx_v_buddy = purple_find_buddy(__pyx_v_account, (__pyx_v_sender[0]));
9373 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":191
9375 * cdef blist.PurpleBuddy *buddy = blist.purple_find_buddy(account, sender[0])
9376 * cdef char *c_alias = NULL # <<<<<<<<<<<<<<
9378 * c_alias = <char *> blist.purple_buddy_get_alias_only(buddy)
9380 __pyx_v_c_alias = NULL;
9383 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":193
9384 * cdef char *c_alias = NULL
9386 * c_alias = <char *> blist.purple_buddy_get_alias_only(buddy) # <<<<<<<<<<<<<<
9387 * if c_alias == NULL:
9390 __pyx_v_c_alias = ((char *)purple_buddy_get_alias_only(__pyx_v_buddy));
9392 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":194
9394 * c_alias = <char *> blist.purple_buddy_get_alias_only(buddy)
9395 * if c_alias == NULL: # <<<<<<<<<<<<<<
9399 __pyx_1 = (__pyx_v_c_alias == NULL);
9402 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":195
9403 * c_alias = <char *> blist.purple_buddy_get_alias_only(buddy)
9404 * if c_alias == NULL:
9405 * alias = None # <<<<<<<<<<<<<<
9410 Py_DECREF(__pyx_v_alias);
9411 __pyx_v_alias = Py_None;
9416 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":197
9419 * alias = c_alias # <<<<<<<<<<<<<<
9421 * stripped = util.purple_markup_strip_html(message[0])
9423 __pyx_2 = __Pyx_PyBytes_FromString(__pyx_v_c_alias); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 197; __pyx_clineno = __LINE__; goto __pyx_L1;}
9424 Py_DECREF(__pyx_v_alias);
9425 __pyx_v_alias = __pyx_2;
9430 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":199
9433 * stripped = util.purple_markup_strip_html(message[0]) # <<<<<<<<<<<<<<
9435 * if signal_cbs.has_key("receiving-im-msg"):
9437 __pyx_2 = __Pyx_PyBytes_FromString(purple_markup_strip_html((__pyx_v_message[0]))); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 199; __pyx_clineno = __LINE__; goto __pyx_L1;}
9438 Py_DECREF(__pyx_v_stripped);
9439 __pyx_v_stripped = __pyx_2;
9442 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":201
9443 * stripped = util.purple_markup_strip_html(message[0])
9445 * if signal_cbs.has_key("receiving-im-msg"): # <<<<<<<<<<<<<<
9446 * return (<object> signal_cbs["receiving-im-msg"])(sender[0], alias, stripped)
9449 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_signal_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 201; __pyx_clineno = __LINE__; goto __pyx_L1;}
9450 __pyx_3 = PyObject_GetAttr(__pyx_2, __pyx_kp_has_key); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 201; __pyx_clineno = __LINE__; goto __pyx_L1;}
9451 Py_DECREF(__pyx_2); __pyx_2 = 0;
9452 __pyx_2 = PyTuple_New(1); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 201; __pyx_clineno = __LINE__; goto __pyx_L1;}
9453 Py_INCREF(__pyx_kp_378);
9454 PyTuple_SET_ITEM(__pyx_2, 0, __pyx_kp_378);
9455 __pyx_4 = PyObject_Call(__pyx_3, ((PyObject *)__pyx_2), NULL); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 201; __pyx_clineno = __LINE__; goto __pyx_L1;}
9456 Py_DECREF(__pyx_3); __pyx_3 = 0;
9457 Py_DECREF(((PyObject *)__pyx_2)); __pyx_2 = 0;
9458 __pyx_1 = __Pyx_PyObject_IsTrue(__pyx_4); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 201; __pyx_clineno = __LINE__; goto __pyx_L1;}
9459 Py_DECREF(__pyx_4); __pyx_4 = 0;
9462 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":202
9464 * if signal_cbs.has_key("receiving-im-msg"):
9465 * return (<object> signal_cbs["receiving-im-msg"])(sender[0], alias, stripped) # <<<<<<<<<<<<<<
9467 * cdef void jabber_receiving_xmlnode_cb(connection.PurpleConnection *gc, \
9469 __pyx_3 = __Pyx_GetName(__pyx_m, __pyx_kp_signal_cbs); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1;}
9470 __pyx_2 = PyObject_GetItem(__pyx_3, __pyx_kp_379); if (!__pyx_2) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1;}
9471 Py_DECREF(__pyx_3); __pyx_3 = 0;
9472 __pyx_4 = __Pyx_PyBytes_FromString((__pyx_v_sender[0])); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1;}
9473 __pyx_3 = PyTuple_New(3); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1;}
9474 PyTuple_SET_ITEM(__pyx_3, 0, __pyx_4);
9475 Py_INCREF(__pyx_v_alias);
9476 PyTuple_SET_ITEM(__pyx_3, 1, __pyx_v_alias);
9477 Py_INCREF(__pyx_v_stripped);
9478 PyTuple_SET_ITEM(__pyx_3, 2, __pyx_v_stripped);
9480 __pyx_4 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_3), NULL); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1;}
9481 Py_DECREF(__pyx_2); __pyx_2 = 0;
9482 Py_DECREF(((PyObject *)__pyx_3)); __pyx_3 = 0;
9483 __pyx_5 = __pyx_PyInt_int(__pyx_4); if (unlikely((__pyx_5 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1;}
9484 Py_DECREF(__pyx_4); __pyx_4 = 0;
9494 Py_XDECREF(__pyx_2);
9495 Py_XDECREF(__pyx_3);
9496 Py_XDECREF(__pyx_4);
9497 __Pyx_WriteUnraisable("purple.signal_receiving_im_msg_cb");
9500 Py_DECREF(__pyx_v_alias);
9501 Py_DECREF(__pyx_v_stripped);
9505 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":204
9506 * return (<object> signal_cbs["receiving-im-msg"])(sender[0], alias, stripped)
9508 * cdef void jabber_receiving_xmlnode_cb(connection.PurpleConnection *gc, \ # <<<<<<<<<<<<<<
9509 * xmlnode.xmlnode **packet, glib.gpointer null):
9513 static PyObject *__pyx_kp_380;
9514 static PyObject *__pyx_kp_381;
9516 static char __pyx_k_380[] = "jabber-receiving-xmlnode";
9517 static char __pyx_k_381[] = "jabber-receiving-xmlnode";
9519 static void __pyx_f_6purple_jabber_receiving_xmlnode_cb(PurpleConnection *__pyx_v_gc, xmlnode **__pyx_v_packet, gpointer __pyx_v_null) {
9520 PyObject *__pyx_v_message;
9521 PyObject *__pyx_1 = 0;
9522 PyObject *__pyx_2 = 0;
9523 PyObject *__pyx_3 = 0;
9525 __pyx_v_message = Py_None; Py_INCREF(Py_None);
9527 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":209
9528 * Emitted when jabber receives a XML node.
9530 * message = xmlnode.xmlnode_to_str(packet[0], NULL) # <<<<<<<<<<<<<<
9532 * if signal_cbs.has_key("jabber-receiving-xmlnode"):
9534 __pyx_1 = __Pyx_PyBytes_FromString(xmlnode_to_str((__pyx_v_packet[0]), NULL)); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 209; __pyx_clineno = __LINE__; goto __pyx_L1;}
9535 Py_DECREF(__pyx_v_message);
9536 __pyx_v_message = __pyx_1;
9539 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":211
9540 * message = xmlnode.xmlnode_to_str(packet[0], NULL)
9542 * if signal_cbs.has_key("jabber-receiving-xmlnode"): # <<<<<<<<<<<<<<
9543 * (<object> signal_cbs["jabber-receiving-xmlnode"])(message)
9545 __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_signal_cbs); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 211; __pyx_clineno = __LINE__; goto __pyx_L1;}
9546 __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_has_key); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 211; __pyx_clineno = __LINE__; goto __pyx_L1;}
9547 Py_DECREF(__pyx_1); __pyx_1 = 0;
9548 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 211; __pyx_clineno = __LINE__; goto __pyx_L1;}
9549 Py_INCREF(__pyx_kp_380);
9550 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_kp_380);
9551 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 211; __pyx_clineno = __LINE__; goto __pyx_L1;}
9552 Py_DECREF(__pyx_2); __pyx_2 = 0;
9553 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
9554 __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_3); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 211; __pyx_clineno = __LINE__; goto __pyx_L1;}
9555 Py_DECREF(__pyx_3); __pyx_3 = 0;
9558 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":212
9560 * if signal_cbs.has_key("jabber-receiving-xmlnode"):
9561 * (<object> signal_cbs["jabber-receiving-xmlnode"])(message) # <<<<<<<<<<<<<<
9563 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_signal_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 212; __pyx_clineno = __LINE__; goto __pyx_L1;}
9564 __pyx_1 = PyObject_GetItem(__pyx_2, __pyx_kp_381); if (!__pyx_1) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 212; __pyx_clineno = __LINE__; goto __pyx_L1;}
9565 Py_DECREF(__pyx_2); __pyx_2 = 0;
9566 __pyx_3 = PyTuple_New(1); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 212; __pyx_clineno = __LINE__; goto __pyx_L1;}
9567 Py_INCREF(__pyx_v_message);
9568 PyTuple_SET_ITEM(__pyx_3, 0, __pyx_v_message);
9569 __pyx_2 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_3), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 212; __pyx_clineno = __LINE__; goto __pyx_L1;}
9570 Py_DECREF(__pyx_1); __pyx_1 = 0;
9571 Py_DECREF(((PyObject *)__pyx_3)); __pyx_3 = 0;
9572 Py_DECREF(__pyx_2); __pyx_2 = 0;
9579 Py_XDECREF(__pyx_1);
9580 Py_XDECREF(__pyx_2);
9581 Py_XDECREF(__pyx_3);
9582 __Pyx_WriteUnraisable("purple.jabber_receiving_xmlnode_cb");
9584 Py_DECREF(__pyx_v_message);
9587 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/util.pxd":22
9590 * def markup_strip_html(message): # <<<<<<<<<<<<<<
9591 * if message is None:
9595 static PyObject *__pyx_pf_6purple_markup_strip_html(PyObject *__pyx_self, PyObject *__pyx_v_message); /*proto*/
9596 static PyObject *__pyx_pf_6purple_markup_strip_html(PyObject *__pyx_self, PyObject *__pyx_v_message) {
9600 PyObject *__pyx_3 = 0;
9602 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/util.pxd":23
9604 * def markup_strip_html(message):
9605 * if message is None: # <<<<<<<<<<<<<<
9609 __pyx_1 = (__pyx_v_message == Py_None);
9612 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/util.pxd":24
9613 * def markup_strip_html(message):
9614 * if message is None:
9615 * return None # <<<<<<<<<<<<<<
9617 * return util.purple_markup_strip_html(message)
9626 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/util.pxd":26
9629 * return util.purple_markup_strip_html(message) # <<<<<<<<<<<<<<
9631 __pyx_2 = __Pyx_PyBytes_AsString(__pyx_v_message); if (unlikely((!__pyx_2) && PyErr_Occurred())) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 26; __pyx_clineno = __LINE__; goto __pyx_L1;}
9632 __pyx_3 = __Pyx_PyBytes_FromString(purple_markup_strip_html(__pyx_2)); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[7]; __pyx_lineno = 26; __pyx_clineno = __LINE__; goto __pyx_L1;}
9639 __pyx_r = Py_None; Py_INCREF(Py_None);
9642 Py_XDECREF(__pyx_3);
9643 __Pyx_AddTraceback("purple.markup_strip_html");
9649 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":68
9652 * def __init__(self, ui_name, ui_version, ui_website, ui_dev_website, \ # <<<<<<<<<<<<<<
9653 * debug_enabled=None, default_path=None):
9657 static char __pyx_k_timer_add[] = "timer_add";
9659 static PyObject *__pyx_kp_timer_add;
9661 static int __pyx_pf_6purple_6Purple___init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
9662 static int __pyx_pf_6purple_6Purple___init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
9663 PyObject *__pyx_v_ui_name = 0;
9664 PyObject *__pyx_v_ui_version = 0;
9665 PyObject *__pyx_v_ui_website = 0;
9666 PyObject *__pyx_v_ui_dev_website = 0;
9667 PyObject *__pyx_v_debug_enabled = 0;
9668 PyObject *__pyx_v_default_path = 0;
9673 PyObject *__pyx_4 = 0;
9674 PyObject *__pyx_5 = 0;
9675 PyObject *__pyx_6 = 0;
9676 PyObject *__pyx_7 = 0;
9677 static char *__pyx_argnames[] = {"ui_name","ui_version","ui_website","ui_dev_website","debug_enabled","default_path",0};
9678 __pyx_v_debug_enabled = Py_None;
9679 __pyx_v_default_path = Py_None;
9680 if (likely(!__pyx_kwds) && likely(4 <= PyTuple_GET_SIZE(__pyx_args)) && likely(PyTuple_GET_SIZE(__pyx_args) <= 6)) {
9681 __pyx_v_ui_name = PyTuple_GET_ITEM(__pyx_args, 0);
9682 __pyx_v_ui_version = PyTuple_GET_ITEM(__pyx_args, 1);
9683 __pyx_v_ui_website = PyTuple_GET_ITEM(__pyx_args, 2);
9684 __pyx_v_ui_dev_website = PyTuple_GET_ITEM(__pyx_args, 3);
9685 if (PyTuple_GET_SIZE(__pyx_args) > 4) {
9686 __pyx_v_debug_enabled = PyTuple_GET_ITEM(__pyx_args, 4);
9687 if (PyTuple_GET_SIZE(__pyx_args) > 5) {
9688 __pyx_v_default_path = PyTuple_GET_ITEM(__pyx_args, 5);
9693 if (unlikely(!PyArg_ParseTupleAndKeywords(__pyx_args, __pyx_kwds, "OOOO|OO", __pyx_argnames, &__pyx_v_ui_name, &__pyx_v_ui_version, &__pyx_v_ui_website, &__pyx_v_ui_dev_website, &__pyx_v_debug_enabled, &__pyx_v_default_path))) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 68; __pyx_clineno = __LINE__; goto __pyx_L2;}
9697 __Pyx_AddTraceback("purple.Purple.__init__");
9701 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":76
9702 * global c_ui_dev_website
9704 * c_ui_name = ui_name # <<<<<<<<<<<<<<
9705 * c_ui_version = ui_version
9706 * c_ui_website = ui_website
9708 __pyx_1 = __Pyx_PyBytes_AsString(__pyx_v_ui_name); if (unlikely((!__pyx_1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 76; __pyx_clineno = __LINE__; goto __pyx_L1;}
9709 __pyx_v_6purple_c_ui_name = __pyx_1;
9711 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":77
9713 * c_ui_name = ui_name
9714 * c_ui_version = ui_version # <<<<<<<<<<<<<<
9715 * c_ui_website = ui_website
9716 * c_ui_dev_website = ui_dev_website
9718 __pyx_1 = __Pyx_PyBytes_AsString(__pyx_v_ui_version); if (unlikely((!__pyx_1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L1;}
9719 __pyx_v_6purple_c_ui_version = __pyx_1;
9721 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":78
9722 * c_ui_name = ui_name
9723 * c_ui_version = ui_version
9724 * c_ui_website = ui_website # <<<<<<<<<<<<<<
9725 * c_ui_dev_website = ui_dev_website
9728 __pyx_1 = __Pyx_PyBytes_AsString(__pyx_v_ui_website); if (unlikely((!__pyx_1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 78; __pyx_clineno = __LINE__; goto __pyx_L1;}
9729 __pyx_v_6purple_c_ui_website = __pyx_1;
9731 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":79
9732 * c_ui_version = ui_version
9733 * c_ui_website = ui_website
9734 * c_ui_dev_website = ui_dev_website # <<<<<<<<<<<<<<
9738 __pyx_1 = __Pyx_PyBytes_AsString(__pyx_v_ui_dev_website); if (unlikely((!__pyx_1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 79; __pyx_clineno = __LINE__; goto __pyx_L1;}
9739 __pyx_v_6purple_c_ui_dev_website = __pyx_1;
9741 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":81
9742 * c_ui_dev_website = ui_dev_website
9744 * if debug_enabled: # <<<<<<<<<<<<<<
9745 * debug.purple_debug_set_enabled(debug_enabled)
9748 __pyx_2 = __Pyx_PyObject_IsTrue(__pyx_v_debug_enabled); if (unlikely(__pyx_2 < 0)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 81; __pyx_clineno = __LINE__; goto __pyx_L1;}
9751 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":82
9754 * debug.purple_debug_set_enabled(debug_enabled) # <<<<<<<<<<<<<<
9758 __pyx_3 = __pyx_PyInt_int(__pyx_v_debug_enabled); if (unlikely((__pyx_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 82; __pyx_clineno = __LINE__; goto __pyx_L1;}
9759 purple_debug_set_enabled(__pyx_3);
9764 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":84
9765 * debug.purple_debug_set_enabled(debug_enabled)
9767 * if default_path: # <<<<<<<<<<<<<<
9768 * util.purple_util_set_user_dir(default_path)
9771 __pyx_2 = __Pyx_PyObject_IsTrue(__pyx_v_default_path); if (unlikely(__pyx_2 < 0)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 84; __pyx_clineno = __LINE__; goto __pyx_L1;}
9774 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":85
9777 * util.purple_util_set_user_dir(default_path) # <<<<<<<<<<<<<<
9779 * # adds glib iteration inside ecore main loop
9781 __pyx_1 = __Pyx_PyBytes_AsString(__pyx_v_default_path); if (unlikely((!__pyx_1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 85; __pyx_clineno = __LINE__; goto __pyx_L1;}
9782 purple_util_set_user_dir(__pyx_1);
9787 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":88
9789 * # adds glib iteration inside ecore main loop
9790 * ecore.timer_add(0.001, self.__glib_iteration_when_idle) # <<<<<<<<<<<<<<
9792 * def destroy(self):
9794 __pyx_4 = __Pyx_GetName(__pyx_m, __pyx_kp_ecore); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 88; __pyx_clineno = __LINE__; goto __pyx_L1;}
9795 __pyx_5 = PyObject_GetAttr(__pyx_4, __pyx_kp_timer_add); if (unlikely(!__pyx_5)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 88; __pyx_clineno = __LINE__; goto __pyx_L1;}
9796 Py_DECREF(__pyx_4); __pyx_4 = 0;
9797 __pyx_4 = PyFloat_FromDouble(0.001); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 88; __pyx_clineno = __LINE__; goto __pyx_L1;}
9798 __pyx_6 = PyObject_GetAttr(__pyx_v_self, __pyx_kp_1); if (unlikely(!__pyx_6)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 88; __pyx_clineno = __LINE__; goto __pyx_L1;}
9799 __pyx_7 = PyTuple_New(2); if (unlikely(!__pyx_7)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 88; __pyx_clineno = __LINE__; goto __pyx_L1;}
9800 PyTuple_SET_ITEM(__pyx_7, 0, __pyx_4);
9801 PyTuple_SET_ITEM(__pyx_7, 1, __pyx_6);
9804 __pyx_4 = PyObject_Call(__pyx_5, ((PyObject *)__pyx_7), NULL); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 88; __pyx_clineno = __LINE__; goto __pyx_L1;}
9805 Py_DECREF(__pyx_5); __pyx_5 = 0;
9806 Py_DECREF(((PyObject *)__pyx_7)); __pyx_7 = 0;
9807 Py_DECREF(__pyx_4); __pyx_4 = 0;
9812 Py_XDECREF(__pyx_4);
9813 Py_XDECREF(__pyx_5);
9814 Py_XDECREF(__pyx_6);
9815 Py_XDECREF(__pyx_7);
9816 __Pyx_AddTraceback("purple.Purple.__init__");
9822 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":90
9823 * ecore.timer_add(0.001, self.__glib_iteration_when_idle)
9825 * def destroy(self): # <<<<<<<<<<<<<<
9826 * core.purple_core_quit()
9830 static PyObject *__pyx_pf_6purple_6Purple_destroy(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
9831 static PyObject *__pyx_pf_6purple_6Purple_destroy(PyObject *__pyx_v_self, PyObject *unused) {
9834 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":91
9836 * def destroy(self):
9837 * core.purple_core_quit() # <<<<<<<<<<<<<<
9839 * def __get_ui_name(self):
9843 __pyx_r = Py_None; Py_INCREF(Py_None);
9847 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":93
9848 * core.purple_core_quit()
9850 * def __get_ui_name(self): # <<<<<<<<<<<<<<
9852 * return str(c_ui_name)
9855 static PyObject *__pyx_pf_6purple_6Purple___get_ui_name(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
9856 static PyObject *__pyx_pf_6purple_6Purple___get_ui_name(PyObject *__pyx_v_self, PyObject *unused) {
9858 PyObject *__pyx_1 = 0;
9859 PyObject *__pyx_2 = 0;
9861 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":95
9862 * def __get_ui_name(self):
9864 * return str(c_ui_name) # <<<<<<<<<<<<<<
9865 * ui_name = property(__get_ui_name)
9868 __pyx_1 = __Pyx_PyBytes_FromString(__pyx_v_6purple_c_ui_name); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 95; __pyx_clineno = __LINE__; goto __pyx_L1;}
9869 __pyx_2 = PyTuple_New(1); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 95; __pyx_clineno = __LINE__; goto __pyx_L1;}
9870 PyTuple_SET_ITEM(__pyx_2, 0, __pyx_1);
9872 __pyx_1 = PyObject_Call(((PyObject*)&PyBytes_Type), ((PyObject *)__pyx_2), NULL); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 95; __pyx_clineno = __LINE__; goto __pyx_L1;}
9873 Py_DECREF(((PyObject *)__pyx_2)); __pyx_2 = 0;
9878 __pyx_r = Py_None; Py_INCREF(Py_None);
9881 Py_XDECREF(__pyx_1);
9882 Py_XDECREF(__pyx_2);
9883 __Pyx_AddTraceback("purple.Purple.__get_ui_name");
9889 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":98
9890 * ui_name = property(__get_ui_name)
9892 * cdef void __core_ui_ops_ui_prefs_init(self): # <<<<<<<<<<<<<<
9893 * debug.purple_debug_info("core_ui_ops", "%s", "ui_prefs_init\n")
9894 * prefs.purple_prefs_load()
9897 static char __pyx_k_382[] = "core_ui_ops";
9898 static char __pyx_k_383[] = "%s";
9899 static char __pyx_k_384[] = "ui_prefs_init\n";
9900 static char __pyx_k_385[] = "/carman";
9902 static void __pyx_f_6purple_6Purple___core_ui_ops_ui_prefs_init(struct __pyx_obj_6purple_Purple *__pyx_v_self) {
9904 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":99
9906 * cdef void __core_ui_ops_ui_prefs_init(self):
9907 * debug.purple_debug_info("core_ui_ops", "%s", "ui_prefs_init\n") # <<<<<<<<<<<<<<
9908 * prefs.purple_prefs_load()
9911 purple_debug_info(__pyx_k_382, __pyx_k_383, __pyx_k_384);
9913 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":100
9914 * cdef void __core_ui_ops_ui_prefs_init(self):
9915 * debug.purple_debug_info("core_ui_ops", "%s", "ui_prefs_init\n")
9916 * prefs.purple_prefs_load() # <<<<<<<<<<<<<<
9918 * prefs.purple_prefs_add_none("/carman")
9920 purple_prefs_load();
9922 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":102
9923 * prefs.purple_prefs_load()
9925 * prefs.purple_prefs_add_none("/carman") # <<<<<<<<<<<<<<
9927 * cdef void __core_ui_ops_debug_init(self):
9929 purple_prefs_add_none(__pyx_k_385);
9933 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":104
9934 * prefs.purple_prefs_add_none("/carman")
9936 * cdef void __core_ui_ops_debug_init(self): # <<<<<<<<<<<<<<
9937 * debug.purple_debug_info("core_ui_ops", "%s", "debug_ui_init\n")
9941 static char __pyx_k_386[] = "core_ui_ops";
9942 static char __pyx_k_387[] = "%s";
9943 static char __pyx_k_388[] = "debug_ui_init\n";
9945 static void __pyx_f_6purple_6Purple___core_ui_ops_debug_init(struct __pyx_obj_6purple_Purple *__pyx_v_self) {
9947 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":105
9949 * cdef void __core_ui_ops_debug_init(self):
9950 * debug.purple_debug_info("core_ui_ops", "%s", "debug_ui_init\n") # <<<<<<<<<<<<<<
9954 purple_debug_info(__pyx_k_386, __pyx_k_387, __pyx_k_388);
9956 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":106
9957 * cdef void __core_ui_ops_debug_init(self):
9958 * debug.purple_debug_info("core_ui_ops", "%s", "debug_ui_init\n")
9959 * pass # <<<<<<<<<<<<<<
9961 * cdef void __core_ui_ops_ui_init(self):
9966 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":108
9969 * cdef void __core_ui_ops_ui_init(self): # <<<<<<<<<<<<<<
9970 * debug.purple_debug_info("core_ui_ops", "%s", "ui_init\n")
9974 static char __pyx_k_389[] = "core_ui_ops";
9975 static char __pyx_k_390[] = "%s";
9976 static char __pyx_k_391[] = "ui_init\n";
9978 static void __pyx_f_6purple_6Purple___core_ui_ops_ui_init(struct __pyx_obj_6purple_Purple *__pyx_v_self) {
9980 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":109
9982 * cdef void __core_ui_ops_ui_init(self):
9983 * debug.purple_debug_info("core_ui_ops", "%s", "ui_init\n") # <<<<<<<<<<<<<<
9985 * account.purple_accounts_set_ui_ops(&c_account_ui_ops)
9987 purple_debug_info(__pyx_k_389, __pyx_k_390, __pyx_k_391);
9989 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":111
9990 * debug.purple_debug_info("core_ui_ops", "%s", "ui_init\n")
9992 * account.purple_accounts_set_ui_ops(&c_account_ui_ops) # <<<<<<<<<<<<<<
9993 * connection.purple_connections_set_ui_ops(&c_conn_ui_ops)
9994 * blist.purple_blist_set_ui_ops(&c_blist_ui_ops)
9996 purple_accounts_set_ui_ops((&__pyx_v_6purple_c_account_ui_ops));
9998 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":112
10000 * account.purple_accounts_set_ui_ops(&c_account_ui_ops)
10001 * connection.purple_connections_set_ui_ops(&c_conn_ui_ops) # <<<<<<<<<<<<<<
10002 * blist.purple_blist_set_ui_ops(&c_blist_ui_ops)
10003 * conversation.purple_conversations_set_ui_ops(&c_conv_ui_ops)
10005 purple_connections_set_ui_ops((&__pyx_v_6purple_c_conn_ui_ops));
10007 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":113
10008 * account.purple_accounts_set_ui_ops(&c_account_ui_ops)
10009 * connection.purple_connections_set_ui_ops(&c_conn_ui_ops)
10010 * blist.purple_blist_set_ui_ops(&c_blist_ui_ops) # <<<<<<<<<<<<<<
10011 * conversation.purple_conversations_set_ui_ops(&c_conv_ui_ops)
10012 * notify.purple_notify_set_ui_ops(&c_notify_ui_ops)
10014 purple_blist_set_ui_ops((&__pyx_v_6purple_c_blist_ui_ops));
10016 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":114
10017 * connection.purple_connections_set_ui_ops(&c_conn_ui_ops)
10018 * blist.purple_blist_set_ui_ops(&c_blist_ui_ops)
10019 * conversation.purple_conversations_set_ui_ops(&c_conv_ui_ops) # <<<<<<<<<<<<<<
10020 * notify.purple_notify_set_ui_ops(&c_notify_ui_ops)
10021 * #privacy.purple_privacy_set_ui_ops(&c_privacy_ui_ops)
10023 purple_conversations_set_ui_ops((&__pyx_v_6purple_c_conv_ui_ops));
10025 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":115
10026 * blist.purple_blist_set_ui_ops(&c_blist_ui_ops)
10027 * conversation.purple_conversations_set_ui_ops(&c_conv_ui_ops)
10028 * notify.purple_notify_set_ui_ops(&c_notify_ui_ops) # <<<<<<<<<<<<<<
10029 * #privacy.purple_privacy_set_ui_ops(&c_privacy_ui_ops)
10030 * request.purple_request_set_ui_ops(&c_request_ui_ops)
10032 purple_notify_set_ui_ops((&__pyx_v_6purple_c_notify_ui_ops));
10034 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":117
10035 * notify.purple_notify_set_ui_ops(&c_notify_ui_ops)
10036 * #privacy.purple_privacy_set_ui_ops(&c_privacy_ui_ops)
10037 * request.purple_request_set_ui_ops(&c_request_ui_ops) # <<<<<<<<<<<<<<
10038 * #ft.purple_xfers_set_ui_ops(&c_ft_ui_ops)
10039 * #roomlist.purple_roomlist_set_ui_ops(&c_rlist_ui_ops)
10041 purple_request_set_ui_ops((&__pyx_v_6purple_c_request_ui_ops));
10045 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":121
10046 * #roomlist.purple_roomlist_set_ui_ops(&c_rlist_ui_ops)
10048 * cdef void __core_ui_ops_quit(self): # <<<<<<<<<<<<<<
10049 * debug.purple_debug_info("core_ui_ops", "%s", "quit\n")
10053 static char __pyx_k_c_ui_info[] = "c_ui_info";
10055 static PyObject *__pyx_kp_c_ui_info;
10057 static char __pyx_k_392[] = "core_ui_ops";
10058 static char __pyx_k_393[] = "%s";
10059 static char __pyx_k_394[] = "quit\n";
10061 static void __pyx_f_6purple_6Purple___core_ui_ops_quit(struct __pyx_obj_6purple_Purple *__pyx_v_self) {
10062 PyObject *__pyx_1 = 0;
10065 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":122
10067 * cdef void __core_ui_ops_quit(self):
10068 * debug.purple_debug_info("core_ui_ops", "%s", "quit\n") # <<<<<<<<<<<<<<
10070 * account.purple_accounts_set_ui_ops(NULL)
10072 purple_debug_info(__pyx_k_392, __pyx_k_393, __pyx_k_394);
10074 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":124
10075 * debug.purple_debug_info("core_ui_ops", "%s", "quit\n")
10077 * account.purple_accounts_set_ui_ops(NULL) # <<<<<<<<<<<<<<
10078 * connection.purple_connections_set_ui_ops(NULL)
10079 * blist.purple_blist_set_ui_ops(NULL)
10081 purple_accounts_set_ui_ops(NULL);
10083 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":125
10085 * account.purple_accounts_set_ui_ops(NULL)
10086 * connection.purple_connections_set_ui_ops(NULL) # <<<<<<<<<<<<<<
10087 * blist.purple_blist_set_ui_ops(NULL)
10088 * conversation.purple_conversations_set_ui_ops(NULL)
10090 purple_connections_set_ui_ops(NULL);
10092 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":126
10093 * account.purple_accounts_set_ui_ops(NULL)
10094 * connection.purple_connections_set_ui_ops(NULL)
10095 * blist.purple_blist_set_ui_ops(NULL) # <<<<<<<<<<<<<<
10096 * conversation.purple_conversations_set_ui_ops(NULL)
10097 * notify.purple_notify_set_ui_ops(NULL)
10099 purple_blist_set_ui_ops(NULL);
10101 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":127
10102 * connection.purple_connections_set_ui_ops(NULL)
10103 * blist.purple_blist_set_ui_ops(NULL)
10104 * conversation.purple_conversations_set_ui_ops(NULL) # <<<<<<<<<<<<<<
10105 * notify.purple_notify_set_ui_ops(NULL)
10106 * #privacy.purple_privacy_set_ui_ops(NULL)
10108 purple_conversations_set_ui_ops(NULL);
10110 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":128
10111 * blist.purple_blist_set_ui_ops(NULL)
10112 * conversation.purple_conversations_set_ui_ops(NULL)
10113 * notify.purple_notify_set_ui_ops(NULL) # <<<<<<<<<<<<<<
10114 * #privacy.purple_privacy_set_ui_ops(NULL)
10115 * request.purple_request_set_ui_ops(NULL)
10117 purple_notify_set_ui_ops(NULL);
10119 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":130
10120 * notify.purple_notify_set_ui_ops(NULL)
10121 * #privacy.purple_privacy_set_ui_ops(NULL)
10122 * request.purple_request_set_ui_ops(NULL) # <<<<<<<<<<<<<<
10123 * #ft.purple_xfers_set_ui_ops(NULL)
10124 * #roomlist.purple_roomlist_set_ui_ops(NULL)
10126 purple_request_set_ui_ops(NULL);
10128 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":134
10129 * #roomlist.purple_roomlist_set_ui_ops(NULL)
10131 * if self.c_ui_info: # <<<<<<<<<<<<<<
10132 * glib.g_hash_table_destroy(<glib.GHashTable *> self.c_ui_info)
10135 __pyx_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_kp_c_ui_info); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 134; __pyx_clineno = __LINE__; goto __pyx_L1;}
10136 __pyx_2 = __Pyx_PyObject_IsTrue(__pyx_1); if (unlikely(__pyx_2 < 0)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 134; __pyx_clineno = __LINE__; goto __pyx_L1;}
10137 Py_DECREF(__pyx_1); __pyx_1 = 0;
10140 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":135
10142 * if self.c_ui_info:
10143 * glib.g_hash_table_destroy(<glib.GHashTable *> self.c_ui_info) # <<<<<<<<<<<<<<
10145 * cdef glib.GHashTable *__core_ui_ops_get_ui_info(self):
10147 __pyx_1 = PyObject_GetAttr(((PyObject *)__pyx_v_self), __pyx_kp_c_ui_info); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 135; __pyx_clineno = __LINE__; goto __pyx_L1;}
10148 g_hash_table_destroy(((GHashTable *)__pyx_1));
10149 Py_DECREF(__pyx_1); __pyx_1 = 0;
10156 Py_XDECREF(__pyx_1);
10157 __Pyx_WriteUnraisable("purple.Purple.__core_ui_ops_quit");
10161 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":137
10162 * glib.g_hash_table_destroy(<glib.GHashTable *> self.c_ui_info)
10164 * cdef glib.GHashTable *__core_ui_ops_get_ui_info(self): # <<<<<<<<<<<<<<
10169 static char __pyx_k_395[] = "name";
10170 static char __pyx_k_396[] = "version";
10171 static char __pyx_k_397[] = "website";
10172 static char __pyx_k_398[] = "dev_website";
10174 static GHashTable *__pyx_f_6purple_6Purple___core_ui_ops_get_ui_info(struct __pyx_obj_6purple_Purple *__pyx_v_self) {
10175 GHashTable *__pyx_r;
10178 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":144
10179 * global c_ui_dev_website
10181 * if c_ui_info == NULL: # <<<<<<<<<<<<<<
10182 * c_ui_info = glib.g_hash_table_new(glib.g_str_hash, \
10183 * glib.g_str_equal)
10185 __pyx_1 = (__pyx_v_6purple_c_ui_info == NULL);
10188 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":146
10189 * if c_ui_info == NULL:
10190 * c_ui_info = glib.g_hash_table_new(glib.g_str_hash, \
10191 * glib.g_str_equal) # <<<<<<<<<<<<<<
10193 * glib.g_hash_table_insert(c_ui_info, "name", c_ui_name)
10195 __pyx_v_6purple_c_ui_info = g_hash_table_new(g_str_hash, g_str_equal);
10197 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":148
10198 * glib.g_str_equal)
10200 * glib.g_hash_table_insert(c_ui_info, "name", c_ui_name) # <<<<<<<<<<<<<<
10201 * glib.g_hash_table_insert(c_ui_info, "version", c_ui_version)
10202 * glib.g_hash_table_insert(c_ui_info, "website", c_ui_website)
10204 g_hash_table_insert(__pyx_v_6purple_c_ui_info, __pyx_k_395, __pyx_v_6purple_c_ui_name);
10206 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":149
10208 * glib.g_hash_table_insert(c_ui_info, "name", c_ui_name)
10209 * glib.g_hash_table_insert(c_ui_info, "version", c_ui_version) # <<<<<<<<<<<<<<
10210 * glib.g_hash_table_insert(c_ui_info, "website", c_ui_website)
10211 * glib.g_hash_table_insert(c_ui_info, "dev_website", c_ui_dev_website)
10213 g_hash_table_insert(__pyx_v_6purple_c_ui_info, __pyx_k_396, __pyx_v_6purple_c_ui_version);
10215 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":150
10216 * glib.g_hash_table_insert(c_ui_info, "name", c_ui_name)
10217 * glib.g_hash_table_insert(c_ui_info, "version", c_ui_version)
10218 * glib.g_hash_table_insert(c_ui_info, "website", c_ui_website) # <<<<<<<<<<<<<<
10219 * glib.g_hash_table_insert(c_ui_info, "dev_website", c_ui_dev_website)
10222 g_hash_table_insert(__pyx_v_6purple_c_ui_info, __pyx_k_397, __pyx_v_6purple_c_ui_website);
10224 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":151
10225 * glib.g_hash_table_insert(c_ui_info, "version", c_ui_version)
10226 * glib.g_hash_table_insert(c_ui_info, "website", c_ui_website)
10227 * glib.g_hash_table_insert(c_ui_info, "dev_website", c_ui_dev_website) # <<<<<<<<<<<<<<
10231 g_hash_table_insert(__pyx_v_6purple_c_ui_info, __pyx_k_398, __pyx_v_6purple_c_ui_dev_website);
10236 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":152
10237 * glib.g_hash_table_insert(c_ui_info, "website", c_ui_website)
10238 * glib.g_hash_table_insert(c_ui_info, "dev_website", c_ui_dev_website)
10239 * return c_ui_info # <<<<<<<<<<<<<<
10241 * def __glib_iteration_when_idle(self):
10243 __pyx_r = __pyx_v_6purple_c_ui_info;
10251 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":154
10254 * def __glib_iteration_when_idle(self): # <<<<<<<<<<<<<<
10255 * glib.g_main_context_iteration(NULL, False)
10259 static PyObject *__pyx_pf_6purple_6Purple___glib_iteration_when_idle(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
10260 static PyObject *__pyx_pf_6purple_6Purple___glib_iteration_when_idle(PyObject *__pyx_v_self, PyObject *unused) {
10263 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":155
10265 * def __glib_iteration_when_idle(self):
10266 * glib.g_main_context_iteration(NULL, False) # <<<<<<<<<<<<<<
10270 g_main_context_iteration(NULL, 0);
10272 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":156
10273 * def __glib_iteration_when_idle(self):
10274 * glib.g_main_context_iteration(NULL, False)
10275 * return True # <<<<<<<<<<<<<<
10277 * def purple_init(self):
10279 Py_INCREF(Py_True);
10283 __pyx_r = Py_None; Py_INCREF(Py_None);
10288 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":158
10291 * def purple_init(self): # <<<<<<<<<<<<<<
10292 * """ Initializes libpurple """
10296 static char __pyx_k_399[] = "main";
10297 static char __pyx_k_400[] = "%s";
10298 static char __pyx_k_401[] = "libpurple initialization failed.\n";
10299 static char __pyx_k_402[] = "main";
10300 static char __pyx_k_403[] = "%s";
10301 static char __pyx_k_404[] = "Another instance of libpurple is already running.\n";
10303 static PyObject *__pyx_pf_6purple_6Purple_purple_init(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
10304 static char __pyx_doc_6purple_6Purple_purple_init[] = " Initializes libpurple ";
10305 static PyObject *__pyx_pf_6purple_6Purple_purple_init(PyObject *__pyx_v_self, PyObject *unused) {
10306 PyObject *__pyx_v_ret;
10308 PyObject *__pyx_1 = 0;
10310 PyObject *__pyx_3 = 0;
10311 __pyx_v_ret = Py_None; Py_INCREF(Py_None);
10313 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":162
10316 * c_account_ui_ops.notify_added = notify_added # <<<<<<<<<<<<<<
10317 * c_account_ui_ops.status_changed = status_changed
10318 * c_account_ui_ops.request_add = request_add
10320 __pyx_v_6purple_c_account_ui_ops.notify_added = __pyx_f_6purple_notify_added;
10322 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":163
10324 * c_account_ui_ops.notify_added = notify_added
10325 * c_account_ui_ops.status_changed = status_changed # <<<<<<<<<<<<<<
10326 * c_account_ui_ops.request_add = request_add
10327 * c_account_ui_ops.request_authorize = request_authorize
10329 __pyx_v_6purple_c_account_ui_ops.status_changed = __pyx_f_6purple_status_changed;
10331 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":164
10332 * c_account_ui_ops.notify_added = notify_added
10333 * c_account_ui_ops.status_changed = status_changed
10334 * c_account_ui_ops.request_add = request_add # <<<<<<<<<<<<<<
10335 * c_account_ui_ops.request_authorize = request_authorize
10336 * c_account_ui_ops.close_account_request = close_account_request
10338 __pyx_v_6purple_c_account_ui_ops.request_add = __pyx_f_6purple_request_add;
10340 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":165
10341 * c_account_ui_ops.status_changed = status_changed
10342 * c_account_ui_ops.request_add = request_add
10343 * c_account_ui_ops.request_authorize = request_authorize # <<<<<<<<<<<<<<
10344 * c_account_ui_ops.close_account_request = close_account_request
10347 __pyx_v_6purple_c_account_ui_ops.request_authorize = __pyx_f_6purple_request_authorize;
10349 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":166
10350 * c_account_ui_ops.request_add = request_add
10351 * c_account_ui_ops.request_authorize = request_authorize
10352 * c_account_ui_ops.close_account_request = close_account_request # <<<<<<<<<<<<<<
10354 * c_blist_ui_ops.new_list = new_list
10356 __pyx_v_6purple_c_account_ui_ops.close_account_request = __pyx_f_6purple_close_account_request;
10358 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":168
10359 * c_account_ui_ops.close_account_request = close_account_request
10361 * c_blist_ui_ops.new_list = new_list # <<<<<<<<<<<<<<
10362 * c_blist_ui_ops.new_node = new_node
10363 * c_blist_ui_ops.show = show
10365 __pyx_v_6purple_c_blist_ui_ops.new_list = __pyx_f_6purple_new_list;
10367 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":169
10369 * c_blist_ui_ops.new_list = new_list
10370 * c_blist_ui_ops.new_node = new_node # <<<<<<<<<<<<<<
10371 * c_blist_ui_ops.show = show
10372 * c_blist_ui_ops.update = update
10374 __pyx_v_6purple_c_blist_ui_ops.new_node = __pyx_f_6purple_new_node;
10376 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":170
10377 * c_blist_ui_ops.new_list = new_list
10378 * c_blist_ui_ops.new_node = new_node
10379 * c_blist_ui_ops.show = show # <<<<<<<<<<<<<<
10380 * c_blist_ui_ops.update = update
10381 * c_blist_ui_ops.remove = remove
10383 __pyx_v_6purple_c_blist_ui_ops.show = __pyx_f_6purple_show;
10385 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":171
10386 * c_blist_ui_ops.new_node = new_node
10387 * c_blist_ui_ops.show = show
10388 * c_blist_ui_ops.update = update # <<<<<<<<<<<<<<
10389 * c_blist_ui_ops.remove = remove
10390 * c_blist_ui_ops.destroy = destroy
10392 __pyx_v_6purple_c_blist_ui_ops.update = __pyx_f_6purple_update;
10394 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":172
10395 * c_blist_ui_ops.show = show
10396 * c_blist_ui_ops.update = update
10397 * c_blist_ui_ops.remove = remove # <<<<<<<<<<<<<<
10398 * c_blist_ui_ops.destroy = destroy
10399 * c_blist_ui_ops.set_visible = set_visible
10401 __pyx_v_6purple_c_blist_ui_ops.remove = __pyx_f_6purple_remove;
10403 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":173
10404 * c_blist_ui_ops.update = update
10405 * c_blist_ui_ops.remove = remove
10406 * c_blist_ui_ops.destroy = destroy # <<<<<<<<<<<<<<
10407 * c_blist_ui_ops.set_visible = set_visible
10408 * c_blist_ui_ops.request_add_buddy = request_add_buddy
10410 __pyx_v_6purple_c_blist_ui_ops.destroy = __pyx_f_6purple_destroy;
10412 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":174
10413 * c_blist_ui_ops.remove = remove
10414 * c_blist_ui_ops.destroy = destroy
10415 * c_blist_ui_ops.set_visible = set_visible # <<<<<<<<<<<<<<
10416 * c_blist_ui_ops.request_add_buddy = request_add_buddy
10417 * c_blist_ui_ops.request_add_chat = request_add_chat
10419 __pyx_v_6purple_c_blist_ui_ops.set_visible = __pyx_f_6purple_set_visible;
10421 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":175
10422 * c_blist_ui_ops.destroy = destroy
10423 * c_blist_ui_ops.set_visible = set_visible
10424 * c_blist_ui_ops.request_add_buddy = request_add_buddy # <<<<<<<<<<<<<<
10425 * c_blist_ui_ops.request_add_chat = request_add_chat
10426 * c_blist_ui_ops.request_add_group = request_add_group
10428 __pyx_v_6purple_c_blist_ui_ops.request_add_buddy = __pyx_f_6purple_request_add_buddy;
10430 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":176
10431 * c_blist_ui_ops.set_visible = set_visible
10432 * c_blist_ui_ops.request_add_buddy = request_add_buddy
10433 * c_blist_ui_ops.request_add_chat = request_add_chat # <<<<<<<<<<<<<<
10434 * c_blist_ui_ops.request_add_group = request_add_group
10437 __pyx_v_6purple_c_blist_ui_ops.request_add_chat = __pyx_f_6purple_request_add_chat;
10439 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":177
10440 * c_blist_ui_ops.request_add_buddy = request_add_buddy
10441 * c_blist_ui_ops.request_add_chat = request_add_chat
10442 * c_blist_ui_ops.request_add_group = request_add_group # <<<<<<<<<<<<<<
10444 * c_conn_ui_ops.connect_progress = connect_progress
10446 __pyx_v_6purple_c_blist_ui_ops.request_add_group = __pyx_f_6purple_request_add_group;
10448 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":179
10449 * c_blist_ui_ops.request_add_group = request_add_group
10451 * c_conn_ui_ops.connect_progress = connect_progress # <<<<<<<<<<<<<<
10452 * c_conn_ui_ops.connected = connected
10453 * c_conn_ui_ops.disconnected = disconnected
10455 __pyx_v_6purple_c_conn_ui_ops.connect_progress = __pyx_f_6purple_connect_progress;
10457 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":180
10459 * c_conn_ui_ops.connect_progress = connect_progress
10460 * c_conn_ui_ops.connected = connected # <<<<<<<<<<<<<<
10461 * c_conn_ui_ops.disconnected = disconnected
10462 * c_conn_ui_ops.notice = notice
10464 __pyx_v_6purple_c_conn_ui_ops.connected = __pyx_f_6purple_connected;
10466 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":181
10467 * c_conn_ui_ops.connect_progress = connect_progress
10468 * c_conn_ui_ops.connected = connected
10469 * c_conn_ui_ops.disconnected = disconnected # <<<<<<<<<<<<<<
10470 * c_conn_ui_ops.notice = notice
10471 * c_conn_ui_ops.report_disconnect = report_disconnect
10473 __pyx_v_6purple_c_conn_ui_ops.disconnected = __pyx_f_6purple_disconnected;
10475 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":182
10476 * c_conn_ui_ops.connected = connected
10477 * c_conn_ui_ops.disconnected = disconnected
10478 * c_conn_ui_ops.notice = notice # <<<<<<<<<<<<<<
10479 * c_conn_ui_ops.report_disconnect = report_disconnect
10480 * c_conn_ui_ops.network_connected = network_connected
10482 __pyx_v_6purple_c_conn_ui_ops.notice = __pyx_f_6purple_notice;
10484 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":183
10485 * c_conn_ui_ops.disconnected = disconnected
10486 * c_conn_ui_ops.notice = notice
10487 * c_conn_ui_ops.report_disconnect = report_disconnect # <<<<<<<<<<<<<<
10488 * c_conn_ui_ops.network_connected = network_connected
10489 * c_conn_ui_ops.network_disconnected = network_disconnected
10491 __pyx_v_6purple_c_conn_ui_ops.report_disconnect = __pyx_f_6purple_report_disconnect;
10493 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":184
10494 * c_conn_ui_ops.notice = notice
10495 * c_conn_ui_ops.report_disconnect = report_disconnect
10496 * c_conn_ui_ops.network_connected = network_connected # <<<<<<<<<<<<<<
10497 * c_conn_ui_ops.network_disconnected = network_disconnected
10498 * c_conn_ui_ops.report_disconnect_reason = report_disconnect_reason
10500 __pyx_v_6purple_c_conn_ui_ops.network_connected = __pyx_f_6purple_network_connected;
10502 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":185
10503 * c_conn_ui_ops.report_disconnect = report_disconnect
10504 * c_conn_ui_ops.network_connected = network_connected
10505 * c_conn_ui_ops.network_disconnected = network_disconnected # <<<<<<<<<<<<<<
10506 * c_conn_ui_ops.report_disconnect_reason = report_disconnect_reason
10509 __pyx_v_6purple_c_conn_ui_ops.network_disconnected = __pyx_f_6purple_network_disconnected;
10511 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":186
10512 * c_conn_ui_ops.network_connected = network_connected
10513 * c_conn_ui_ops.network_disconnected = network_disconnected
10514 * c_conn_ui_ops.report_disconnect_reason = report_disconnect_reason # <<<<<<<<<<<<<<
10516 * c_conv_ui_ops.create_conversation = create_conversation
10518 __pyx_v_6purple_c_conn_ui_ops.report_disconnect_reason = __pyx_f_6purple_report_disconnect_reason;
10520 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":188
10521 * c_conn_ui_ops.report_disconnect_reason = report_disconnect_reason
10523 * c_conv_ui_ops.create_conversation = create_conversation # <<<<<<<<<<<<<<
10524 * c_conv_ui_ops.destroy_conversation = destroy_conversation
10525 * c_conv_ui_ops.write_chat = write_chat
10527 __pyx_v_6purple_c_conv_ui_ops.create_conversation = __pyx_f_6purple_create_conversation;
10529 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":189
10531 * c_conv_ui_ops.create_conversation = create_conversation
10532 * c_conv_ui_ops.destroy_conversation = destroy_conversation # <<<<<<<<<<<<<<
10533 * c_conv_ui_ops.write_chat = write_chat
10534 * c_conv_ui_ops.write_im = write_im
10536 __pyx_v_6purple_c_conv_ui_ops.destroy_conversation = __pyx_f_6purple_destroy_conversation;
10538 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":190
10539 * c_conv_ui_ops.create_conversation = create_conversation
10540 * c_conv_ui_ops.destroy_conversation = destroy_conversation
10541 * c_conv_ui_ops.write_chat = write_chat # <<<<<<<<<<<<<<
10542 * c_conv_ui_ops.write_im = write_im
10543 * c_conv_ui_ops.write_conv = write_conv
10545 __pyx_v_6purple_c_conv_ui_ops.write_chat = __pyx_f_6purple_write_chat;
10547 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":191
10548 * c_conv_ui_ops.destroy_conversation = destroy_conversation
10549 * c_conv_ui_ops.write_chat = write_chat
10550 * c_conv_ui_ops.write_im = write_im # <<<<<<<<<<<<<<
10551 * c_conv_ui_ops.write_conv = write_conv
10552 * c_conv_ui_ops.chat_add_users = chat_add_users
10554 __pyx_v_6purple_c_conv_ui_ops.write_im = __pyx_f_6purple_write_im;
10556 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":192
10557 * c_conv_ui_ops.write_chat = write_chat
10558 * c_conv_ui_ops.write_im = write_im
10559 * c_conv_ui_ops.write_conv = write_conv # <<<<<<<<<<<<<<
10560 * c_conv_ui_ops.chat_add_users = chat_add_users
10561 * c_conv_ui_ops.chat_rename_user = chat_rename_user
10563 __pyx_v_6purple_c_conv_ui_ops.write_conv = __pyx_f_6purple_write_conv;
10565 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":193
10566 * c_conv_ui_ops.write_im = write_im
10567 * c_conv_ui_ops.write_conv = write_conv
10568 * c_conv_ui_ops.chat_add_users = chat_add_users # <<<<<<<<<<<<<<
10569 * c_conv_ui_ops.chat_rename_user = chat_rename_user
10570 * c_conv_ui_ops.chat_remove_users = chat_remove_users
10572 __pyx_v_6purple_c_conv_ui_ops.chat_add_users = __pyx_f_6purple_chat_add_users;
10574 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":194
10575 * c_conv_ui_ops.write_conv = write_conv
10576 * c_conv_ui_ops.chat_add_users = chat_add_users
10577 * c_conv_ui_ops.chat_rename_user = chat_rename_user # <<<<<<<<<<<<<<
10578 * c_conv_ui_ops.chat_remove_users = chat_remove_users
10579 * c_conv_ui_ops.chat_update_user = chat_update_user
10581 __pyx_v_6purple_c_conv_ui_ops.chat_rename_user = __pyx_f_6purple_chat_rename_user;
10583 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":195
10584 * c_conv_ui_ops.chat_add_users = chat_add_users
10585 * c_conv_ui_ops.chat_rename_user = chat_rename_user
10586 * c_conv_ui_ops.chat_remove_users = chat_remove_users # <<<<<<<<<<<<<<
10587 * c_conv_ui_ops.chat_update_user = chat_update_user
10588 * c_conv_ui_ops.present = present
10590 __pyx_v_6purple_c_conv_ui_ops.chat_remove_users = __pyx_f_6purple_chat_remove_users;
10592 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":196
10593 * c_conv_ui_ops.chat_rename_user = chat_rename_user
10594 * c_conv_ui_ops.chat_remove_users = chat_remove_users
10595 * c_conv_ui_ops.chat_update_user = chat_update_user # <<<<<<<<<<<<<<
10596 * c_conv_ui_ops.present = present
10597 * c_conv_ui_ops.has_focus = has_focus
10599 __pyx_v_6purple_c_conv_ui_ops.chat_update_user = __pyx_f_6purple_chat_update_user;
10601 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":197
10602 * c_conv_ui_ops.chat_remove_users = chat_remove_users
10603 * c_conv_ui_ops.chat_update_user = chat_update_user
10604 * c_conv_ui_ops.present = present # <<<<<<<<<<<<<<
10605 * c_conv_ui_ops.has_focus = has_focus
10606 * c_conv_ui_ops.custom_smiley_add = custom_smiley_add
10608 __pyx_v_6purple_c_conv_ui_ops.present = __pyx_f_6purple_present;
10610 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":198
10611 * c_conv_ui_ops.chat_update_user = chat_update_user
10612 * c_conv_ui_ops.present = present
10613 * c_conv_ui_ops.has_focus = has_focus # <<<<<<<<<<<<<<
10614 * c_conv_ui_ops.custom_smiley_add = custom_smiley_add
10615 * c_conv_ui_ops.custom_smiley_write = custom_smiley_write
10617 __pyx_v_6purple_c_conv_ui_ops.has_focus = __pyx_f_6purple_has_focus;
10619 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":199
10620 * c_conv_ui_ops.present = present
10621 * c_conv_ui_ops.has_focus = has_focus
10622 * c_conv_ui_ops.custom_smiley_add = custom_smiley_add # <<<<<<<<<<<<<<
10623 * c_conv_ui_ops.custom_smiley_write = custom_smiley_write
10624 * c_conv_ui_ops.custom_smiley_close = custom_smiley_close
10626 __pyx_v_6purple_c_conv_ui_ops.custom_smiley_add = __pyx_f_6purple_custom_smiley_add;
10628 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":200
10629 * c_conv_ui_ops.has_focus = has_focus
10630 * c_conv_ui_ops.custom_smiley_add = custom_smiley_add
10631 * c_conv_ui_ops.custom_smiley_write = custom_smiley_write # <<<<<<<<<<<<<<
10632 * c_conv_ui_ops.custom_smiley_close = custom_smiley_close
10633 * c_conv_ui_ops.send_confirm = send_confirm
10635 __pyx_v_6purple_c_conv_ui_ops.custom_smiley_write = __pyx_f_6purple_custom_smiley_write;
10637 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":201
10638 * c_conv_ui_ops.custom_smiley_add = custom_smiley_add
10639 * c_conv_ui_ops.custom_smiley_write = custom_smiley_write
10640 * c_conv_ui_ops.custom_smiley_close = custom_smiley_close # <<<<<<<<<<<<<<
10641 * c_conv_ui_ops.send_confirm = send_confirm
10644 __pyx_v_6purple_c_conv_ui_ops.custom_smiley_close = __pyx_f_6purple_custom_smiley_close;
10646 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":202
10647 * c_conv_ui_ops.custom_smiley_write = custom_smiley_write
10648 * c_conv_ui_ops.custom_smiley_close = custom_smiley_close
10649 * c_conv_ui_ops.send_confirm = send_confirm # <<<<<<<<<<<<<<
10651 * c_notify_ui_ops.notify_message = notify_message
10653 __pyx_v_6purple_c_conv_ui_ops.send_confirm = __pyx_f_6purple_send_confirm;
10655 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":204
10656 * c_conv_ui_ops.send_confirm = send_confirm
10658 * c_notify_ui_ops.notify_message = notify_message # <<<<<<<<<<<<<<
10659 * c_notify_ui_ops.notify_email = notify_email
10660 * c_notify_ui_ops.notify_emails = notify_emails
10662 __pyx_v_6purple_c_notify_ui_ops.notify_message = __pyx_f_6purple_notify_message;
10664 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":205
10666 * c_notify_ui_ops.notify_message = notify_message
10667 * c_notify_ui_ops.notify_email = notify_email # <<<<<<<<<<<<<<
10668 * c_notify_ui_ops.notify_emails = notify_emails
10669 * c_notify_ui_ops.notify_formatted = notify_formatted
10671 __pyx_v_6purple_c_notify_ui_ops.notify_email = __pyx_f_6purple_notify_email;
10673 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":206
10674 * c_notify_ui_ops.notify_message = notify_message
10675 * c_notify_ui_ops.notify_email = notify_email
10676 * c_notify_ui_ops.notify_emails = notify_emails # <<<<<<<<<<<<<<
10677 * c_notify_ui_ops.notify_formatted = notify_formatted
10678 * c_notify_ui_ops.notify_searchresults = notify_searchresults
10680 __pyx_v_6purple_c_notify_ui_ops.notify_emails = __pyx_f_6purple_notify_emails;
10682 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":207
10683 * c_notify_ui_ops.notify_email = notify_email
10684 * c_notify_ui_ops.notify_emails = notify_emails
10685 * c_notify_ui_ops.notify_formatted = notify_formatted # <<<<<<<<<<<<<<
10686 * c_notify_ui_ops.notify_searchresults = notify_searchresults
10687 * c_notify_ui_ops.notify_searchresults_new_rows = notify_searchresults_new_rows
10689 __pyx_v_6purple_c_notify_ui_ops.notify_formatted = __pyx_f_6purple_notify_formatted;
10691 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":208
10692 * c_notify_ui_ops.notify_emails = notify_emails
10693 * c_notify_ui_ops.notify_formatted = notify_formatted
10694 * c_notify_ui_ops.notify_searchresults = notify_searchresults # <<<<<<<<<<<<<<
10695 * c_notify_ui_ops.notify_searchresults_new_rows = notify_searchresults_new_rows
10696 * c_notify_ui_ops.notify_userinfo = notify_userinfo
10698 __pyx_v_6purple_c_notify_ui_ops.notify_searchresults = __pyx_f_6purple_notify_searchresults;
10700 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":209
10701 * c_notify_ui_ops.notify_formatted = notify_formatted
10702 * c_notify_ui_ops.notify_searchresults = notify_searchresults
10703 * c_notify_ui_ops.notify_searchresults_new_rows = notify_searchresults_new_rows # <<<<<<<<<<<<<<
10704 * c_notify_ui_ops.notify_userinfo = notify_userinfo
10705 * c_notify_ui_ops.notify_uri = notify_uri
10707 __pyx_v_6purple_c_notify_ui_ops.notify_searchresults_new_rows = __pyx_f_6purple_notify_searchresults_new_rows;
10709 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":210
10710 * c_notify_ui_ops.notify_searchresults = notify_searchresults
10711 * c_notify_ui_ops.notify_searchresults_new_rows = notify_searchresults_new_rows
10712 * c_notify_ui_ops.notify_userinfo = notify_userinfo # <<<<<<<<<<<<<<
10713 * c_notify_ui_ops.notify_uri = notify_uri
10714 * c_notify_ui_ops.close_notify = close_notify
10716 __pyx_v_6purple_c_notify_ui_ops.notify_userinfo = __pyx_f_6purple_notify_userinfo;
10718 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":211
10719 * c_notify_ui_ops.notify_searchresults_new_rows = notify_searchresults_new_rows
10720 * c_notify_ui_ops.notify_userinfo = notify_userinfo
10721 * c_notify_ui_ops.notify_uri = notify_uri # <<<<<<<<<<<<<<
10722 * c_notify_ui_ops.close_notify = close_notify
10725 __pyx_v_6purple_c_notify_ui_ops.notify_uri = __pyx_f_6purple_notify_uri;
10727 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":212
10728 * c_notify_ui_ops.notify_userinfo = notify_userinfo
10729 * c_notify_ui_ops.notify_uri = notify_uri
10730 * c_notify_ui_ops.close_notify = close_notify # <<<<<<<<<<<<<<
10732 * c_request_ui_ops.request_input = request_input
10734 __pyx_v_6purple_c_notify_ui_ops.close_notify = __pyx_f_6purple_close_notify;
10736 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":214
10737 * c_notify_ui_ops.close_notify = close_notify
10739 * c_request_ui_ops.request_input = request_input # <<<<<<<<<<<<<<
10740 * c_request_ui_ops.request_choice = request_choice
10741 * c_request_ui_ops.request_action = request_action
10743 __pyx_v_6purple_c_request_ui_ops.request_input = __pyx_f_6purple_request_input;
10745 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":215
10747 * c_request_ui_ops.request_input = request_input
10748 * c_request_ui_ops.request_choice = request_choice # <<<<<<<<<<<<<<
10749 * c_request_ui_ops.request_action = request_action
10750 * c_request_ui_ops.request_fields = request_fields
10752 __pyx_v_6purple_c_request_ui_ops.request_choice = __pyx_f_6purple_request_choice;
10754 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":216
10755 * c_request_ui_ops.request_input = request_input
10756 * c_request_ui_ops.request_choice = request_choice
10757 * c_request_ui_ops.request_action = request_action # <<<<<<<<<<<<<<
10758 * c_request_ui_ops.request_fields = request_fields
10759 * c_request_ui_ops.request_file = request_file
10761 __pyx_v_6purple_c_request_ui_ops.request_action = __pyx_f_6purple_request_action;
10763 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":217
10764 * c_request_ui_ops.request_choice = request_choice
10765 * c_request_ui_ops.request_action = request_action
10766 * c_request_ui_ops.request_fields = request_fields # <<<<<<<<<<<<<<
10767 * c_request_ui_ops.request_file = request_file
10768 * c_request_ui_ops.close_request = close_request
10770 __pyx_v_6purple_c_request_ui_ops.request_fields = __pyx_f_6purple_request_fields;
10772 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":218
10773 * c_request_ui_ops.request_action = request_action
10774 * c_request_ui_ops.request_fields = request_fields
10775 * c_request_ui_ops.request_file = request_file # <<<<<<<<<<<<<<
10776 * c_request_ui_ops.close_request = close_request
10777 * c_request_ui_ops.request_folder = request_folder
10779 __pyx_v_6purple_c_request_ui_ops.request_file = __pyx_f_6purple_request_file;
10781 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":219
10782 * c_request_ui_ops.request_fields = request_fields
10783 * c_request_ui_ops.request_file = request_file
10784 * c_request_ui_ops.close_request = close_request # <<<<<<<<<<<<<<
10785 * c_request_ui_ops.request_folder = request_folder
10788 __pyx_v_6purple_c_request_ui_ops.close_request = __pyx_f_6purple_close_request;
10790 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":220
10791 * c_request_ui_ops.request_file = request_file
10792 * c_request_ui_ops.close_request = close_request
10793 * c_request_ui_ops.request_folder = request_folder # <<<<<<<<<<<<<<
10795 * c_core_ui_ops.ui_prefs_init = <void (*)()> self.__core_ui_ops_ui_prefs_init
10797 __pyx_v_6purple_c_request_ui_ops.request_folder = __pyx_f_6purple_request_folder;
10799 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":222
10800 * c_request_ui_ops.request_folder = request_folder
10802 * c_core_ui_ops.ui_prefs_init = <void (*)()> self.__core_ui_ops_ui_prefs_init # <<<<<<<<<<<<<<
10803 * c_core_ui_ops.debug_ui_init = <void (*)()> self.__core_ui_ops_debug_init
10804 * c_core_ui_ops.ui_init = <void (*)()> self.__core_ui_ops_ui_init
10806 __pyx_v_6purple_c_core_ui_ops.ui_prefs_init = ((void (*)(void))((struct __pyx_vtabstruct_6purple_Purple *)((struct __pyx_obj_6purple_Purple *)__pyx_v_self)->__pyx_vtab)->__core_ui_ops_ui_prefs_init);
10808 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":223
10810 * c_core_ui_ops.ui_prefs_init = <void (*)()> self.__core_ui_ops_ui_prefs_init
10811 * c_core_ui_ops.debug_ui_init = <void (*)()> self.__core_ui_ops_debug_init # <<<<<<<<<<<<<<
10812 * c_core_ui_ops.ui_init = <void (*)()> self.__core_ui_ops_ui_init
10813 * c_core_ui_ops.quit = <void (*)()> self.__core_ui_ops_quit
10815 __pyx_v_6purple_c_core_ui_ops.debug_ui_init = ((void (*)(void))((struct __pyx_vtabstruct_6purple_Purple *)((struct __pyx_obj_6purple_Purple *)__pyx_v_self)->__pyx_vtab)->__core_ui_ops_debug_init);
10817 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":224
10818 * c_core_ui_ops.ui_prefs_init = <void (*)()> self.__core_ui_ops_ui_prefs_init
10819 * c_core_ui_ops.debug_ui_init = <void (*)()> self.__core_ui_ops_debug_init
10820 * c_core_ui_ops.ui_init = <void (*)()> self.__core_ui_ops_ui_init # <<<<<<<<<<<<<<
10821 * c_core_ui_ops.quit = <void (*)()> self.__core_ui_ops_quit
10822 * c_core_ui_ops.get_ui_info = <glib.GHashTable* (*)()> self.__core_ui_ops_get_ui_info
10824 __pyx_v_6purple_c_core_ui_ops.ui_init = ((void (*)(void))((struct __pyx_vtabstruct_6purple_Purple *)((struct __pyx_obj_6purple_Purple *)__pyx_v_self)->__pyx_vtab)->__core_ui_ops_ui_init);
10826 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":225
10827 * c_core_ui_ops.debug_ui_init = <void (*)()> self.__core_ui_ops_debug_init
10828 * c_core_ui_ops.ui_init = <void (*)()> self.__core_ui_ops_ui_init
10829 * c_core_ui_ops.quit = <void (*)()> self.__core_ui_ops_quit # <<<<<<<<<<<<<<
10830 * c_core_ui_ops.get_ui_info = <glib.GHashTable* (*)()> self.__core_ui_ops_get_ui_info
10833 __pyx_v_6purple_c_core_ui_ops.quit = ((void (*)(void))((struct __pyx_vtabstruct_6purple_Purple *)((struct __pyx_obj_6purple_Purple *)__pyx_v_self)->__pyx_vtab)->__core_ui_ops_quit);
10835 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":226
10836 * c_core_ui_ops.ui_init = <void (*)()> self.__core_ui_ops_ui_init
10837 * c_core_ui_ops.quit = <void (*)()> self.__core_ui_ops_quit
10838 * c_core_ui_ops.get_ui_info = <glib.GHashTable* (*)()> self.__core_ui_ops_get_ui_info # <<<<<<<<<<<<<<
10840 * c_eventloop_ui_ops.timeout_add = glib.g_timeout_add
10842 __pyx_v_6purple_c_core_ui_ops.get_ui_info = ((GHashTable *(*)(void))((struct __pyx_vtabstruct_6purple_Purple *)((struct __pyx_obj_6purple_Purple *)__pyx_v_self)->__pyx_vtab)->__core_ui_ops_get_ui_info);
10844 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":228
10845 * c_core_ui_ops.get_ui_info = <glib.GHashTable* (*)()> self.__core_ui_ops_get_ui_info
10847 * c_eventloop_ui_ops.timeout_add = glib.g_timeout_add # <<<<<<<<<<<<<<
10848 * c_eventloop_ui_ops.timeout_remove = glib.g_source_remove
10849 * c_eventloop_ui_ops.input_add = glib_input_add
10851 __pyx_v_6purple_c_eventloop_ui_ops.timeout_add = g_timeout_add;
10853 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":229
10855 * c_eventloop_ui_ops.timeout_add = glib.g_timeout_add
10856 * c_eventloop_ui_ops.timeout_remove = glib.g_source_remove # <<<<<<<<<<<<<<
10857 * c_eventloop_ui_ops.input_add = glib_input_add
10858 * c_eventloop_ui_ops.input_remove = glib.g_source_remove
10860 __pyx_v_6purple_c_eventloop_ui_ops.timeout_remove = g_source_remove;
10862 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":230
10863 * c_eventloop_ui_ops.timeout_add = glib.g_timeout_add
10864 * c_eventloop_ui_ops.timeout_remove = glib.g_source_remove
10865 * c_eventloop_ui_ops.input_add = glib_input_add # <<<<<<<<<<<<<<
10866 * c_eventloop_ui_ops.input_remove = glib.g_source_remove
10867 * c_eventloop_ui_ops.input_get_error = NULL
10869 __pyx_v_6purple_c_eventloop_ui_ops.input_add = glib_input_add;
10871 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":231
10872 * c_eventloop_ui_ops.timeout_remove = glib.g_source_remove
10873 * c_eventloop_ui_ops.input_add = glib_input_add
10874 * c_eventloop_ui_ops.input_remove = glib.g_source_remove # <<<<<<<<<<<<<<
10875 * c_eventloop_ui_ops.input_get_error = NULL
10876 * c_eventloop_ui_ops.timeout_add_seconds = NULL
10878 __pyx_v_6purple_c_eventloop_ui_ops.input_remove = g_source_remove;
10880 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":232
10881 * c_eventloop_ui_ops.input_add = glib_input_add
10882 * c_eventloop_ui_ops.input_remove = glib.g_source_remove
10883 * c_eventloop_ui_ops.input_get_error = NULL # <<<<<<<<<<<<<<
10884 * c_eventloop_ui_ops.timeout_add_seconds = NULL
10887 __pyx_v_6purple_c_eventloop_ui_ops.input_get_error = NULL;
10889 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":233
10890 * c_eventloop_ui_ops.input_remove = glib.g_source_remove
10891 * c_eventloop_ui_ops.input_get_error = NULL
10892 * c_eventloop_ui_ops.timeout_add_seconds = NULL # <<<<<<<<<<<<<<
10894 * core.purple_core_set_ui_ops(&c_core_ui_ops)
10896 __pyx_v_6purple_c_eventloop_ui_ops.timeout_add_seconds = NULL;
10898 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":235
10899 * c_eventloop_ui_ops.timeout_add_seconds = NULL
10901 * core.purple_core_set_ui_ops(&c_core_ui_ops) # <<<<<<<<<<<<<<
10902 * eventloop.purple_eventloop_set_ui_ops(&c_eventloop_ui_ops)
10905 purple_core_set_ui_ops((&__pyx_v_6purple_c_core_ui_ops));
10907 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":236
10909 * core.purple_core_set_ui_ops(&c_core_ui_ops)
10910 * eventloop.purple_eventloop_set_ui_ops(&c_eventloop_ui_ops) # <<<<<<<<<<<<<<
10912 * # initialize purple core
10914 purple_eventloop_set_ui_ops((&__pyx_v_6purple_c_eventloop_ui_ops));
10916 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":239
10918 * # initialize purple core
10919 * ret = core.purple_core_init(c_ui_name) # <<<<<<<<<<<<<<
10921 * debug.purple_debug_fatal("main", "%s", "libpurple " \
10923 __pyx_1 = PyInt_FromLong(purple_core_init(__pyx_v_6purple_c_ui_name)); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 239; __pyx_clineno = __LINE__; goto __pyx_L1;}
10924 Py_DECREF(__pyx_v_ret);
10925 __pyx_v_ret = __pyx_1;
10928 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":240
10929 * # initialize purple core
10930 * ret = core.purple_core_init(c_ui_name)
10931 * if ret is False: # <<<<<<<<<<<<<<
10932 * debug.purple_debug_fatal("main", "%s", "libpurple " \
10933 * "initialization failed.\n")
10935 __pyx_2 = (__pyx_v_ret == Py_False);
10938 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":241
10939 * ret = core.purple_core_init(c_ui_name)
10941 * debug.purple_debug_fatal("main", "%s", "libpurple " \ # <<<<<<<<<<<<<<
10942 * "initialization failed.\n")
10945 purple_debug_fatal(__pyx_k_399, __pyx_k_400, __pyx_k_401);
10947 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":243
10948 * debug.purple_debug_fatal("main", "%s", "libpurple " \
10949 * "initialization failed.\n")
10950 * return False # <<<<<<<<<<<<<<
10952 * # check if there is another instance of libpurple running
10954 Py_INCREF(Py_False);
10955 __pyx_r = Py_False;
10961 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":246
10963 * # check if there is another instance of libpurple running
10964 * if core.purple_core_ensure_single_instance() == False: # <<<<<<<<<<<<<<
10965 * debug.purple_debug_fatal("main", "%s", "Another instance of " \
10966 * "libpurple is already running.\n")
10968 __pyx_1 = PyInt_FromLong(purple_core_ensure_single_instance()); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 246; __pyx_clineno = __LINE__; goto __pyx_L1;}
10969 __pyx_3 = PyObject_RichCompare(__pyx_1, Py_False, Py_EQ); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 246; __pyx_clineno = __LINE__; goto __pyx_L1;}
10970 Py_DECREF(__pyx_1); __pyx_1 = 0;
10971 __pyx_2 = __Pyx_PyObject_IsTrue(__pyx_3); if (unlikely(__pyx_2 < 0)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 246; __pyx_clineno = __LINE__; goto __pyx_L1;}
10972 Py_DECREF(__pyx_3); __pyx_3 = 0;
10975 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":247
10976 * # check if there is another instance of libpurple running
10977 * if core.purple_core_ensure_single_instance() == False:
10978 * debug.purple_debug_fatal("main", "%s", "Another instance of " \ # <<<<<<<<<<<<<<
10979 * "libpurple is already running.\n")
10980 * core.purple_core_quit()
10982 purple_debug_fatal(__pyx_k_402, __pyx_k_403, __pyx_k_404);
10984 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":249
10985 * debug.purple_debug_fatal("main", "%s", "Another instance of " \
10986 * "libpurple is already running.\n")
10987 * core.purple_core_quit() # <<<<<<<<<<<<<<
10991 purple_core_quit();
10993 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":250
10994 * "libpurple is already running.\n")
10995 * core.purple_core_quit()
10996 * return False # <<<<<<<<<<<<<<
10998 * # create and load the buddy list
11000 Py_INCREF(Py_False);
11001 __pyx_r = Py_False;
11007 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":253
11009 * # create and load the buddy list
11010 * blist.purple_set_blist(blist.purple_blist_new()) # <<<<<<<<<<<<<<
11011 * blist.purple_blist_load()
11014 purple_set_blist(purple_blist_new());
11016 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":254
11017 * # create and load the buddy list
11018 * blist.purple_set_blist(blist.purple_blist_new())
11019 * blist.purple_blist_load() # <<<<<<<<<<<<<<
11023 purple_blist_load();
11025 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":257
11028 * pounce.purple_pounces_load() # <<<<<<<<<<<<<<
11032 purple_pounces_load();
11034 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":259
11035 * pounce.purple_pounces_load()
11037 * return ret # <<<<<<<<<<<<<<
11039 * def add_callback(self, type, name, callback):
11041 Py_INCREF(__pyx_v_ret);
11042 __pyx_r = __pyx_v_ret;
11045 __pyx_r = Py_None; Py_INCREF(Py_None);
11048 Py_XDECREF(__pyx_1);
11049 Py_XDECREF(__pyx_3);
11050 __Pyx_AddTraceback("purple.Purple.purple_init");
11053 Py_DECREF(__pyx_v_ret);
11057 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":261
11060 * def add_callback(self, type, name, callback): # <<<<<<<<<<<<<<
11062 * Adds a callback with given name inside callback's type.
11065 static char __pyx_k_405[] = "account";
11066 static char __pyx_k_406[] = "blist";
11067 static char __pyx_k_407[] = "connection";
11068 static char __pyx_k_408[] = "conversation";
11069 static char __pyx_k_409[] = "notify";
11070 static char __pyx_k_410[] = "request";
11072 static PyObject *__pyx_kp_405;
11073 static PyObject *__pyx_kp_406;
11074 static PyObject *__pyx_kp_407;
11075 static PyObject *__pyx_kp_408;
11076 static PyObject *__pyx_kp_409;
11077 static PyObject *__pyx_kp_410;
11081 static PyObject *__pyx_pf_6purple_6Purple_add_callback(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
11082 static char __pyx_doc_6purple_6Purple_add_callback[] = "\n Adds a callback with given name inside callback\'s type.\n\n @param type Callback type (e.g. \"account\")\n @param name Callback name (e.g. \"notify-added\")\n @param callback Callback to be called\n ";
11083 static PyObject *__pyx_pf_6purple_6Purple_add_callback(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
11084 PyObject *__pyx_v_type = 0;
11085 PyObject *__pyx_v_name = 0;
11086 PyObject *__pyx_v_callback = 0;
11088 PyObject *__pyx_1 = 0;
11089 PyObject *__pyx_2 = 0;
11090 static char *__pyx_argnames[] = {"type","name","callback",0};
11091 if (likely(!__pyx_kwds) && likely(PyTuple_GET_SIZE(__pyx_args) == 3)) {
11092 __pyx_v_type = PyTuple_GET_ITEM(__pyx_args, 0);
11093 __pyx_v_name = PyTuple_GET_ITEM(__pyx_args, 1);
11094 __pyx_v_callback = PyTuple_GET_ITEM(__pyx_args, 2);
11097 if (unlikely(!PyArg_ParseTupleAndKeywords(__pyx_args, __pyx_kwds, "OOO", __pyx_argnames, &__pyx_v_type, &__pyx_v_name, &__pyx_v_callback))) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 261; __pyx_clineno = __LINE__; goto __pyx_L2;}
11101 __Pyx_AddTraceback("purple.Purple.add_callback");
11105 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":281
11106 * "conversation": conversation_cbs,
11107 * "notify": notify_cbs,
11108 * "request": request_cbs }[type][name] = callback # <<<<<<<<<<<<<<
11110 * def signal_connect(self, name=None, cb=None):
11112 __pyx_1 = PyDict_New(); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 276; __pyx_clineno = __LINE__; goto __pyx_L1;}
11114 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":276
11115 * global request_cbs
11117 * { "account": account_cbs, # <<<<<<<<<<<<<<
11118 * "blist": blist_cbs,
11119 * "connection": connection_cbs,
11121 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_account_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 276; __pyx_clineno = __LINE__; goto __pyx_L1;}
11122 if (PyDict_SetItem(__pyx_1, __pyx_kp_405, __pyx_2) < 0) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 276; __pyx_clineno = __LINE__; goto __pyx_L1;}
11123 Py_DECREF(__pyx_2); __pyx_2 = 0;
11125 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":277
11127 * { "account": account_cbs,
11128 * "blist": blist_cbs, # <<<<<<<<<<<<<<
11129 * "connection": connection_cbs,
11130 * "conversation": conversation_cbs,
11132 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_blist_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 277; __pyx_clineno = __LINE__; goto __pyx_L1;}
11133 if (PyDict_SetItem(__pyx_1, __pyx_kp_406, __pyx_2) < 0) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 276; __pyx_clineno = __LINE__; goto __pyx_L1;}
11134 Py_DECREF(__pyx_2); __pyx_2 = 0;
11136 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":278
11137 * { "account": account_cbs,
11138 * "blist": blist_cbs,
11139 * "connection": connection_cbs, # <<<<<<<<<<<<<<
11140 * "conversation": conversation_cbs,
11141 * "notify": notify_cbs,
11143 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_connection_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 278; __pyx_clineno = __LINE__; goto __pyx_L1;}
11144 if (PyDict_SetItem(__pyx_1, __pyx_kp_407, __pyx_2) < 0) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 276; __pyx_clineno = __LINE__; goto __pyx_L1;}
11145 Py_DECREF(__pyx_2); __pyx_2 = 0;
11147 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":279
11148 * "blist": blist_cbs,
11149 * "connection": connection_cbs,
11150 * "conversation": conversation_cbs, # <<<<<<<<<<<<<<
11151 * "notify": notify_cbs,
11152 * "request": request_cbs }[type][name] = callback
11154 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_conversation_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 279; __pyx_clineno = __LINE__; goto __pyx_L1;}
11155 if (PyDict_SetItem(__pyx_1, __pyx_kp_408, __pyx_2) < 0) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 276; __pyx_clineno = __LINE__; goto __pyx_L1;}
11156 Py_DECREF(__pyx_2); __pyx_2 = 0;
11158 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":280
11159 * "connection": connection_cbs,
11160 * "conversation": conversation_cbs,
11161 * "notify": notify_cbs, # <<<<<<<<<<<<<<
11162 * "request": request_cbs }[type][name] = callback
11165 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_notify_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 280; __pyx_clineno = __LINE__; goto __pyx_L1;}
11166 if (PyDict_SetItem(__pyx_1, __pyx_kp_409, __pyx_2) < 0) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 276; __pyx_clineno = __LINE__; goto __pyx_L1;}
11167 Py_DECREF(__pyx_2); __pyx_2 = 0;
11169 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":281
11170 * "conversation": conversation_cbs,
11171 * "notify": notify_cbs,
11172 * "request": request_cbs }[type][name] = callback # <<<<<<<<<<<<<<
11174 * def signal_connect(self, name=None, cb=None):
11176 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_request_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 281; __pyx_clineno = __LINE__; goto __pyx_L1;}
11177 if (PyDict_SetItem(__pyx_1, __pyx_kp_410, __pyx_2) < 0) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 276; __pyx_clineno = __LINE__; goto __pyx_L1;}
11178 Py_DECREF(__pyx_2); __pyx_2 = 0;
11179 __pyx_2 = PyObject_GetItem(((PyObject *)__pyx_1), __pyx_v_type); if (!__pyx_2) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 281; __pyx_clineno = __LINE__; goto __pyx_L1;}
11180 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
11181 if (PyObject_SetItem(__pyx_2, __pyx_v_name, __pyx_v_callback) < 0) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 281; __pyx_clineno = __LINE__; goto __pyx_L1;}
11182 Py_DECREF(__pyx_2); __pyx_2 = 0;
11184 __pyx_r = Py_None; Py_INCREF(Py_None);
11187 Py_XDECREF(__pyx_1);
11188 Py_XDECREF(__pyx_2);
11189 __Pyx_AddTraceback("purple.Purple.add_callback");
11195 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":283
11196 * "request": request_cbs }[type][name] = callback
11198 * def signal_connect(self, name=None, cb=None): # <<<<<<<<<<<<<<
11200 * cdef plugin.PurplePlugin *jabber
11203 static PyObject *__pyx_kp_412;
11204 static PyObject *__pyx_kp_414;
11205 static PyObject *__pyx_kp_416;
11206 static PyObject *__pyx_kp_418;
11207 static PyObject *__pyx_kp_420;
11208 static PyObject *__pyx_kp_422;
11209 static PyObject *__pyx_kp_424;
11211 static char __pyx_k_411[] = "prpl-jabber";
11212 static char __pyx_k_412[] = "signed-on";
11213 static char __pyx_k_413[] = "signed-on";
11214 static char __pyx_k_414[] = "signed-off";
11215 static char __pyx_k_415[] = "signed-off";
11216 static char __pyx_k_416[] = "connection-error";
11217 static char __pyx_k_417[] = "connection-error";
11218 static char __pyx_k_418[] = "buddy-signed-on";
11219 static char __pyx_k_419[] = "buddy-signed-on";
11220 static char __pyx_k_420[] = "buddy-signed-off";
11221 static char __pyx_k_421[] = "buddy-signed-off";
11222 static char __pyx_k_422[] = "receiving-im-msg";
11223 static char __pyx_k_423[] = "receiving-im-msg";
11224 static char __pyx_k_424[] = "jabber-receiving-xmlnode";
11225 static char __pyx_k_425[] = "jabber-receiving-xmlnode";
11227 static PyObject *__pyx_pf_6purple_6Purple_signal_connect(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
11228 static PyObject *__pyx_pf_6purple_6Purple_signal_connect(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
11229 PyObject *__pyx_v_name = 0;
11230 PyObject *__pyx_v_cb = 0;
11231 int __pyx_v_handle;
11232 PurplePlugin *__pyx_v_jabber;
11235 PyObject *__pyx_2 = 0;
11236 static char *__pyx_argnames[] = {"name","cb",0};
11237 __pyx_v_name = Py_None;
11238 __pyx_v_cb = Py_None;
11239 if (likely(!__pyx_kwds) && likely(0 <= PyTuple_GET_SIZE(__pyx_args)) && likely(PyTuple_GET_SIZE(__pyx_args) <= 2)) {
11240 if (PyTuple_GET_SIZE(__pyx_args) > 0) {
11241 __pyx_v_name = PyTuple_GET_ITEM(__pyx_args, 0);
11242 if (PyTuple_GET_SIZE(__pyx_args) > 1) {
11243 __pyx_v_cb = PyTuple_GET_ITEM(__pyx_args, 1);
11248 if (unlikely(!PyArg_ParseTupleAndKeywords(__pyx_args, __pyx_kwds, "|OO", __pyx_argnames, &__pyx_v_name, &__pyx_v_cb))) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 283; __pyx_clineno = __LINE__; goto __pyx_L2;}
11252 __Pyx_AddTraceback("purple.Purple.signal_connect");
11256 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":287
11257 * cdef plugin.PurplePlugin *jabber
11259 * if name is None: # <<<<<<<<<<<<<<
11263 __pyx_1 = (__pyx_v_name == Py_None);
11266 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":288
11269 * return # <<<<<<<<<<<<<<
11271 * jabber = prpl.purple_find_prpl("prpl-jabber")
11273 __pyx_r = Py_None; Py_INCREF(Py_None);
11279 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":290
11282 * jabber = prpl.purple_find_prpl("prpl-jabber") # <<<<<<<<<<<<<<
11283 * if jabber == NULL:
11286 __pyx_v_jabber = purple_find_prpl(__pyx_k_411);
11288 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":291
11290 * jabber = prpl.purple_find_prpl("prpl-jabber")
11291 * if jabber == NULL: # <<<<<<<<<<<<<<
11295 __pyx_1 = (__pyx_v_jabber == NULL);
11298 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":292
11299 * jabber = prpl.purple_find_prpl("prpl-jabber")
11300 * if jabber == NULL:
11301 * return # <<<<<<<<<<<<<<
11303 * global signal_cbs
11305 __pyx_r = Py_None; Py_INCREF(Py_None);
11311 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":295
11313 * global signal_cbs
11314 * signal_cbs[name] = cb # <<<<<<<<<<<<<<
11316 * if name == "signed-on":
11318 __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_signal_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 295; __pyx_clineno = __LINE__; goto __pyx_L1;}
11319 if (PyObject_SetItem(__pyx_2, __pyx_v_name, __pyx_v_cb) < 0) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 295; __pyx_clineno = __LINE__; goto __pyx_L1;}
11320 Py_DECREF(__pyx_2); __pyx_2 = 0;
11322 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":297
11323 * signal_cbs[name] = cb
11325 * if name == "signed-on": # <<<<<<<<<<<<<<
11326 * signals.purple_signal_connect(
11327 * connection.purple_connections_get_handle(),
11329 __pyx_2 = PyObject_RichCompare(__pyx_v_name, __pyx_kp_412, Py_EQ); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 297; __pyx_clineno = __LINE__; goto __pyx_L1;}
11330 __pyx_1 = __Pyx_PyObject_IsTrue(__pyx_2); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 297; __pyx_clineno = __LINE__; goto __pyx_L1;}
11331 Py_DECREF(__pyx_2); __pyx_2 = 0;
11334 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":301
11335 * connection.purple_connections_get_handle(),
11336 * "signed-on", &handle,
11337 * <signals.PurpleCallback> signal_signed_on_cb, NULL) # <<<<<<<<<<<<<<
11338 * elif name == "signed-off":
11339 * signals.purple_signal_connect(
11341 purple_signal_connect(purple_connections_get_handle(), __pyx_k_413, (&__pyx_v_handle), ((void (*)(void))__pyx_f_6purple_signal_signed_on_cb), NULL);
11345 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":302
11346 * "signed-on", &handle,
11347 * <signals.PurpleCallback> signal_signed_on_cb, NULL)
11348 * elif name == "signed-off": # <<<<<<<<<<<<<<
11349 * signals.purple_signal_connect(
11350 * connection.purple_connections_get_handle(),
11352 __pyx_2 = PyObject_RichCompare(__pyx_v_name, __pyx_kp_414, Py_EQ); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 302; __pyx_clineno = __LINE__; goto __pyx_L1;}
11353 __pyx_1 = __Pyx_PyObject_IsTrue(__pyx_2); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 302; __pyx_clineno = __LINE__; goto __pyx_L1;}
11354 Py_DECREF(__pyx_2); __pyx_2 = 0;
11357 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":306
11358 * connection.purple_connections_get_handle(),
11359 * "signed-off", &handle,
11360 * <signals.PurpleCallback> signal_signed_off_cb, NULL) # <<<<<<<<<<<<<<
11361 * elif name == "connection-error":
11362 * signals.purple_signal_connect(
11364 purple_signal_connect(purple_connections_get_handle(), __pyx_k_415, (&__pyx_v_handle), ((void (*)(void))__pyx_f_6purple_signal_signed_off_cb), NULL);
11368 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":307
11369 * "signed-off", &handle,
11370 * <signals.PurpleCallback> signal_signed_off_cb, NULL)
11371 * elif name == "connection-error": # <<<<<<<<<<<<<<
11372 * signals.purple_signal_connect(
11373 * connection.purple_connections_get_handle(),
11375 __pyx_2 = PyObject_RichCompare(__pyx_v_name, __pyx_kp_416, Py_EQ); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 307; __pyx_clineno = __LINE__; goto __pyx_L1;}
11376 __pyx_1 = __Pyx_PyObject_IsTrue(__pyx_2); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 307; __pyx_clineno = __LINE__; goto __pyx_L1;}
11377 Py_DECREF(__pyx_2); __pyx_2 = 0;
11380 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":311
11381 * connection.purple_connections_get_handle(),
11382 * "connection-error", &handle,
11383 * <signals.PurpleCallback> signal_connection_error_cb, NULL) # <<<<<<<<<<<<<<
11384 * elif name == "buddy-signed-on":
11385 * signals.purple_signal_connect(
11387 purple_signal_connect(purple_connections_get_handle(), __pyx_k_417, (&__pyx_v_handle), ((void (*)(void))__pyx_f_6purple_signal_connection_error_cb), NULL);
11391 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":312
11392 * "connection-error", &handle,
11393 * <signals.PurpleCallback> signal_connection_error_cb, NULL)
11394 * elif name == "buddy-signed-on": # <<<<<<<<<<<<<<
11395 * signals.purple_signal_connect(
11396 * blist.purple_blist_get_handle(),
11398 __pyx_2 = PyObject_RichCompare(__pyx_v_name, __pyx_kp_418, Py_EQ); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 312; __pyx_clineno = __LINE__; goto __pyx_L1;}
11399 __pyx_1 = __Pyx_PyObject_IsTrue(__pyx_2); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 312; __pyx_clineno = __LINE__; goto __pyx_L1;}
11400 Py_DECREF(__pyx_2); __pyx_2 = 0;
11403 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":316
11404 * blist.purple_blist_get_handle(),
11405 * "buddy-signed-on", &handle,
11406 * <signals.PurpleCallback> signal_buddy_signed_on_cb, NULL) # <<<<<<<<<<<<<<
11407 * elif name == "buddy-signed-off":
11408 * signals.purple_signal_connect(
11410 purple_signal_connect(purple_blist_get_handle(), __pyx_k_419, (&__pyx_v_handle), ((void (*)(void))__pyx_f_6purple_signal_buddy_signed_on_cb), NULL);
11414 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":317
11415 * "buddy-signed-on", &handle,
11416 * <signals.PurpleCallback> signal_buddy_signed_on_cb, NULL)
11417 * elif name == "buddy-signed-off": # <<<<<<<<<<<<<<
11418 * signals.purple_signal_connect(
11419 * blist.purple_blist_get_handle(),
11421 __pyx_2 = PyObject_RichCompare(__pyx_v_name, __pyx_kp_420, Py_EQ); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 317; __pyx_clineno = __LINE__; goto __pyx_L1;}
11422 __pyx_1 = __Pyx_PyObject_IsTrue(__pyx_2); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 317; __pyx_clineno = __LINE__; goto __pyx_L1;}
11423 Py_DECREF(__pyx_2); __pyx_2 = 0;
11426 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":321
11427 * blist.purple_blist_get_handle(),
11428 * "buddy-signed-off", &handle,
11429 * <signals.PurpleCallback> signal_buddy_signed_off_cb, NULL) # <<<<<<<<<<<<<<
11430 * elif name == "receiving-im-msg":
11431 * signals.purple_signal_connect(
11433 purple_signal_connect(purple_blist_get_handle(), __pyx_k_421, (&__pyx_v_handle), ((void (*)(void))__pyx_f_6purple_signal_buddy_signed_off_cb), NULL);
11437 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":322
11438 * "buddy-signed-off", &handle,
11439 * <signals.PurpleCallback> signal_buddy_signed_off_cb, NULL)
11440 * elif name == "receiving-im-msg": # <<<<<<<<<<<<<<
11441 * signals.purple_signal_connect(
11442 * conversation.purple_conversations_get_handle(),
11444 __pyx_2 = PyObject_RichCompare(__pyx_v_name, __pyx_kp_422, Py_EQ); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 322; __pyx_clineno = __LINE__; goto __pyx_L1;}
11445 __pyx_1 = __Pyx_PyObject_IsTrue(__pyx_2); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 322; __pyx_clineno = __LINE__; goto __pyx_L1;}
11446 Py_DECREF(__pyx_2); __pyx_2 = 0;
11449 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":326
11450 * conversation.purple_conversations_get_handle(),
11451 * "receiving-im-msg", &handle,
11452 * <signals.PurpleCallback> signal_receiving_im_msg_cb, NULL) # <<<<<<<<<<<<<<
11453 * elif name == "jabber-receiving-xmlnode":
11454 * signals.purple_signal_connect(
11456 purple_signal_connect(purple_conversations_get_handle(), __pyx_k_423, (&__pyx_v_handle), ((void (*)(void))__pyx_f_6purple_signal_receiving_im_msg_cb), NULL);
11460 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":327
11461 * "receiving-im-msg", &handle,
11462 * <signals.PurpleCallback> signal_receiving_im_msg_cb, NULL)
11463 * elif name == "jabber-receiving-xmlnode": # <<<<<<<<<<<<<<
11464 * signals.purple_signal_connect(
11465 * jabber, "jabber-receiving-xmlnode", &handle,
11467 __pyx_2 = PyObject_RichCompare(__pyx_v_name, __pyx_kp_424, Py_EQ); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 327; __pyx_clineno = __LINE__; goto __pyx_L1;}
11468 __pyx_1 = __Pyx_PyObject_IsTrue(__pyx_2); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 327; __pyx_clineno = __LINE__; goto __pyx_L1;}
11469 Py_DECREF(__pyx_2); __pyx_2 = 0;
11472 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":330
11473 * signals.purple_signal_connect(
11474 * jabber, "jabber-receiving-xmlnode", &handle,
11475 * <signals.PurpleCallback> jabber_receiving_xmlnode_cb, NULL) # <<<<<<<<<<<<<<
11477 * def accounts_get_all(self):
11479 purple_signal_connect(__pyx_v_jabber, __pyx_k_425, (&__pyx_v_handle), ((void (*)(void))__pyx_f_6purple_jabber_receiving_xmlnode_cb), NULL);
11484 __pyx_r = Py_None; Py_INCREF(Py_None);
11487 Py_XDECREF(__pyx_2);
11488 __Pyx_AddTraceback("purple.Purple.signal_connect");
11494 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":332
11495 * <signals.PurpleCallback> jabber_receiving_xmlnode_cb, NULL)
11497 * def accounts_get_all(self): # <<<<<<<<<<<<<<
11498 * cdef glib.GList *iter
11499 * cdef account.PurpleAccount *acc
11502 static char __pyx_k_append[] = "append";
11504 static PyObject *__pyx_kp_append;
11506 static PyObject *__pyx_pf_6purple_6Purple_accounts_get_all(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
11507 static PyObject *__pyx_pf_6purple_6Purple_accounts_get_all(PyObject *__pyx_v_self, PyObject *unused) {
11508 GList *__pyx_v_iter;
11509 PurpleAccount *__pyx_v_acc;
11510 char *__pyx_v_username;
11511 char *__pyx_v_protocol_id;
11512 PyObject *__pyx_v_account_list;
11514 PyObject *__pyx_1 = 0;
11516 PyObject *__pyx_3 = 0;
11517 PyObject *__pyx_4 = 0;
11518 __pyx_v_account_list = Py_None; Py_INCREF(Py_None);
11520 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":338
11521 * cdef char *protocol_id
11523 * iter = account.purple_accounts_get_all() # <<<<<<<<<<<<<<
11524 * account_list = []
11527 __pyx_v_iter = purple_accounts_get_all();
11529 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":339
11531 * iter = account.purple_accounts_get_all()
11532 * account_list = [] # <<<<<<<<<<<<<<
11536 __pyx_1 = PyList_New(0); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 339; __pyx_clineno = __LINE__; goto __pyx_L1;}
11537 Py_DECREF(__pyx_v_account_list);
11538 __pyx_v_account_list = ((PyObject *)__pyx_1);
11541 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":341
11542 * account_list = []
11544 * while iter: # <<<<<<<<<<<<<<
11545 * acc = <account.PurpleAccount *> iter.data
11549 __pyx_2 = (__pyx_v_iter != 0);
11550 if (!__pyx_2) break;
11552 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":342
11555 * acc = <account.PurpleAccount *> iter.data # <<<<<<<<<<<<<<
11557 * if <account.PurpleAccount *>acc:
11559 __pyx_v_acc = ((PurpleAccount *)__pyx_v_iter->data);
11561 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":344
11562 * acc = <account.PurpleAccount *> iter.data
11564 * if <account.PurpleAccount *>acc: # <<<<<<<<<<<<<<
11565 * username = <char *> account.purple_account_get_username(acc)
11566 * protocol_id = <char *> account.purple_account_get_protocol_id(acc)
11568 __pyx_2 = (((PurpleAccount *)__pyx_v_acc) != 0);
11571 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":345
11573 * if <account.PurpleAccount *>acc:
11574 * username = <char *> account.purple_account_get_username(acc) # <<<<<<<<<<<<<<
11575 * protocol_id = <char *> account.purple_account_get_protocol_id(acc)
11578 __pyx_v_username = ((char *)purple_account_get_username(__pyx_v_acc));
11580 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":346
11581 * if <account.PurpleAccount *>acc:
11582 * username = <char *> account.purple_account_get_username(acc)
11583 * protocol_id = <char *> account.purple_account_get_protocol_id(acc) # <<<<<<<<<<<<<<
11585 * if username != NULL and protocol_id != NULL:
11587 __pyx_v_protocol_id = ((char *)purple_account_get_protocol_id(__pyx_v_acc));
11589 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":348
11590 * protocol_id = <char *> account.purple_account_get_protocol_id(acc)
11592 * if username != NULL and protocol_id != NULL: # <<<<<<<<<<<<<<
11593 * account_list.append(Account(username, \
11594 * Protocol(protocol_id), self))
11596 __pyx_2 = (__pyx_v_username != NULL);
11598 __pyx_2 = (__pyx_v_protocol_id != NULL);
11602 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":349
11604 * if username != NULL and protocol_id != NULL:
11605 * account_list.append(Account(username, \ # <<<<<<<<<<<<<<
11606 * Protocol(protocol_id), self))
11609 __pyx_1 = __Pyx_PyBytes_FromString(__pyx_v_username); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 349; __pyx_clineno = __LINE__; goto __pyx_L1;}
11611 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":350
11612 * if username != NULL and protocol_id != NULL:
11613 * account_list.append(Account(username, \
11614 * Protocol(protocol_id), self)) # <<<<<<<<<<<<<<
11618 __pyx_3 = __Pyx_PyBytes_FromString(__pyx_v_protocol_id); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 350; __pyx_clineno = __LINE__; goto __pyx_L1;}
11619 __pyx_4 = PyTuple_New(1); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 350; __pyx_clineno = __LINE__; goto __pyx_L1;}
11620 PyTuple_SET_ITEM(__pyx_4, 0, __pyx_3);
11622 __pyx_3 = PyObject_Call(((PyObject*)__pyx_ptype_6purple_Protocol), ((PyObject *)__pyx_4), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 350; __pyx_clineno = __LINE__; goto __pyx_L1;}
11623 Py_DECREF(((PyObject *)__pyx_4)); __pyx_4 = 0;
11624 __pyx_4 = PyTuple_New(3); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 349; __pyx_clineno = __LINE__; goto __pyx_L1;}
11625 PyTuple_SET_ITEM(__pyx_4, 0, __pyx_1);
11626 PyTuple_SET_ITEM(__pyx_4, 1, __pyx_3);
11627 Py_INCREF(__pyx_v_self);
11628 PyTuple_SET_ITEM(__pyx_4, 2, __pyx_v_self);
11631 __pyx_1 = PyObject_Call(((PyObject*)__pyx_ptype_6purple_Account), ((PyObject *)__pyx_4), NULL); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 349; __pyx_clineno = __LINE__; goto __pyx_L1;}
11632 Py_DECREF(((PyObject *)__pyx_4)); __pyx_4 = 0;
11633 __pyx_3 = __Pyx_PyObject_Append(__pyx_v_account_list, __pyx_1); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 349; __pyx_clineno = __LINE__; goto __pyx_L1;}
11634 Py_DECREF(__pyx_1); __pyx_1 = 0;
11635 Py_DECREF(__pyx_3); __pyx_3 = 0;
11643 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":351
11644 * account_list.append(Account(username, \
11645 * Protocol(protocol_id), self))
11646 * iter = iter.next # <<<<<<<<<<<<<<
11648 * return account_list
11650 __pyx_v_iter = __pyx_v_iter->next;
11653 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":353
11656 * return account_list # <<<<<<<<<<<<<<
11658 * def accounts_get_all_active(self):
11660 Py_INCREF(__pyx_v_account_list);
11661 __pyx_r = __pyx_v_account_list;
11664 __pyx_r = Py_None; Py_INCREF(Py_None);
11667 Py_XDECREF(__pyx_1);
11668 Py_XDECREF(__pyx_3);
11669 Py_XDECREF(__pyx_4);
11670 __Pyx_AddTraceback("purple.Purple.accounts_get_all");
11673 Py_DECREF(__pyx_v_account_list);
11677 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":355
11678 * return account_list
11680 * def accounts_get_all_active(self): # <<<<<<<<<<<<<<
11681 * cdef glib.GList *iter
11682 * cdef account.PurpleAccount *acc
11685 static PyObject *__pyx_pf_6purple_6Purple_accounts_get_all_active(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
11686 static PyObject *__pyx_pf_6purple_6Purple_accounts_get_all_active(PyObject *__pyx_v_self, PyObject *unused) {
11687 GList *__pyx_v_iter;
11688 PurpleAccount *__pyx_v_acc;
11689 char *__pyx_v_username;
11690 char *__pyx_v_protocol_id;
11691 PyObject *__pyx_v_account_list;
11693 PyObject *__pyx_1 = 0;
11695 PyObject *__pyx_3 = 0;
11696 PyObject *__pyx_4 = 0;
11697 __pyx_v_account_list = Py_None; Py_INCREF(Py_None);
11699 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":361
11700 * cdef char *protocol_id
11702 * iter = account.purple_accounts_get_all_active() # <<<<<<<<<<<<<<
11703 * account_list = []
11706 __pyx_v_iter = purple_accounts_get_all_active();
11708 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":362
11710 * iter = account.purple_accounts_get_all_active()
11711 * account_list = [] # <<<<<<<<<<<<<<
11715 __pyx_1 = PyList_New(0); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 362; __pyx_clineno = __LINE__; goto __pyx_L1;}
11716 Py_DECREF(__pyx_v_account_list);
11717 __pyx_v_account_list = ((PyObject *)__pyx_1);
11720 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":364
11721 * account_list = []
11723 * while iter: # <<<<<<<<<<<<<<
11724 * acc = <account.PurpleAccount *> iter.data
11728 __pyx_2 = (__pyx_v_iter != 0);
11729 if (!__pyx_2) break;
11731 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":365
11734 * acc = <account.PurpleAccount *> iter.data # <<<<<<<<<<<<<<
11736 * if <account.PurpleAccount *>acc:
11738 __pyx_v_acc = ((PurpleAccount *)__pyx_v_iter->data);
11740 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":367
11741 * acc = <account.PurpleAccount *> iter.data
11743 * if <account.PurpleAccount *>acc: # <<<<<<<<<<<<<<
11744 * username = <char *> account.purple_account_get_username(acc)
11745 * protocol_id = <char *> account.purple_account_get_protocol_id(acc)
11747 __pyx_2 = (((PurpleAccount *)__pyx_v_acc) != 0);
11750 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":368
11752 * if <account.PurpleAccount *>acc:
11753 * username = <char *> account.purple_account_get_username(acc) # <<<<<<<<<<<<<<
11754 * protocol_id = <char *> account.purple_account_get_protocol_id(acc)
11757 __pyx_v_username = ((char *)purple_account_get_username(__pyx_v_acc));
11759 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":369
11760 * if <account.PurpleAccount *>acc:
11761 * username = <char *> account.purple_account_get_username(acc)
11762 * protocol_id = <char *> account.purple_account_get_protocol_id(acc) # <<<<<<<<<<<<<<
11764 * if username != NULL and protocol_id != NULL:
11766 __pyx_v_protocol_id = ((char *)purple_account_get_protocol_id(__pyx_v_acc));
11768 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":371
11769 * protocol_id = <char *> account.purple_account_get_protocol_id(acc)
11771 * if username != NULL and protocol_id != NULL: # <<<<<<<<<<<<<<
11772 * account_list.append(Account(username, \
11773 * Protocol(protocol_id), self))
11775 __pyx_2 = (__pyx_v_username != NULL);
11777 __pyx_2 = (__pyx_v_protocol_id != NULL);
11781 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":372
11783 * if username != NULL and protocol_id != NULL:
11784 * account_list.append(Account(username, \ # <<<<<<<<<<<<<<
11785 * Protocol(protocol_id), self))
11788 __pyx_1 = __Pyx_PyBytes_FromString(__pyx_v_username); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 372; __pyx_clineno = __LINE__; goto __pyx_L1;}
11790 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":373
11791 * if username != NULL and protocol_id != NULL:
11792 * account_list.append(Account(username, \
11793 * Protocol(protocol_id), self)) # <<<<<<<<<<<<<<
11797 __pyx_3 = __Pyx_PyBytes_FromString(__pyx_v_protocol_id); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 373; __pyx_clineno = __LINE__; goto __pyx_L1;}
11798 __pyx_4 = PyTuple_New(1); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 373; __pyx_clineno = __LINE__; goto __pyx_L1;}
11799 PyTuple_SET_ITEM(__pyx_4, 0, __pyx_3);
11801 __pyx_3 = PyObject_Call(((PyObject*)__pyx_ptype_6purple_Protocol), ((PyObject *)__pyx_4), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 373; __pyx_clineno = __LINE__; goto __pyx_L1;}
11802 Py_DECREF(((PyObject *)__pyx_4)); __pyx_4 = 0;
11803 __pyx_4 = PyTuple_New(3); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 372; __pyx_clineno = __LINE__; goto __pyx_L1;}
11804 PyTuple_SET_ITEM(__pyx_4, 0, __pyx_1);
11805 PyTuple_SET_ITEM(__pyx_4, 1, __pyx_3);
11806 Py_INCREF(__pyx_v_self);
11807 PyTuple_SET_ITEM(__pyx_4, 2, __pyx_v_self);
11810 __pyx_1 = PyObject_Call(((PyObject*)__pyx_ptype_6purple_Account), ((PyObject *)__pyx_4), NULL); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 372; __pyx_clineno = __LINE__; goto __pyx_L1;}
11811 Py_DECREF(((PyObject *)__pyx_4)); __pyx_4 = 0;
11812 __pyx_3 = __Pyx_PyObject_Append(__pyx_v_account_list, __pyx_1); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 372; __pyx_clineno = __LINE__; goto __pyx_L1;}
11813 Py_DECREF(__pyx_1); __pyx_1 = 0;
11814 Py_DECREF(__pyx_3); __pyx_3 = 0;
11822 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":374
11823 * account_list.append(Account(username, \
11824 * Protocol(protocol_id), self))
11825 * iter = iter.next # <<<<<<<<<<<<<<
11827 * return account_list
11829 __pyx_v_iter = __pyx_v_iter->next;
11832 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":376
11835 * return account_list # <<<<<<<<<<<<<<
11837 * def protocols_get_all(self):
11839 Py_INCREF(__pyx_v_account_list);
11840 __pyx_r = __pyx_v_account_list;
11843 __pyx_r = Py_None; Py_INCREF(Py_None);
11846 Py_XDECREF(__pyx_1);
11847 Py_XDECREF(__pyx_3);
11848 Py_XDECREF(__pyx_4);
11849 __Pyx_AddTraceback("purple.Purple.accounts_get_all_active");
11852 Py_DECREF(__pyx_v_account_list);
11856 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":378
11857 * return account_list
11859 * def protocols_get_all(self): # <<<<<<<<<<<<<<
11860 * cdef glib.GList *iter
11861 * cdef plugin.PurplePlugin *pp
11864 static PyObject *__pyx_pf_6purple_6Purple_protocols_get_all(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
11865 static PyObject *__pyx_pf_6purple_6Purple_protocols_get_all(PyObject *__pyx_v_self, PyObject *unused) {
11866 GList *__pyx_v_iter;
11867 PurplePlugin *__pyx_v_pp;
11868 PyObject *__pyx_v_protocol_list;
11870 PyObject *__pyx_1 = 0;
11872 PyObject *__pyx_3 = 0;
11873 __pyx_v_protocol_list = Py_None; Py_INCREF(Py_None);
11875 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":382
11876 * cdef plugin.PurplePlugin *pp
11878 * iter = plugin.purple_plugins_get_protocols() # <<<<<<<<<<<<<<
11879 * protocol_list = []
11882 __pyx_v_iter = purple_plugins_get_protocols();
11884 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":383
11886 * iter = plugin.purple_plugins_get_protocols()
11887 * protocol_list = [] # <<<<<<<<<<<<<<
11889 * pp = <plugin.PurplePlugin*> iter.data
11891 __pyx_1 = PyList_New(0); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 383; __pyx_clineno = __LINE__; goto __pyx_L1;}
11892 Py_DECREF(__pyx_v_protocol_list);
11893 __pyx_v_protocol_list = ((PyObject *)__pyx_1);
11896 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":384
11897 * iter = plugin.purple_plugins_get_protocols()
11898 * protocol_list = []
11899 * while iter: # <<<<<<<<<<<<<<
11900 * pp = <plugin.PurplePlugin*> iter.data
11901 * if pp.info and pp.info.name:
11904 __pyx_2 = (__pyx_v_iter != 0);
11905 if (!__pyx_2) break;
11907 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":385
11908 * protocol_list = []
11910 * pp = <plugin.PurplePlugin*> iter.data # <<<<<<<<<<<<<<
11911 * if pp.info and pp.info.name:
11912 * protocol_list.append(Protocol(pp.info.id))
11914 __pyx_v_pp = ((PurplePlugin *)__pyx_v_iter->data);
11916 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":386
11918 * pp = <plugin.PurplePlugin*> iter.data
11919 * if pp.info and pp.info.name: # <<<<<<<<<<<<<<
11920 * protocol_list.append(Protocol(pp.info.id))
11923 __pyx_2 = (__pyx_v_pp->info != 0);
11925 __pyx_2 = (__pyx_v_pp->info->name != 0);
11929 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":387
11930 * pp = <plugin.PurplePlugin*> iter.data
11931 * if pp.info and pp.info.name:
11932 * protocol_list.append(Protocol(pp.info.id)) # <<<<<<<<<<<<<<
11934 * return protocol_list
11936 __pyx_1 = __Pyx_PyBytes_FromString(__pyx_v_pp->info->id); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 387; __pyx_clineno = __LINE__; goto __pyx_L1;}
11937 __pyx_3 = PyTuple_New(1); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 387; __pyx_clineno = __LINE__; goto __pyx_L1;}
11938 PyTuple_SET_ITEM(__pyx_3, 0, __pyx_1);
11940 __pyx_1 = PyObject_Call(((PyObject*)__pyx_ptype_6purple_Protocol), ((PyObject *)__pyx_3), NULL); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 387; __pyx_clineno = __LINE__; goto __pyx_L1;}
11941 Py_DECREF(((PyObject *)__pyx_3)); __pyx_3 = 0;
11942 __pyx_3 = __Pyx_PyObject_Append(__pyx_v_protocol_list, __pyx_1); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 387; __pyx_clineno = __LINE__; goto __pyx_L1;}
11943 Py_DECREF(__pyx_1); __pyx_1 = 0;
11944 Py_DECREF(__pyx_3); __pyx_3 = 0;
11949 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":388
11950 * if pp.info and pp.info.name:
11951 * protocol_list.append(Protocol(pp.info.id))
11952 * iter = iter.next # <<<<<<<<<<<<<<
11953 * return protocol_list
11956 __pyx_v_iter = __pyx_v_iter->next;
11959 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":389
11960 * protocol_list.append(Protocol(pp.info.id))
11962 * return protocol_list # <<<<<<<<<<<<<<
11964 * include "protocol.pyx"
11966 Py_INCREF(__pyx_v_protocol_list);
11967 __pyx_r = __pyx_v_protocol_list;
11970 __pyx_r = Py_None; Py_INCREF(Py_None);
11973 Py_XDECREF(__pyx_1);
11974 Py_XDECREF(__pyx_3);
11975 __Pyx_AddTraceback("purple.Purple.protocols_get_all");
11978 Py_DECREF(__pyx_v_protocol_list);
11982 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":30
11983 * cdef object __exists
11985 * def __init__(self, id): # <<<<<<<<<<<<<<
11990 static int __pyx_pf_6purple_8Protocol___init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
11991 static int __pyx_pf_6purple_8Protocol___init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
11992 PyObject *__pyx_v_id = 0;
11995 static char *__pyx_argnames[] = {"id",0};
11996 if (likely(!__pyx_kwds) && likely(PyTuple_GET_SIZE(__pyx_args) == 1)) {
11997 __pyx_v_id = PyTuple_GET_ITEM(__pyx_args, 0);
12000 if (unlikely(!PyArg_ParseTupleAndKeywords(__pyx_args, __pyx_kwds, "O", __pyx_argnames, &__pyx_v_id))) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 30; __pyx_clineno = __LINE__; goto __pyx_L2;}
12004 __Pyx_AddTraceback("purple.Protocol.__init__");
12008 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":31
12010 * def __init__(self, id):
12011 * self.__id = id # <<<<<<<<<<<<<<
12013 * if self._get_structure() != NULL:
12015 Py_INCREF(__pyx_v_id);
12016 Py_DECREF(((struct __pyx_obj_6purple_Protocol *)__pyx_v_self)->__id);
12017 ((struct __pyx_obj_6purple_Protocol *)__pyx_v_self)->__id = __pyx_v_id;
12019 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":33
12022 * if self._get_structure() != NULL: # <<<<<<<<<<<<<<
12023 * self.__exists = True
12026 __pyx_1 = (((struct __pyx_vtabstruct_6purple_Protocol *)((struct __pyx_obj_6purple_Protocol *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Protocol *)__pyx_v_self)) != NULL);
12029 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":34
12031 * if self._get_structure() != NULL:
12032 * self.__exists = True # <<<<<<<<<<<<<<
12034 * self.__exists = False
12036 Py_INCREF(Py_True);
12037 Py_DECREF(((struct __pyx_obj_6purple_Protocol *)__pyx_v_self)->__exists);
12038 ((struct __pyx_obj_6purple_Protocol *)__pyx_v_self)->__exists = Py_True;
12043 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":36
12044 * self.__exists = True
12046 * self.__exists = False # <<<<<<<<<<<<<<
12048 * cdef plugin.PurplePlugin *_get_structure(self):
12050 Py_INCREF(Py_False);
12051 Py_DECREF(((struct __pyx_obj_6purple_Protocol *)__pyx_v_self)->__exists);
12052 ((struct __pyx_obj_6purple_Protocol *)__pyx_v_self)->__exists = Py_False;
12060 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":38
12061 * self.__exists = False
12063 * cdef plugin.PurplePlugin *_get_structure(self): # <<<<<<<<<<<<<<
12064 * return plugin.purple_plugins_find_with_id(self.__id)
12068 static PurplePlugin *__pyx_f_6purple_8Protocol__get_structure(struct __pyx_obj_6purple_Protocol *__pyx_v_self) {
12069 PurplePlugin *__pyx_r;
12072 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":39
12074 * cdef plugin.PurplePlugin *_get_structure(self):
12075 * return plugin.purple_plugins_find_with_id(self.__id) # <<<<<<<<<<<<<<
12077 * def __get_exists(self):
12079 __pyx_1 = __Pyx_PyBytes_AsString(__pyx_v_self->__id); if (unlikely((!__pyx_1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 39; __pyx_clineno = __LINE__; goto __pyx_L1;}
12080 __pyx_r = purple_plugins_find_with_id(__pyx_1);
12086 __Pyx_WriteUnraisable("purple.Protocol._get_structure");
12092 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":41
12093 * return plugin.purple_plugins_find_with_id(self.__id)
12095 * def __get_exists(self): # <<<<<<<<<<<<<<
12096 * return self.__exists
12097 * exists = property(__get_exists)
12100 static PyObject *__pyx_pf_6purple_8Protocol___get_exists(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
12101 static PyObject *__pyx_pf_6purple_8Protocol___get_exists(PyObject *__pyx_v_self, PyObject *unused) {
12104 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":42
12106 * def __get_exists(self):
12107 * return self.__exists # <<<<<<<<<<<<<<
12108 * exists = property(__get_exists)
12111 Py_INCREF(((struct __pyx_obj_6purple_Protocol *)__pyx_v_self)->__exists);
12112 __pyx_r = ((struct __pyx_obj_6purple_Protocol *)__pyx_v_self)->__exists;
12115 __pyx_r = Py_None; Py_INCREF(Py_None);
12120 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":45
12121 * exists = property(__get_exists)
12123 * def __get_id(self): # <<<<<<<<<<<<<<
12125 * id = property(__get_id)
12128 static PyObject *__pyx_pf_6purple_8Protocol___get_id(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
12129 static PyObject *__pyx_pf_6purple_8Protocol___get_id(PyObject *__pyx_v_self, PyObject *unused) {
12132 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":46
12134 * def __get_id(self):
12135 * return self.__id # <<<<<<<<<<<<<<
12136 * id = property(__get_id)
12139 Py_INCREF(((struct __pyx_obj_6purple_Protocol *)__pyx_v_self)->__id);
12140 __pyx_r = ((struct __pyx_obj_6purple_Protocol *)__pyx_v_self)->__id;
12143 __pyx_r = Py_None; Py_INCREF(Py_None);
12148 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":49
12149 * id = property(__get_id)
12151 * def __get_name(self): # <<<<<<<<<<<<<<
12152 * cdef char *name = NULL
12153 * if self.__exists:
12156 static PyObject *__pyx_pf_6purple_8Protocol___get_name(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
12157 static PyObject *__pyx_pf_6purple_8Protocol___get_name(PyObject *__pyx_v_self, PyObject *unused) {
12158 char *__pyx_v_name;
12161 PyObject *__pyx_2 = 0;
12163 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":50
12165 * def __get_name(self):
12166 * cdef char *name = NULL # <<<<<<<<<<<<<<
12167 * if self.__exists:
12168 * name = <char *> plugin.purple_plugin_get_name(self._get_structure())
12170 __pyx_v_name = NULL;
12173 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":51
12174 * def __get_name(self):
12175 * cdef char *name = NULL
12176 * if self.__exists: # <<<<<<<<<<<<<<
12177 * name = <char *> plugin.purple_plugin_get_name(self._get_structure())
12180 __pyx_1 = __Pyx_PyObject_IsTrue(((struct __pyx_obj_6purple_Protocol *)__pyx_v_self)->__exists); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 51; __pyx_clineno = __LINE__; goto __pyx_L1;}
12183 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":52
12184 * cdef char *name = NULL
12185 * if self.__exists:
12186 * name = <char *> plugin.purple_plugin_get_name(self._get_structure()) # <<<<<<<<<<<<<<
12190 __pyx_v_name = ((char *)purple_plugin_get_name(((struct __pyx_vtabstruct_6purple_Protocol *)((struct __pyx_obj_6purple_Protocol *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Protocol *)__pyx_v_self))));
12192 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":53
12193 * if self.__exists:
12194 * name = <char *> plugin.purple_plugin_get_name(self._get_structure())
12195 * if name != NULL: # <<<<<<<<<<<<<<
12199 __pyx_1 = (__pyx_v_name != NULL);
12202 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":54
12203 * name = <char *> plugin.purple_plugin_get_name(self._get_structure())
12205 * return name # <<<<<<<<<<<<<<
12209 __pyx_2 = __Pyx_PyBytes_FromString(__pyx_v_name); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 54; __pyx_clineno = __LINE__; goto __pyx_L1;}
12217 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":56
12220 * return None # <<<<<<<<<<<<<<
12222 * name = property(__get_name)
12224 Py_INCREF(Py_None);
12233 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":57
12236 * return None # <<<<<<<<<<<<<<
12237 * name = property(__get_name)
12240 Py_INCREF(Py_None);
12244 __pyx_r = Py_None; Py_INCREF(Py_None);
12247 Py_XDECREF(__pyx_2);
12248 __Pyx_AddTraceback("purple.Protocol.__get_name");
12254 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":60
12255 * name = property(__get_name)
12257 * def __get_options_labels(self): # <<<<<<<<<<<<<<
12258 * cdef prpl.PurplePluginProtocolInfo *prpl_info
12259 * cdef glib.GList *iter
12262 static PyObject *__pyx_pf_6purple_8Protocol___get_options_labels(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
12263 static PyObject *__pyx_pf_6purple_8Protocol___get_options_labels(PyObject *__pyx_v_self, PyObject *unused) {
12264 PurplePluginProtocolInfo *__pyx_v_prpl_info;
12265 GList *__pyx_v_iter;
12266 PurpleAccountOption *__pyx_v_option;
12267 PurplePrefType __pyx_v_type;
12268 const char *__pyx_v_label_name;
12269 const char *__pyx_v_setting;
12270 PyObject *__pyx_v_po;
12271 PyObject *__pyx_v_sett;
12272 PyObject *__pyx_v_label;
12276 PyObject *__pyx_3 = 0;
12277 PyObject *__pyx_4 = 0;
12278 __pyx_v_po = Py_None; Py_INCREF(Py_None);
12279 __pyx_v_sett = Py_None; Py_INCREF(Py_None);
12280 __pyx_v_label = Py_None; Py_INCREF(Py_None);
12282 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":68
12283 * cdef const_char *setting
12285 * if not self.__exists: # <<<<<<<<<<<<<<
12289 __pyx_1 = __Pyx_PyObject_IsTrue(((struct __pyx_obj_6purple_Protocol *)__pyx_v_self)->__exists); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 68; __pyx_clineno = __LINE__; goto __pyx_L1;}
12290 __pyx_2 = (!__pyx_1);
12293 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":69
12295 * if not self.__exists:
12296 * return None # <<<<<<<<<<<<<<
12298 * prpl_info = plugin.PURPLE_PLUGIN_PROTOCOL_INFO(self._get_structure())
12300 Py_INCREF(Py_None);
12307 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":71
12310 * prpl_info = plugin.PURPLE_PLUGIN_PROTOCOL_INFO(self._get_structure()) # <<<<<<<<<<<<<<
12314 __pyx_v_prpl_info = PURPLE_PLUGIN_PROTOCOL_INFO(((struct __pyx_vtabstruct_6purple_Protocol *)((struct __pyx_obj_6purple_Protocol *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Protocol *)__pyx_v_self)));
12316 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":73
12317 * prpl_info = plugin.PURPLE_PLUGIN_PROTOCOL_INFO(self._get_structure())
12319 * po = {} # <<<<<<<<<<<<<<
12321 * iter = prpl_info.protocol_options
12323 __pyx_3 = PyDict_New(); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 73; __pyx_clineno = __LINE__; goto __pyx_L1;}
12324 Py_DECREF(__pyx_v_po);
12325 __pyx_v_po = ((PyObject *)__pyx_3);
12328 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":75
12331 * iter = prpl_info.protocol_options # <<<<<<<<<<<<<<
12335 __pyx_v_iter = __pyx_v_prpl_info->protocol_options;
12337 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":77
12338 * iter = prpl_info.protocol_options
12340 * while iter: # <<<<<<<<<<<<<<
12342 * option = <accountopt.PurpleAccountOption *> iter.data
12345 __pyx_1 = (__pyx_v_iter != 0);
12346 if (!__pyx_1) break;
12348 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":79
12351 * option = <accountopt.PurpleAccountOption *> iter.data # <<<<<<<<<<<<<<
12352 * type = accountopt.purple_account_option_get_type(option)
12353 * label_name = accountopt.purple_account_option_get_text(option)
12355 __pyx_v_option = ((PurpleAccountOption *)__pyx_v_iter->data);
12357 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":80
12359 * option = <accountopt.PurpleAccountOption *> iter.data
12360 * type = accountopt.purple_account_option_get_type(option) # <<<<<<<<<<<<<<
12361 * label_name = accountopt.purple_account_option_get_text(option)
12362 * setting = accountopt.purple_account_option_get_setting(option)
12364 __pyx_v_type = purple_account_option_get_type(__pyx_v_option);
12366 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":81
12367 * option = <accountopt.PurpleAccountOption *> iter.data
12368 * type = accountopt.purple_account_option_get_type(option)
12369 * label_name = accountopt.purple_account_option_get_text(option) # <<<<<<<<<<<<<<
12370 * setting = accountopt.purple_account_option_get_setting(option)
12373 __pyx_v_label_name = purple_account_option_get_text(__pyx_v_option);
12375 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":82
12376 * type = accountopt.purple_account_option_get_type(option)
12377 * label_name = accountopt.purple_account_option_get_text(option)
12378 * setting = accountopt.purple_account_option_get_setting(option) # <<<<<<<<<<<<<<
12380 * sett = str(<char *> setting)
12382 __pyx_v_setting = purple_account_option_get_setting(__pyx_v_option);
12384 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":84
12385 * setting = accountopt.purple_account_option_get_setting(option)
12387 * sett = str(<char *> setting) # <<<<<<<<<<<<<<
12388 * label = str(<char *> label_name)
12391 __pyx_3 = __Pyx_PyBytes_FromString(((char *)__pyx_v_setting)); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 84; __pyx_clineno = __LINE__; goto __pyx_L1;}
12392 __pyx_4 = PyTuple_New(1); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 84; __pyx_clineno = __LINE__; goto __pyx_L1;}
12393 PyTuple_SET_ITEM(__pyx_4, 0, __pyx_3);
12395 __pyx_3 = PyObject_Call(((PyObject*)&PyBytes_Type), ((PyObject *)__pyx_4), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 84; __pyx_clineno = __LINE__; goto __pyx_L1;}
12396 Py_DECREF(((PyObject *)__pyx_4)); __pyx_4 = 0;
12397 Py_DECREF(__pyx_v_sett);
12398 __pyx_v_sett = __pyx_3;
12401 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":85
12403 * sett = str(<char *> setting)
12404 * label = str(<char *> label_name) # <<<<<<<<<<<<<<
12408 __pyx_4 = __Pyx_PyBytes_FromString(((char *)__pyx_v_label_name)); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 85; __pyx_clineno = __LINE__; goto __pyx_L1;}
12409 __pyx_3 = PyTuple_New(1); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 85; __pyx_clineno = __LINE__; goto __pyx_L1;}
12410 PyTuple_SET_ITEM(__pyx_3, 0, __pyx_4);
12412 __pyx_4 = PyObject_Call(((PyObject*)&PyBytes_Type), ((PyObject *)__pyx_3), NULL); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 85; __pyx_clineno = __LINE__; goto __pyx_L1;}
12413 Py_DECREF(((PyObject *)__pyx_3)); __pyx_3 = 0;
12414 Py_DECREF(__pyx_v_label);
12415 __pyx_v_label = __pyx_4;
12418 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":87
12419 * label = str(<char *> label_name)
12421 * iter = iter.next # <<<<<<<<<<<<<<
12425 __pyx_v_iter = __pyx_v_iter->next;
12427 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":89
12430 * po[sett] = label # <<<<<<<<<<<<<<
12434 if (PyObject_SetItem(__pyx_v_po, __pyx_v_sett, __pyx_v_label) < 0) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 89; __pyx_clineno = __LINE__; goto __pyx_L1;}
12437 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":91
12440 * return po # <<<<<<<<<<<<<<
12441 * options_labels = property(__get_options_labels)
12444 Py_INCREF(__pyx_v_po);
12445 __pyx_r = __pyx_v_po;
12448 __pyx_r = Py_None; Py_INCREF(Py_None);
12451 Py_XDECREF(__pyx_3);
12452 Py_XDECREF(__pyx_4);
12453 __Pyx_AddTraceback("purple.Protocol.__get_options_labels");
12456 Py_DECREF(__pyx_v_po);
12457 Py_DECREF(__pyx_v_sett);
12458 Py_DECREF(__pyx_v_label);
12462 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":94
12463 * options_labels = property(__get_options_labels)
12465 * def __get_options_values(self): # <<<<<<<<<<<<<<
12466 * cdef prpl.PurplePluginProtocolInfo *prpl_info
12467 * cdef glib.GList *iter
12470 static char __pyx_k_bool[] = "bool";
12472 static PyObject *__pyx_kp_bool;
12474 static PyObject *__pyx_builtin_bool;
12476 static char __pyx_k_426[] = "";
12478 static PyObject *__pyx_pf_6purple_8Protocol___get_options_values(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
12479 static PyObject *__pyx_pf_6purple_8Protocol___get_options_values(PyObject *__pyx_v_self, PyObject *unused) {
12480 PurplePluginProtocolInfo *__pyx_v_prpl_info;
12481 GList *__pyx_v_iter;
12482 PurpleAccountOption *__pyx_v_option;
12483 PurplePrefType __pyx_v_type;
12484 const char *__pyx_v_str_value;
12485 const char *__pyx_v_setting;
12486 int __pyx_v_int_value;
12487 gboolean __pyx_v_bool_value;
12488 PyObject *__pyx_v_po;
12489 PyObject *__pyx_v_sett;
12490 PyObject *__pyx_v_val;
12494 PyObject *__pyx_3 = 0;
12495 PyObject *__pyx_4 = 0;
12496 __pyx_v_po = Py_None; Py_INCREF(Py_None);
12497 __pyx_v_sett = Py_None; Py_INCREF(Py_None);
12498 __pyx_v_val = Py_None; Py_INCREF(Py_None);
12500 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":104
12501 * cdef glib.gboolean bool_value
12503 * if not self.__exists: # <<<<<<<<<<<<<<
12507 __pyx_1 = __Pyx_PyObject_IsTrue(((struct __pyx_obj_6purple_Protocol *)__pyx_v_self)->__exists); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 104; __pyx_clineno = __LINE__; goto __pyx_L1;}
12508 __pyx_2 = (!__pyx_1);
12511 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":105
12513 * if not self.__exists:
12514 * return None # <<<<<<<<<<<<<<
12516 * prpl_info = plugin.PURPLE_PLUGIN_PROTOCOL_INFO(self._get_structure())
12518 Py_INCREF(Py_None);
12525 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":107
12528 * prpl_info = plugin.PURPLE_PLUGIN_PROTOCOL_INFO(self._get_structure()) # <<<<<<<<<<<<<<
12532 __pyx_v_prpl_info = PURPLE_PLUGIN_PROTOCOL_INFO(((struct __pyx_vtabstruct_6purple_Protocol *)((struct __pyx_obj_6purple_Protocol *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Protocol *)__pyx_v_self)));
12534 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":109
12535 * prpl_info = plugin.PURPLE_PLUGIN_PROTOCOL_INFO(self._get_structure())
12537 * po = {} # <<<<<<<<<<<<<<
12539 * iter = prpl_info.protocol_options
12541 __pyx_3 = PyDict_New(); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 109; __pyx_clineno = __LINE__; goto __pyx_L1;}
12542 Py_DECREF(__pyx_v_po);
12543 __pyx_v_po = ((PyObject *)__pyx_3);
12546 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":111
12549 * iter = prpl_info.protocol_options # <<<<<<<<<<<<<<
12553 __pyx_v_iter = __pyx_v_prpl_info->protocol_options;
12555 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":113
12556 * iter = prpl_info.protocol_options
12558 * while iter: # <<<<<<<<<<<<<<
12560 * option = <accountopt.PurpleAccountOption *> iter.data
12563 __pyx_1 = (__pyx_v_iter != 0);
12564 if (!__pyx_1) break;
12566 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":115
12569 * option = <accountopt.PurpleAccountOption *> iter.data # <<<<<<<<<<<<<<
12570 * type = accountopt.purple_account_option_get_type(option)
12571 * setting = accountopt.purple_account_option_get_setting(option)
12573 __pyx_v_option = ((PurpleAccountOption *)__pyx_v_iter->data);
12575 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":116
12577 * option = <accountopt.PurpleAccountOption *> iter.data
12578 * type = accountopt.purple_account_option_get_type(option) # <<<<<<<<<<<<<<
12579 * setting = accountopt.purple_account_option_get_setting(option)
12582 __pyx_v_type = purple_account_option_get_type(__pyx_v_option);
12584 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":117
12585 * option = <accountopt.PurpleAccountOption *> iter.data
12586 * type = accountopt.purple_account_option_get_type(option)
12587 * setting = accountopt.purple_account_option_get_setting(option) # <<<<<<<<<<<<<<
12589 * sett = str(<char *> setting)
12591 __pyx_v_setting = purple_account_option_get_setting(__pyx_v_option);
12593 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":119
12594 * setting = accountopt.purple_account_option_get_setting(option)
12596 * sett = str(<char *> setting) # <<<<<<<<<<<<<<
12598 * if type == prefs.PURPLE_PREF_STRING:
12600 __pyx_3 = __Pyx_PyBytes_FromString(((char *)__pyx_v_setting)); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 119; __pyx_clineno = __LINE__; goto __pyx_L1;}
12601 __pyx_4 = PyTuple_New(1); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 119; __pyx_clineno = __LINE__; goto __pyx_L1;}
12602 PyTuple_SET_ITEM(__pyx_4, 0, __pyx_3);
12604 __pyx_3 = PyObject_Call(((PyObject*)&PyBytes_Type), ((PyObject *)__pyx_4), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 119; __pyx_clineno = __LINE__; goto __pyx_L1;}
12605 Py_DECREF(((PyObject *)__pyx_4)); __pyx_4 = 0;
12606 Py_DECREF(__pyx_v_sett);
12607 __pyx_v_sett = __pyx_3;
12610 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":121
12611 * sett = str(<char *> setting)
12613 * if type == prefs.PURPLE_PREF_STRING: # <<<<<<<<<<<<<<
12614 * str_value = accountopt.purple_account_option_get_default_string(option)
12615 * # Hack to set string "" as default value when the
12617 __pyx_2 = (__pyx_v_type == PURPLE_PREF_STRING);
12620 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":122
12622 * if type == prefs.PURPLE_PREF_STRING:
12623 * str_value = accountopt.purple_account_option_get_default_string(option) # <<<<<<<<<<<<<<
12624 * # Hack to set string "" as default value when the
12625 * # protocol's option is NULL
12627 __pyx_v_str_value = purple_account_option_get_default_string(__pyx_v_option);
12629 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":125
12630 * # Hack to set string "" as default value when the
12631 * # protocol's option is NULL
12632 * if str_value == NULL: # <<<<<<<<<<<<<<
12634 * val = str(<char *> str_value)
12636 __pyx_1 = (__pyx_v_str_value == NULL);
12639 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":126
12640 * # protocol's option is NULL
12641 * if str_value == NULL:
12642 * str_value = "" # <<<<<<<<<<<<<<
12643 * val = str(<char *> str_value)
12646 __pyx_v_str_value = __pyx_k_426;
12651 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":127
12652 * if str_value == NULL:
12654 * val = str(<char *> str_value) # <<<<<<<<<<<<<<
12656 * elif type == prefs.PURPLE_PREF_INT:
12658 __pyx_4 = __Pyx_PyBytes_FromString(((char *)__pyx_v_str_value)); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 127; __pyx_clineno = __LINE__; goto __pyx_L1;}
12659 __pyx_3 = PyTuple_New(1); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 127; __pyx_clineno = __LINE__; goto __pyx_L1;}
12660 PyTuple_SET_ITEM(__pyx_3, 0, __pyx_4);
12662 __pyx_4 = PyObject_Call(((PyObject*)&PyBytes_Type), ((PyObject *)__pyx_3), NULL); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 127; __pyx_clineno = __LINE__; goto __pyx_L1;}
12663 Py_DECREF(((PyObject *)__pyx_3)); __pyx_3 = 0;
12664 Py_DECREF(__pyx_v_val);
12665 __pyx_v_val = __pyx_4;
12670 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":129
12671 * val = str(<char *> str_value)
12673 * elif type == prefs.PURPLE_PREF_INT: # <<<<<<<<<<<<<<
12674 * int_value = accountopt.purple_account_option_get_default_int(option)
12675 * val = int(int_value)
12677 __pyx_2 = (__pyx_v_type == PURPLE_PREF_INT);
12680 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":130
12682 * elif type == prefs.PURPLE_PREF_INT:
12683 * int_value = accountopt.purple_account_option_get_default_int(option) # <<<<<<<<<<<<<<
12684 * val = int(int_value)
12687 __pyx_v_int_value = purple_account_option_get_default_int(__pyx_v_option);
12689 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":131
12690 * elif type == prefs.PURPLE_PREF_INT:
12691 * int_value = accountopt.purple_account_option_get_default_int(option)
12692 * val = int(int_value) # <<<<<<<<<<<<<<
12694 * elif type == prefs.PURPLE_PREF_BOOLEAN:
12696 __pyx_3 = PyInt_FromLong(__pyx_v_int_value); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 131; __pyx_clineno = __LINE__; goto __pyx_L1;}
12697 __pyx_4 = PyTuple_New(1); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 131; __pyx_clineno = __LINE__; goto __pyx_L1;}
12698 PyTuple_SET_ITEM(__pyx_4, 0, __pyx_3);
12700 __pyx_3 = PyObject_Call(((PyObject*)&PyInt_Type), ((PyObject *)__pyx_4), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 131; __pyx_clineno = __LINE__; goto __pyx_L1;}
12701 Py_DECREF(((PyObject *)__pyx_4)); __pyx_4 = 0;
12702 Py_DECREF(__pyx_v_val);
12703 __pyx_v_val = __pyx_3;
12708 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":133
12709 * val = int(int_value)
12711 * elif type == prefs.PURPLE_PREF_BOOLEAN: # <<<<<<<<<<<<<<
12712 * bool_value = accountopt.purple_account_option_get_default_bool(option)
12715 __pyx_1 = (__pyx_v_type == PURPLE_PREF_BOOLEAN);
12718 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":134
12720 * elif type == prefs.PURPLE_PREF_BOOLEAN:
12721 * bool_value = accountopt.purple_account_option_get_default_bool(option) # <<<<<<<<<<<<<<
12723 * val = bool(bool_value)
12725 __pyx_v_bool_value = purple_account_option_get_default_bool(__pyx_v_option);
12727 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":136
12728 * bool_value = accountopt.purple_account_option_get_default_bool(option)
12730 * val = bool(bool_value) # <<<<<<<<<<<<<<
12732 * elif type == prefs.PURPLE_PREF_STRING_LIST:
12734 __pyx_4 = PyInt_FromLong(__pyx_v_bool_value); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 136; __pyx_clineno = __LINE__; goto __pyx_L1;}
12735 __pyx_3 = PyTuple_New(1); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 136; __pyx_clineno = __LINE__; goto __pyx_L1;}
12736 PyTuple_SET_ITEM(__pyx_3, 0, __pyx_4);
12738 __pyx_4 = PyObject_Call(__pyx_builtin_bool, ((PyObject *)__pyx_3), NULL); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 136; __pyx_clineno = __LINE__; goto __pyx_L1;}
12739 Py_DECREF(((PyObject *)__pyx_3)); __pyx_3 = 0;
12740 Py_DECREF(__pyx_v_val);
12741 __pyx_v_val = __pyx_4;
12746 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":138
12747 * val = bool(bool_value)
12749 * elif type == prefs.PURPLE_PREF_STRING_LIST: # <<<<<<<<<<<<<<
12750 * str_value = accountopt.purple_account_option_get_default_list_value(option)
12753 __pyx_2 = (__pyx_v_type == PURPLE_PREF_STRING_LIST);
12756 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":139
12758 * elif type == prefs.PURPLE_PREF_STRING_LIST:
12759 * str_value = accountopt.purple_account_option_get_default_list_value(option) # <<<<<<<<<<<<<<
12761 * val = str(<char *> str_value)
12763 __pyx_v_str_value = purple_account_option_get_default_list_value(__pyx_v_option);
12765 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":141
12766 * str_value = accountopt.purple_account_option_get_default_list_value(option)
12768 * val = str(<char *> str_value) # <<<<<<<<<<<<<<
12772 __pyx_3 = __Pyx_PyBytes_FromString(((char *)__pyx_v_str_value)); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 141; __pyx_clineno = __LINE__; goto __pyx_L1;}
12773 __pyx_4 = PyTuple_New(1); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 141; __pyx_clineno = __LINE__; goto __pyx_L1;}
12774 PyTuple_SET_ITEM(__pyx_4, 0, __pyx_3);
12776 __pyx_3 = PyObject_Call(((PyObject*)&PyBytes_Type), ((PyObject *)__pyx_4), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 141; __pyx_clineno = __LINE__; goto __pyx_L1;}
12777 Py_DECREF(((PyObject *)__pyx_4)); __pyx_4 = 0;
12778 Py_DECREF(__pyx_v_val);
12779 __pyx_v_val = __pyx_3;
12785 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":143
12786 * val = str(<char *> str_value)
12788 * iter = iter.next # <<<<<<<<<<<<<<
12792 __pyx_v_iter = __pyx_v_iter->next;
12794 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":145
12797 * po[sett] = val # <<<<<<<<<<<<<<
12801 if (PyObject_SetItem(__pyx_v_po, __pyx_v_sett, __pyx_v_val) < 0) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 145; __pyx_clineno = __LINE__; goto __pyx_L1;}
12804 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":147
12807 * return po # <<<<<<<<<<<<<<
12808 * options_values = property(__get_options_values)
12810 Py_INCREF(__pyx_v_po);
12811 __pyx_r = __pyx_v_po;
12814 __pyx_r = Py_None; Py_INCREF(Py_None);
12817 Py_XDECREF(__pyx_3);
12818 Py_XDECREF(__pyx_4);
12819 __Pyx_AddTraceback("purple.Protocol.__get_options_values");
12822 Py_DECREF(__pyx_v_po);
12823 Py_DECREF(__pyx_v_sett);
12824 Py_DECREF(__pyx_v_val);
12828 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":25
12829 * cdef proxy.PurpleProxyType c_type
12831 * def __init__(self): # <<<<<<<<<<<<<<
12832 * self.c_type = proxy.PURPLE_PROXY_NONE
12836 static int __pyx_pf_6purple_13ProxyInfoType___init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
12837 static int __pyx_pf_6purple_13ProxyInfoType___init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
12839 if (unlikely(PyTuple_GET_SIZE(__pyx_args) > 0)) {
12840 __Pyx_RaiseArgtupleTooLong(0, PyTuple_GET_SIZE(__pyx_args));
12843 if (unlikely(__pyx_kwds)) {
12844 if (unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "__init__", 0))) return -1;
12847 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":26
12849 * def __init__(self):
12850 * self.c_type = proxy.PURPLE_PROXY_NONE # <<<<<<<<<<<<<<
12852 * def get_NONE(self):
12854 ((struct __pyx_obj_6purple_ProxyInfoType *)__pyx_v_self)->c_type = PURPLE_PROXY_NONE;
12860 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":28
12861 * self.c_type = proxy.PURPLE_PROXY_NONE
12863 * def get_NONE(self): # <<<<<<<<<<<<<<
12864 * self.c_type = proxy.PURPLE_PROXY_NONE
12868 static PyObject *__pyx_pf_6purple_13ProxyInfoType_get_NONE(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
12869 static PyObject *__pyx_pf_6purple_13ProxyInfoType_get_NONE(PyObject *__pyx_v_self, PyObject *unused) {
12872 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":29
12874 * def get_NONE(self):
12875 * self.c_type = proxy.PURPLE_PROXY_NONE # <<<<<<<<<<<<<<
12877 * NONE = property(get_NONE)
12879 ((struct __pyx_obj_6purple_ProxyInfoType *)__pyx_v_self)->c_type = PURPLE_PROXY_NONE;
12881 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":30
12882 * def get_NONE(self):
12883 * self.c_type = proxy.PURPLE_PROXY_NONE
12884 * return self # <<<<<<<<<<<<<<
12885 * NONE = property(get_NONE)
12888 Py_INCREF(__pyx_v_self);
12889 __pyx_r = __pyx_v_self;
12892 __pyx_r = Py_None; Py_INCREF(Py_None);
12897 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":33
12898 * NONE = property(get_NONE)
12900 * def get_USE_GLOBAL(self): # <<<<<<<<<<<<<<
12901 * self.c_type = proxy.PURPLE_PROXY_USE_GLOBAL
12905 static PyObject *__pyx_pf_6purple_13ProxyInfoType_get_USE_GLOBAL(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
12906 static PyObject *__pyx_pf_6purple_13ProxyInfoType_get_USE_GLOBAL(PyObject *__pyx_v_self, PyObject *unused) {
12909 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":34
12911 * def get_USE_GLOBAL(self):
12912 * self.c_type = proxy.PURPLE_PROXY_USE_GLOBAL # <<<<<<<<<<<<<<
12914 * USE_GLOBAL = property(get_USE_GLOBAL)
12916 ((struct __pyx_obj_6purple_ProxyInfoType *)__pyx_v_self)->c_type = PURPLE_PROXY_USE_GLOBAL;
12918 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":35
12919 * def get_USE_GLOBAL(self):
12920 * self.c_type = proxy.PURPLE_PROXY_USE_GLOBAL
12921 * return self # <<<<<<<<<<<<<<
12922 * USE_GLOBAL = property(get_USE_GLOBAL)
12925 Py_INCREF(__pyx_v_self);
12926 __pyx_r = __pyx_v_self;
12929 __pyx_r = Py_None; Py_INCREF(Py_None);
12934 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":38
12935 * USE_GLOBAL = property(get_USE_GLOBAL)
12937 * def get_HTTP(self): # <<<<<<<<<<<<<<
12938 * self.c_type = proxy.PURPLE_PROXY_HTTP
12942 static PyObject *__pyx_pf_6purple_13ProxyInfoType_get_HTTP(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
12943 static PyObject *__pyx_pf_6purple_13ProxyInfoType_get_HTTP(PyObject *__pyx_v_self, PyObject *unused) {
12946 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":39
12948 * def get_HTTP(self):
12949 * self.c_type = proxy.PURPLE_PROXY_HTTP # <<<<<<<<<<<<<<
12951 * HTTP = property(get_HTTP)
12953 ((struct __pyx_obj_6purple_ProxyInfoType *)__pyx_v_self)->c_type = PURPLE_PROXY_HTTP;
12955 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":40
12956 * def get_HTTP(self):
12957 * self.c_type = proxy.PURPLE_PROXY_HTTP
12958 * return self # <<<<<<<<<<<<<<
12959 * HTTP = property(get_HTTP)
12962 Py_INCREF(__pyx_v_self);
12963 __pyx_r = __pyx_v_self;
12966 __pyx_r = Py_None; Py_INCREF(Py_None);
12971 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":43
12972 * HTTP = property(get_HTTP)
12974 * def get_SOCKS4(self): # <<<<<<<<<<<<<<
12975 * self.c_type = proxy.PURPLE_PROXY_SOCKS4
12979 static PyObject *__pyx_pf_6purple_13ProxyInfoType_get_SOCKS4(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
12980 static PyObject *__pyx_pf_6purple_13ProxyInfoType_get_SOCKS4(PyObject *__pyx_v_self, PyObject *unused) {
12983 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":44
12985 * def get_SOCKS4(self):
12986 * self.c_type = proxy.PURPLE_PROXY_SOCKS4 # <<<<<<<<<<<<<<
12990 ((struct __pyx_obj_6purple_ProxyInfoType *)__pyx_v_self)->c_type = PURPLE_PROXY_SOCKS4;
12992 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":45
12993 * def get_SOCKS4(self):
12994 * self.c_type = proxy.PURPLE_PROXY_SOCKS4
12995 * return self # <<<<<<<<<<<<<<
12997 * def get_SOCKS5(self):
12999 Py_INCREF(__pyx_v_self);
13000 __pyx_r = __pyx_v_self;
13003 __pyx_r = Py_None; Py_INCREF(Py_None);
13008 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":47
13011 * def get_SOCKS5(self): # <<<<<<<<<<<<<<
13012 * self.c_type = proxy.PURPLE_PROXY_SOCKS5
13016 static PyObject *__pyx_pf_6purple_13ProxyInfoType_get_SOCKS5(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
13017 static PyObject *__pyx_pf_6purple_13ProxyInfoType_get_SOCKS5(PyObject *__pyx_v_self, PyObject *unused) {
13020 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":48
13022 * def get_SOCKS5(self):
13023 * self.c_type = proxy.PURPLE_PROXY_SOCKS5 # <<<<<<<<<<<<<<
13027 ((struct __pyx_obj_6purple_ProxyInfoType *)__pyx_v_self)->c_type = PURPLE_PROXY_SOCKS5;
13029 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":49
13030 * def get_SOCKS5(self):
13031 * self.c_type = proxy.PURPLE_PROXY_SOCKS5
13032 * return self # <<<<<<<<<<<<<<
13034 * def get_USE_ENVVAR (self):
13036 Py_INCREF(__pyx_v_self);
13037 __pyx_r = __pyx_v_self;
13040 __pyx_r = Py_None; Py_INCREF(Py_None);
13045 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":51
13048 * def get_USE_ENVVAR (self): # <<<<<<<<<<<<<<
13049 * self.c_type = proxy.PURPLE_PROXY_USE_ENVVAR
13053 static PyObject *__pyx_pf_6purple_13ProxyInfoType_get_USE_ENVVAR(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
13054 static PyObject *__pyx_pf_6purple_13ProxyInfoType_get_USE_ENVVAR(PyObject *__pyx_v_self, PyObject *unused) {
13057 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":52
13059 * def get_USE_ENVVAR (self):
13060 * self.c_type = proxy.PURPLE_PROXY_USE_ENVVAR # <<<<<<<<<<<<<<
13062 * USE_ENVVAR = property(get_USE_ENVVAR)
13064 ((struct __pyx_obj_6purple_ProxyInfoType *)__pyx_v_self)->c_type = PURPLE_PROXY_USE_ENVVAR;
13066 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":53
13067 * def get_USE_ENVVAR (self):
13068 * self.c_type = proxy.PURPLE_PROXY_USE_ENVVAR
13069 * return self # <<<<<<<<<<<<<<
13070 * USE_ENVVAR = property(get_USE_ENVVAR)
13073 Py_INCREF(__pyx_v_self);
13074 __pyx_r = __pyx_v_self;
13077 __pyx_r = Py_None; Py_INCREF(Py_None);
13082 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":61
13083 * cdef object types
13085 * def __init__(self): # <<<<<<<<<<<<<<
13086 * self.c_proxyinfo = NULL
13090 static char __pyx_k_427[] = "HTTP";
13091 static char __pyx_k_428[] = "USER_GLOBAL";
13092 static char __pyx_k_429[] = "USE_ENVVAR";
13093 static char __pyx_k_430[] = "SOCKS4";
13094 static char __pyx_k_431[] = "SOCKS5";
13095 static char __pyx_k_432[] = "NONE";
13097 static PyObject *__pyx_kp_427;
13098 static PyObject *__pyx_kp_428;
13099 static PyObject *__pyx_kp_429;
13100 static PyObject *__pyx_kp_430;
13101 static PyObject *__pyx_kp_431;
13102 static PyObject *__pyx_kp_432;
13106 static int __pyx_pf_6purple_9ProxyInfo___init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
13107 static int __pyx_pf_6purple_9ProxyInfo___init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
13109 PyObject *__pyx_1 = 0;
13110 PyObject *__pyx_2 = 0;
13111 if (unlikely(PyTuple_GET_SIZE(__pyx_args) > 0)) {
13112 __Pyx_RaiseArgtupleTooLong(0, PyTuple_GET_SIZE(__pyx_args));
13115 if (unlikely(__pyx_kwds)) {
13116 if (unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "__init__", 0))) return -1;
13119 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":62
13121 * def __init__(self):
13122 * self.c_proxyinfo = NULL # <<<<<<<<<<<<<<
13124 * self.types = {"HTTP": proxy.PURPLE_PROXY_HTTP,
13126 ((struct __pyx_obj_6purple_ProxyInfo *)__pyx_v_self)->c_proxyinfo = NULL;
13128 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":64
13129 * self.c_proxyinfo = NULL
13131 * self.types = {"HTTP": proxy.PURPLE_PROXY_HTTP, # <<<<<<<<<<<<<<
13132 * "USER_GLOBAL": proxy.PURPLE_PROXY_USE_GLOBAL,
13133 * "USE_ENVVAR": proxy.PURPLE_PROXY_USE_ENVVAR,
13135 __pyx_1 = PyDict_New(); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 64; __pyx_clineno = __LINE__; goto __pyx_L1;}
13136 __pyx_2 = PyInt_FromLong(PURPLE_PROXY_HTTP); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 64; __pyx_clineno = __LINE__; goto __pyx_L1;}
13137 if (PyDict_SetItem(__pyx_1, __pyx_kp_427, __pyx_2) < 0) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 64; __pyx_clineno = __LINE__; goto __pyx_L1;}
13138 Py_DECREF(__pyx_2); __pyx_2 = 0;
13140 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":65
13142 * self.types = {"HTTP": proxy.PURPLE_PROXY_HTTP,
13143 * "USER_GLOBAL": proxy.PURPLE_PROXY_USE_GLOBAL, # <<<<<<<<<<<<<<
13144 * "USE_ENVVAR": proxy.PURPLE_PROXY_USE_ENVVAR,
13145 * "SOCKS4": proxy.PURPLE_PROXY_SOCKS4,
13147 __pyx_2 = PyInt_FromLong(PURPLE_PROXY_USE_GLOBAL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 65; __pyx_clineno = __LINE__; goto __pyx_L1;}
13148 if (PyDict_SetItem(__pyx_1, __pyx_kp_428, __pyx_2) < 0) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 64; __pyx_clineno = __LINE__; goto __pyx_L1;}
13149 Py_DECREF(__pyx_2); __pyx_2 = 0;
13151 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":66
13152 * self.types = {"HTTP": proxy.PURPLE_PROXY_HTTP,
13153 * "USER_GLOBAL": proxy.PURPLE_PROXY_USE_GLOBAL,
13154 * "USE_ENVVAR": proxy.PURPLE_PROXY_USE_ENVVAR, # <<<<<<<<<<<<<<
13155 * "SOCKS4": proxy.PURPLE_PROXY_SOCKS4,
13156 * "SOCKS5": proxy.PURPLE_PROXY_SOCKS5,
13158 __pyx_2 = PyInt_FromLong(PURPLE_PROXY_USE_ENVVAR); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 66; __pyx_clineno = __LINE__; goto __pyx_L1;}
13159 if (PyDict_SetItem(__pyx_1, __pyx_kp_429, __pyx_2) < 0) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 64; __pyx_clineno = __LINE__; goto __pyx_L1;}
13160 Py_DECREF(__pyx_2); __pyx_2 = 0;
13162 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":67
13163 * "USER_GLOBAL": proxy.PURPLE_PROXY_USE_GLOBAL,
13164 * "USE_ENVVAR": proxy.PURPLE_PROXY_USE_ENVVAR,
13165 * "SOCKS4": proxy.PURPLE_PROXY_SOCKS4, # <<<<<<<<<<<<<<
13166 * "SOCKS5": proxy.PURPLE_PROXY_SOCKS5,
13167 * "NONE": proxy.PURPLE_PROXY_NONE}
13169 __pyx_2 = PyInt_FromLong(PURPLE_PROXY_SOCKS4); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 67; __pyx_clineno = __LINE__; goto __pyx_L1;}
13170 if (PyDict_SetItem(__pyx_1, __pyx_kp_430, __pyx_2) < 0) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 64; __pyx_clineno = __LINE__; goto __pyx_L1;}
13171 Py_DECREF(__pyx_2); __pyx_2 = 0;
13173 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":68
13174 * "USE_ENVVAR": proxy.PURPLE_PROXY_USE_ENVVAR,
13175 * "SOCKS4": proxy.PURPLE_PROXY_SOCKS4,
13176 * "SOCKS5": proxy.PURPLE_PROXY_SOCKS5, # <<<<<<<<<<<<<<
13177 * "NONE": proxy.PURPLE_PROXY_NONE}
13180 __pyx_2 = PyInt_FromLong(PURPLE_PROXY_SOCKS5); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 68; __pyx_clineno = __LINE__; goto __pyx_L1;}
13181 if (PyDict_SetItem(__pyx_1, __pyx_kp_431, __pyx_2) < 0) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 64; __pyx_clineno = __LINE__; goto __pyx_L1;}
13182 Py_DECREF(__pyx_2); __pyx_2 = 0;
13184 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":69
13185 * "SOCKS4": proxy.PURPLE_PROXY_SOCKS4,
13186 * "SOCKS5": proxy.PURPLE_PROXY_SOCKS5,
13187 * "NONE": proxy.PURPLE_PROXY_NONE} # <<<<<<<<<<<<<<
13191 __pyx_2 = PyInt_FromLong(PURPLE_PROXY_NONE); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 69; __pyx_clineno = __LINE__; goto __pyx_L1;}
13192 if (PyDict_SetItem(__pyx_1, __pyx_kp_432, __pyx_2) < 0) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 64; __pyx_clineno = __LINE__; goto __pyx_L1;}
13193 Py_DECREF(__pyx_2); __pyx_2 = 0;
13195 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":64
13196 * self.c_proxyinfo = NULL
13198 * self.types = {"HTTP": proxy.PURPLE_PROXY_HTTP, # <<<<<<<<<<<<<<
13199 * "USER_GLOBAL": proxy.PURPLE_PROXY_USE_GLOBAL,
13200 * "USE_ENVVAR": proxy.PURPLE_PROXY_USE_ENVVAR,
13202 Py_DECREF(((struct __pyx_obj_6purple_ProxyInfo *)__pyx_v_self)->types);
13203 ((struct __pyx_obj_6purple_ProxyInfo *)__pyx_v_self)->types = ((PyObject *)__pyx_1);
13209 Py_XDECREF(__pyx_1);
13210 Py_XDECREF(__pyx_2);
13211 __Pyx_AddTraceback("purple.ProxyInfo.__init__");
13217 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":72
13220 * def set_type(self, ProxyInfoType type): # <<<<<<<<<<<<<<
13221 * if self.c_proxyinfo:
13222 * proxy.c_purple_proxy_info_set_type(self.c_proxyinfo, type.c_type)
13225 static PyObject *__pyx_pf_6purple_9ProxyInfo_set_type(PyObject *__pyx_v_self, PyObject *__pyx_v_type); /*proto*/
13226 static PyObject *__pyx_pf_6purple_9ProxyInfo_set_type(PyObject *__pyx_v_self, PyObject *__pyx_v_type) {
13229 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_type), __pyx_ptype_6purple_ProxyInfoType, 1, "type", 0))) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 72; __pyx_clineno = __LINE__; goto __pyx_L1;}
13231 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":73
13233 * def set_type(self, ProxyInfoType type):
13234 * if self.c_proxyinfo: # <<<<<<<<<<<<<<
13235 * proxy.c_purple_proxy_info_set_type(self.c_proxyinfo, type.c_type)
13238 __pyx_1 = (((struct __pyx_obj_6purple_ProxyInfo *)__pyx_v_self)->c_proxyinfo != 0);
13241 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":74
13242 * def set_type(self, ProxyInfoType type):
13243 * if self.c_proxyinfo:
13244 * proxy.c_purple_proxy_info_set_type(self.c_proxyinfo, type.c_type) # <<<<<<<<<<<<<<
13246 * def set_host(self, char *host):
13248 purple_proxy_info_set_type(((struct __pyx_obj_6purple_ProxyInfo *)__pyx_v_self)->c_proxyinfo, ((struct __pyx_obj_6purple_ProxyInfoType *)__pyx_v_type)->c_type);
13253 __pyx_r = Py_None; Py_INCREF(Py_None);
13256 __Pyx_AddTraceback("purple.ProxyInfo.set_type");
13262 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":76
13263 * proxy.c_purple_proxy_info_set_type(self.c_proxyinfo, type.c_type)
13265 * def set_host(self, char *host): # <<<<<<<<<<<<<<
13266 * if self.c_proxyinfo:
13267 * proxy.c_purple_proxy_info_set_host(self.c_proxyinfo, host)
13270 static PyObject *__pyx_pf_6purple_9ProxyInfo_set_host(PyObject *__pyx_v_self, PyObject *__pyx_arg_host); /*proto*/
13271 static PyObject *__pyx_pf_6purple_9ProxyInfo_set_host(PyObject *__pyx_v_self, PyObject *__pyx_arg_host) {
13272 char *__pyx_v_host;
13275 assert(__pyx_arg_host); {
13276 __pyx_v_host = __Pyx_PyBytes_AsString(__pyx_arg_host); if (unlikely((!__pyx_v_host) && PyErr_Occurred())) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 76; __pyx_clineno = __LINE__; goto __pyx_L2;}
13280 __Pyx_AddTraceback("purple.ProxyInfo.set_host");
13284 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":77
13286 * def set_host(self, char *host):
13287 * if self.c_proxyinfo: # <<<<<<<<<<<<<<
13288 * proxy.c_purple_proxy_info_set_host(self.c_proxyinfo, host)
13291 __pyx_1 = (((struct __pyx_obj_6purple_ProxyInfo *)__pyx_v_self)->c_proxyinfo != 0);
13294 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":78
13295 * def set_host(self, char *host):
13296 * if self.c_proxyinfo:
13297 * proxy.c_purple_proxy_info_set_host(self.c_proxyinfo, host) # <<<<<<<<<<<<<<
13299 * def set_port(self, int port):
13301 purple_proxy_info_set_host(((struct __pyx_obj_6purple_ProxyInfo *)__pyx_v_self)->c_proxyinfo, __pyx_v_host);
13306 __pyx_r = Py_None; Py_INCREF(Py_None);
13310 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":80
13311 * proxy.c_purple_proxy_info_set_host(self.c_proxyinfo, host)
13313 * def set_port(self, int port): # <<<<<<<<<<<<<<
13314 * if self.c_proxyinfo:
13315 * proxy.c_purple_proxy_info_set_port(self.c_proxyinfo, port)
13318 static PyObject *__pyx_pf_6purple_9ProxyInfo_set_port(PyObject *__pyx_v_self, PyObject *__pyx_arg_port); /*proto*/
13319 static PyObject *__pyx_pf_6purple_9ProxyInfo_set_port(PyObject *__pyx_v_self, PyObject *__pyx_arg_port) {
13323 assert(__pyx_arg_port); {
13324 __pyx_v_port = __pyx_PyInt_int(__pyx_arg_port); if (unlikely((__pyx_v_port == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 80; __pyx_clineno = __LINE__; goto __pyx_L2;}
13328 __Pyx_AddTraceback("purple.ProxyInfo.set_port");
13332 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":81
13334 * def set_port(self, int port):
13335 * if self.c_proxyinfo: # <<<<<<<<<<<<<<
13336 * proxy.c_purple_proxy_info_set_port(self.c_proxyinfo, port)
13339 __pyx_1 = (((struct __pyx_obj_6purple_ProxyInfo *)__pyx_v_self)->c_proxyinfo != 0);
13342 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":82
13343 * def set_port(self, int port):
13344 * if self.c_proxyinfo:
13345 * proxy.c_purple_proxy_info_set_port(self.c_proxyinfo, port) # <<<<<<<<<<<<<<
13347 * def set_username(self, char *username):
13349 purple_proxy_info_set_port(((struct __pyx_obj_6purple_ProxyInfo *)__pyx_v_self)->c_proxyinfo, __pyx_v_port);
13354 __pyx_r = Py_None; Py_INCREF(Py_None);
13358 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":84
13359 * proxy.c_purple_proxy_info_set_port(self.c_proxyinfo, port)
13361 * def set_username(self, char *username): # <<<<<<<<<<<<<<
13362 * if self.c_proxyinfo:
13363 * proxy.c_purple_proxy_info_set_username(self.c_proxyinfo, username)
13366 static PyObject *__pyx_pf_6purple_9ProxyInfo_set_username(PyObject *__pyx_v_self, PyObject *__pyx_arg_username); /*proto*/
13367 static PyObject *__pyx_pf_6purple_9ProxyInfo_set_username(PyObject *__pyx_v_self, PyObject *__pyx_arg_username) {
13368 char *__pyx_v_username;
13371 assert(__pyx_arg_username); {
13372 __pyx_v_username = __Pyx_PyBytes_AsString(__pyx_arg_username); if (unlikely((!__pyx_v_username) && PyErr_Occurred())) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 84; __pyx_clineno = __LINE__; goto __pyx_L2;}
13376 __Pyx_AddTraceback("purple.ProxyInfo.set_username");
13380 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":85
13382 * def set_username(self, char *username):
13383 * if self.c_proxyinfo: # <<<<<<<<<<<<<<
13384 * proxy.c_purple_proxy_info_set_username(self.c_proxyinfo, username)
13387 __pyx_1 = (((struct __pyx_obj_6purple_ProxyInfo *)__pyx_v_self)->c_proxyinfo != 0);
13390 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":86
13391 * def set_username(self, char *username):
13392 * if self.c_proxyinfo:
13393 * proxy.c_purple_proxy_info_set_username(self.c_proxyinfo, username) # <<<<<<<<<<<<<<
13395 * def set_password(self, char *password):
13397 purple_proxy_info_set_username(((struct __pyx_obj_6purple_ProxyInfo *)__pyx_v_self)->c_proxyinfo, __pyx_v_username);
13402 __pyx_r = Py_None; Py_INCREF(Py_None);
13406 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":88
13407 * proxy.c_purple_proxy_info_set_username(self.c_proxyinfo, username)
13409 * def set_password(self, char *password): # <<<<<<<<<<<<<<
13410 * if self.c_proxyinfo:
13411 * proxy.c_purple_proxy_info_set_password(self.c_proxyinfo, password)
13414 static PyObject *__pyx_pf_6purple_9ProxyInfo_set_password(PyObject *__pyx_v_self, PyObject *__pyx_arg_password); /*proto*/
13415 static PyObject *__pyx_pf_6purple_9ProxyInfo_set_password(PyObject *__pyx_v_self, PyObject *__pyx_arg_password) {
13416 char *__pyx_v_password;
13419 assert(__pyx_arg_password); {
13420 __pyx_v_password = __Pyx_PyBytes_AsString(__pyx_arg_password); if (unlikely((!__pyx_v_password) && PyErr_Occurred())) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 88; __pyx_clineno = __LINE__; goto __pyx_L2;}
13424 __Pyx_AddTraceback("purple.ProxyInfo.set_password");
13428 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":89
13430 * def set_password(self, char *password):
13431 * if self.c_proxyinfo: # <<<<<<<<<<<<<<
13432 * proxy.c_purple_proxy_info_set_password(self.c_proxyinfo, password)
13435 __pyx_1 = (((struct __pyx_obj_6purple_ProxyInfo *)__pyx_v_self)->c_proxyinfo != 0);
13438 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":90
13439 * def set_password(self, char *password):
13440 * if self.c_proxyinfo:
13441 * proxy.c_purple_proxy_info_set_password(self.c_proxyinfo, password) # <<<<<<<<<<<<<<
13443 * def get_types(self):
13445 purple_proxy_info_set_password(((struct __pyx_obj_6purple_ProxyInfo *)__pyx_v_self)->c_proxyinfo, __pyx_v_password);
13450 __pyx_r = Py_None; Py_INCREF(Py_None);
13454 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":92
13455 * proxy.c_purple_proxy_info_set_password(self.c_proxyinfo, password)
13457 * def get_types(self): # <<<<<<<<<<<<<<
13458 * return self.types.keys()
13462 static char __pyx_k_keys[] = "keys";
13464 static PyObject *__pyx_kp_keys;
13466 static PyObject *__pyx_pf_6purple_9ProxyInfo_get_types(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
13467 static PyObject *__pyx_pf_6purple_9ProxyInfo_get_types(PyObject *__pyx_v_self, PyObject *unused) {
13469 PyObject *__pyx_1 = 0;
13470 PyObject *__pyx_2 = 0;
13472 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":93
13474 * def get_types(self):
13475 * return self.types.keys() # <<<<<<<<<<<<<<
13477 * def set_info(self, acc, info):
13479 __pyx_1 = PyObject_GetAttr(((struct __pyx_obj_6purple_ProxyInfo *)__pyx_v_self)->types, __pyx_kp_keys); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 93; __pyx_clineno = __LINE__; goto __pyx_L1;}
13480 __pyx_2 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 93; __pyx_clineno = __LINE__; goto __pyx_L1;}
13481 Py_DECREF(__pyx_1); __pyx_1 = 0;
13486 __pyx_r = Py_None; Py_INCREF(Py_None);
13489 Py_XDECREF(__pyx_1);
13490 Py_XDECREF(__pyx_2);
13491 __Pyx_AddTraceback("purple.ProxyInfo.get_types");
13497 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":95
13498 * return self.types.keys()
13500 * def set_info(self, acc, info): # <<<<<<<<<<<<<<
13501 * ''' @param acc Tuple (username, protocol id) '''
13502 * ''' @param info Dictionary {'type': "HTTP", 'port': "1234", '''
13505 static char __pyx_k_433[] = "type";
13506 static char __pyx_k_434[] = "type";
13507 static char __pyx_k_435[] = "type";
13508 static char __pyx_k_436[] = "HTTP";
13509 static char __pyx_k_437[] = "host";
13510 static char __pyx_k_438[] = "host";
13511 static char __pyx_k_439[] = "host";
13512 static char __pyx_k_440[] = "port";
13513 static char __pyx_k_441[] = "port";
13514 static char __pyx_k_442[] = "port";
13515 static char __pyx_k_443[] = "username";
13516 static char __pyx_k_444[] = "username";
13517 static char __pyx_k_445[] = "username";
13518 static char __pyx_k_446[] = "password";
13519 static char __pyx_k_447[] = "password";
13520 static char __pyx_k_448[] = "password";
13522 static PyObject *__pyx_kp_433;
13523 static PyObject *__pyx_kp_434;
13524 static PyObject *__pyx_kp_435;
13525 static PyObject *__pyx_kp_436;
13526 static PyObject *__pyx_kp_437;
13527 static PyObject *__pyx_kp_438;
13528 static PyObject *__pyx_kp_439;
13529 static PyObject *__pyx_kp_440;
13530 static PyObject *__pyx_kp_441;
13531 static PyObject *__pyx_kp_442;
13532 static PyObject *__pyx_kp_443;
13533 static PyObject *__pyx_kp_444;
13534 static PyObject *__pyx_kp_445;
13535 static PyObject *__pyx_kp_446;
13536 static PyObject *__pyx_kp_447;
13537 static PyObject *__pyx_kp_448;
13541 static PyObject *__pyx_pf_6purple_9ProxyInfo_set_info(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
13542 static char __pyx_doc_6purple_9ProxyInfo_set_info[] = " @param acc Tuple (username, protocol id) ";
13543 static PyObject *__pyx_pf_6purple_9ProxyInfo_set_info(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
13544 PyObject *__pyx_v_acc = 0;
13545 PyObject *__pyx_v_info = 0;
13546 PurpleAccount *__pyx_v_c_account;
13547 PurpleProxyInfo *__pyx_v_c_proxyinfo;
13548 PyObject *__pyx_v_type;
13549 PyObject *__pyx_v_host;
13550 PyObject *__pyx_v_port;
13551 PyObject *__pyx_v_username;
13552 PyObject *__pyx_v_password;
13554 PyObject *__pyx_1 = 0;
13558 PyObject *__pyx_5 = 0;
13559 PyObject *__pyx_6 = 0;
13561 PurpleProxyType __pyx_8;
13563 static char *__pyx_argnames[] = {"acc","info",0};
13564 if (likely(!__pyx_kwds) && likely(PyTuple_GET_SIZE(__pyx_args) == 2)) {
13565 __pyx_v_acc = PyTuple_GET_ITEM(__pyx_args, 0);
13566 __pyx_v_info = PyTuple_GET_ITEM(__pyx_args, 1);
13569 if (unlikely(!PyArg_ParseTupleAndKeywords(__pyx_args, __pyx_kwds, "OO", __pyx_argnames, &__pyx_v_acc, &__pyx_v_info))) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 95; __pyx_clineno = __LINE__; goto __pyx_L2;}
13573 __Pyx_AddTraceback("purple.ProxyInfo.set_info");
13576 __pyx_v_type = Py_None; Py_INCREF(Py_None);
13577 __pyx_v_host = Py_None; Py_INCREF(Py_None);
13578 __pyx_v_port = Py_None; Py_INCREF(Py_None);
13579 __pyx_v_username = Py_None; Py_INCREF(Py_None);
13580 __pyx_v_password = Py_None; Py_INCREF(Py_None);
13582 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":102
13583 * cdef account.PurpleAccount *c_account
13584 * cdef proxy.PurpleProxyInfo *c_proxyinfo
13585 * c_account = account.purple_accounts_find(acc[0], acc[1]) # <<<<<<<<<<<<<<
13587 * if c_account == NULL:
13589 __pyx_1 = __Pyx_GetItemInt(__pyx_v_acc, 0, 0); if (!__pyx_1) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 102; __pyx_clineno = __LINE__; goto __pyx_L1;}
13590 __pyx_2 = __Pyx_PyBytes_AsString(__pyx_1); if (unlikely((!__pyx_2) && PyErr_Occurred())) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 102; __pyx_clineno = __LINE__; goto __pyx_L1;}
13591 Py_DECREF(__pyx_1); __pyx_1 = 0;
13592 __pyx_1 = __Pyx_GetItemInt(__pyx_v_acc, 1, 0); if (!__pyx_1) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 102; __pyx_clineno = __LINE__; goto __pyx_L1;}
13593 __pyx_3 = __Pyx_PyBytes_AsString(__pyx_1); if (unlikely((!__pyx_3) && PyErr_Occurred())) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 102; __pyx_clineno = __LINE__; goto __pyx_L1;}
13594 Py_DECREF(__pyx_1); __pyx_1 = 0;
13595 __pyx_v_c_account = purple_accounts_find(__pyx_2, __pyx_3);
13597 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":104
13598 * c_account = account.purple_accounts_find(acc[0], acc[1])
13600 * if c_account == NULL: # <<<<<<<<<<<<<<
13601 * #FIXME: Message error or call a callback handle to error
13604 __pyx_4 = (__pyx_v_c_account == NULL);
13607 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":106
13608 * if c_account == NULL:
13609 * #FIXME: Message error or call a callback handle to error
13610 * return False # <<<<<<<<<<<<<<
13612 * c_proxyinfo = account.purple_account_get_proxy_info(c_account)
13614 Py_INCREF(Py_False);
13615 __pyx_r = Py_False;
13621 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":108
13624 * c_proxyinfo = account.purple_account_get_proxy_info(c_account) # <<<<<<<<<<<<<<
13625 * if c_proxyinfo == NULL:
13626 * c_proxyinfo = proxy.c_purple_proxy_info_new()
13628 __pyx_v_c_proxyinfo = purple_account_get_proxy_info(__pyx_v_c_account);
13630 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":109
13632 * c_proxyinfo = account.purple_account_get_proxy_info(c_account)
13633 * if c_proxyinfo == NULL: # <<<<<<<<<<<<<<
13634 * c_proxyinfo = proxy.c_purple_proxy_info_new()
13635 * account.purple_account_set_proxy_info(c_account, c_proxyinfo)
13637 __pyx_4 = (__pyx_v_c_proxyinfo == NULL);
13640 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":110
13641 * c_proxyinfo = account.purple_account_get_proxy_info(c_account)
13642 * if c_proxyinfo == NULL:
13643 * c_proxyinfo = proxy.c_purple_proxy_info_new() # <<<<<<<<<<<<<<
13644 * account.purple_account_set_proxy_info(c_account, c_proxyinfo)
13647 __pyx_v_c_proxyinfo = purple_proxy_info_new();
13649 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":111
13650 * if c_proxyinfo == NULL:
13651 * c_proxyinfo = proxy.c_purple_proxy_info_new()
13652 * account.purple_account_set_proxy_info(c_account, c_proxyinfo) # <<<<<<<<<<<<<<
13654 * if info.has_key('type') and info['type']:
13656 purple_account_set_proxy_info(__pyx_v_c_account, __pyx_v_c_proxyinfo);
13661 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":113
13662 * account.purple_account_set_proxy_info(c_account, c_proxyinfo)
13664 * if info.has_key('type') and info['type']: # <<<<<<<<<<<<<<
13665 * type = info['type']
13666 * if not type in self.types.keys():
13668 __pyx_5 = PyObject_GetAttr(__pyx_v_info, __pyx_kp_has_key); if (unlikely(!__pyx_5)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 113; __pyx_clineno = __LINE__; goto __pyx_L1;}
13669 __pyx_6 = PyTuple_New(1); if (unlikely(!__pyx_6)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 113; __pyx_clineno = __LINE__; goto __pyx_L1;}
13670 Py_INCREF(__pyx_kp_433);
13671 PyTuple_SET_ITEM(__pyx_6, 0, __pyx_kp_433);
13672 __pyx_1 = PyObject_Call(__pyx_5, ((PyObject *)__pyx_6), NULL); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 113; __pyx_clineno = __LINE__; goto __pyx_L1;}
13673 Py_DECREF(__pyx_5); __pyx_5 = 0;
13674 Py_DECREF(((PyObject *)__pyx_6)); __pyx_6 = 0;
13675 __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_1); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 113; __pyx_clineno = __LINE__; goto __pyx_L1;}
13677 Py_DECREF(__pyx_1); __pyx_1 = 0;
13678 __pyx_1 = PyObject_GetItem(__pyx_v_info, __pyx_kp_434); if (!__pyx_1) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 113; __pyx_clineno = __LINE__; goto __pyx_L1;}
13680 __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_1); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 113; __pyx_clineno = __LINE__; goto __pyx_L1;}
13681 Py_DECREF(__pyx_1); __pyx_1 = 0;
13684 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":114
13686 * if info.has_key('type') and info['type']:
13687 * type = info['type'] # <<<<<<<<<<<<<<
13688 * if not type in self.types.keys():
13691 __pyx_5 = PyObject_GetItem(__pyx_v_info, __pyx_kp_435); if (!__pyx_5) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 114; __pyx_clineno = __LINE__; goto __pyx_L1;}
13692 Py_DECREF(__pyx_v_type);
13693 __pyx_v_type = __pyx_5;
13696 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":115
13697 * if info.has_key('type') and info['type']:
13698 * type = info['type']
13699 * if not type in self.types.keys(): # <<<<<<<<<<<<<<
13701 * proxy.c_purple_proxy_info_set_type(c_proxyinfo, self.types[type])
13703 __pyx_6 = PyObject_GetAttr(((struct __pyx_obj_6purple_ProxyInfo *)__pyx_v_self)->types, __pyx_kp_keys); if (unlikely(!__pyx_6)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 115; __pyx_clineno = __LINE__; goto __pyx_L1;}
13704 __pyx_1 = PyObject_Call(__pyx_6, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 115; __pyx_clineno = __LINE__; goto __pyx_L1;}
13705 Py_DECREF(__pyx_6); __pyx_6 = 0;
13706 __pyx_4 = (PySequence_Contains(__pyx_1, __pyx_v_type)); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 115; __pyx_clineno = __LINE__; goto __pyx_L1;}
13707 Py_DECREF(__pyx_1); __pyx_1 = 0;
13708 __pyx_7 = (!__pyx_4);
13711 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":116
13712 * type = info['type']
13713 * if not type in self.types.keys():
13714 * type = 'HTTP' # <<<<<<<<<<<<<<
13715 * proxy.c_purple_proxy_info_set_type(c_proxyinfo, self.types[type])
13718 Py_INCREF(__pyx_kp_436);
13719 Py_DECREF(__pyx_v_type);
13720 __pyx_v_type = __pyx_kp_436;
13725 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":117
13726 * if not type in self.types.keys():
13728 * proxy.c_purple_proxy_info_set_type(c_proxyinfo, self.types[type]) # <<<<<<<<<<<<<<
13730 * if info.has_key('host') and info['host']:
13732 __pyx_5 = PyObject_GetItem(((struct __pyx_obj_6purple_ProxyInfo *)__pyx_v_self)->types, __pyx_v_type); if (!__pyx_5) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 117; __pyx_clineno = __LINE__; goto __pyx_L1;}
13733 __pyx_8 = ((PurpleProxyType)PyInt_AsLong(__pyx_5)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 117; __pyx_clineno = __LINE__; goto __pyx_L1;}
13734 Py_DECREF(__pyx_5); __pyx_5 = 0;
13735 purple_proxy_info_set_type(__pyx_v_c_proxyinfo, __pyx_8);
13740 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":119
13741 * proxy.c_purple_proxy_info_set_type(c_proxyinfo, self.types[type])
13743 * if info.has_key('host') and info['host']: # <<<<<<<<<<<<<<
13744 * host = info['host']
13745 * proxy.c_purple_proxy_info_set_host(c_proxyinfo, host)
13747 __pyx_1 = PyObject_GetAttr(__pyx_v_info, __pyx_kp_has_key); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 119; __pyx_clineno = __LINE__; goto __pyx_L1;}
13748 __pyx_5 = PyTuple_New(1); if (unlikely(!__pyx_5)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 119; __pyx_clineno = __LINE__; goto __pyx_L1;}
13749 Py_INCREF(__pyx_kp_437);
13750 PyTuple_SET_ITEM(__pyx_5, 0, __pyx_kp_437);
13751 __pyx_6 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_5), NULL); if (unlikely(!__pyx_6)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 119; __pyx_clineno = __LINE__; goto __pyx_L1;}
13752 Py_DECREF(__pyx_1); __pyx_1 = 0;
13753 Py_DECREF(((PyObject *)__pyx_5)); __pyx_5 = 0;
13754 __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_6); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 119; __pyx_clineno = __LINE__; goto __pyx_L1;}
13756 Py_DECREF(__pyx_6); __pyx_6 = 0;
13757 __pyx_6 = PyObject_GetItem(__pyx_v_info, __pyx_kp_438); if (!__pyx_6) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 119; __pyx_clineno = __LINE__; goto __pyx_L1;}
13759 __pyx_7 = __Pyx_PyObject_IsTrue(__pyx_6); if (unlikely(__pyx_7 < 0)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 119; __pyx_clineno = __LINE__; goto __pyx_L1;}
13760 Py_DECREF(__pyx_6); __pyx_6 = 0;
13763 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":120
13765 * if info.has_key('host') and info['host']:
13766 * host = info['host'] # <<<<<<<<<<<<<<
13767 * proxy.c_purple_proxy_info_set_host(c_proxyinfo, host)
13770 __pyx_1 = PyObject_GetItem(__pyx_v_info, __pyx_kp_439); if (!__pyx_1) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 120; __pyx_clineno = __LINE__; goto __pyx_L1;}
13771 Py_DECREF(__pyx_v_host);
13772 __pyx_v_host = __pyx_1;
13775 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":121
13776 * if info.has_key('host') and info['host']:
13777 * host = info['host']
13778 * proxy.c_purple_proxy_info_set_host(c_proxyinfo, host) # <<<<<<<<<<<<<<
13780 * if info.has_key('port') and info['port']:
13782 __pyx_2 = __Pyx_PyBytes_AsString(__pyx_v_host); if (unlikely((!__pyx_2) && PyErr_Occurred())) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 121; __pyx_clineno = __LINE__; goto __pyx_L1;}
13783 purple_proxy_info_set_host(__pyx_v_c_proxyinfo, __pyx_2);
13788 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":123
13789 * proxy.c_purple_proxy_info_set_host(c_proxyinfo, host)
13791 * if info.has_key('port') and info['port']: # <<<<<<<<<<<<<<
13792 * port = int(info['port'])
13793 * proxy.c_purple_proxy_info_set_port(c_proxyinfo, port)
13795 __pyx_6 = PyObject_GetAttr(__pyx_v_info, __pyx_kp_has_key); if (unlikely(!__pyx_6)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 123; __pyx_clineno = __LINE__; goto __pyx_L1;}
13796 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 123; __pyx_clineno = __LINE__; goto __pyx_L1;}
13797 Py_INCREF(__pyx_kp_440);
13798 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_kp_440);
13799 __pyx_5 = PyObject_Call(__pyx_6, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_5)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 123; __pyx_clineno = __LINE__; goto __pyx_L1;}
13800 Py_DECREF(__pyx_6); __pyx_6 = 0;
13801 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
13802 __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_5); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 123; __pyx_clineno = __LINE__; goto __pyx_L1;}
13804 Py_DECREF(__pyx_5); __pyx_5 = 0;
13805 __pyx_5 = PyObject_GetItem(__pyx_v_info, __pyx_kp_441); if (!__pyx_5) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 123; __pyx_clineno = __LINE__; goto __pyx_L1;}
13807 __pyx_7 = __Pyx_PyObject_IsTrue(__pyx_5); if (unlikely(__pyx_7 < 0)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 123; __pyx_clineno = __LINE__; goto __pyx_L1;}
13808 Py_DECREF(__pyx_5); __pyx_5 = 0;
13811 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":124
13813 * if info.has_key('port') and info['port']:
13814 * port = int(info['port']) # <<<<<<<<<<<<<<
13815 * proxy.c_purple_proxy_info_set_port(c_proxyinfo, port)
13818 __pyx_6 = PyObject_GetItem(__pyx_v_info, __pyx_kp_442); if (!__pyx_6) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 124; __pyx_clineno = __LINE__; goto __pyx_L1;}
13819 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 124; __pyx_clineno = __LINE__; goto __pyx_L1;}
13820 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_6);
13822 __pyx_5 = PyObject_Call(((PyObject*)&PyInt_Type), ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_5)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 124; __pyx_clineno = __LINE__; goto __pyx_L1;}
13823 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
13824 Py_DECREF(__pyx_v_port);
13825 __pyx_v_port = __pyx_5;
13828 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":125
13829 * if info.has_key('port') and info['port']:
13830 * port = int(info['port'])
13831 * proxy.c_purple_proxy_info_set_port(c_proxyinfo, port) # <<<<<<<<<<<<<<
13833 * if info.has_key('username') and info['username']:
13835 __pyx_9 = __pyx_PyInt_int(__pyx_v_port); if (unlikely((__pyx_9 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 125; __pyx_clineno = __LINE__; goto __pyx_L1;}
13836 purple_proxy_info_set_port(__pyx_v_c_proxyinfo, __pyx_9);
13841 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":127
13842 * proxy.c_purple_proxy_info_set_port(c_proxyinfo, port)
13844 * if info.has_key('username') and info['username']: # <<<<<<<<<<<<<<
13845 * username = info['username']
13846 * proxy.c_purple_proxy_info_set_username(c_proxyinfo, username)
13848 __pyx_1 = PyObject_GetAttr(__pyx_v_info, __pyx_kp_has_key); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 127; __pyx_clineno = __LINE__; goto __pyx_L1;}
13849 __pyx_5 = PyTuple_New(1); if (unlikely(!__pyx_5)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 127; __pyx_clineno = __LINE__; goto __pyx_L1;}
13850 Py_INCREF(__pyx_kp_443);
13851 PyTuple_SET_ITEM(__pyx_5, 0, __pyx_kp_443);
13852 __pyx_6 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_5), NULL); if (unlikely(!__pyx_6)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 127; __pyx_clineno = __LINE__; goto __pyx_L1;}
13853 Py_DECREF(__pyx_1); __pyx_1 = 0;
13854 Py_DECREF(((PyObject *)__pyx_5)); __pyx_5 = 0;
13855 __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_6); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 127; __pyx_clineno = __LINE__; goto __pyx_L1;}
13857 Py_DECREF(__pyx_6); __pyx_6 = 0;
13858 __pyx_6 = PyObject_GetItem(__pyx_v_info, __pyx_kp_444); if (!__pyx_6) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 127; __pyx_clineno = __LINE__; goto __pyx_L1;}
13860 __pyx_7 = __Pyx_PyObject_IsTrue(__pyx_6); if (unlikely(__pyx_7 < 0)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 127; __pyx_clineno = __LINE__; goto __pyx_L1;}
13861 Py_DECREF(__pyx_6); __pyx_6 = 0;
13864 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":128
13866 * if info.has_key('username') and info['username']:
13867 * username = info['username'] # <<<<<<<<<<<<<<
13868 * proxy.c_purple_proxy_info_set_username(c_proxyinfo, username)
13871 __pyx_1 = PyObject_GetItem(__pyx_v_info, __pyx_kp_445); if (!__pyx_1) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 128; __pyx_clineno = __LINE__; goto __pyx_L1;}
13872 Py_DECREF(__pyx_v_username);
13873 __pyx_v_username = __pyx_1;
13876 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":129
13877 * if info.has_key('username') and info['username']:
13878 * username = info['username']
13879 * proxy.c_purple_proxy_info_set_username(c_proxyinfo, username) # <<<<<<<<<<<<<<
13881 * if info.has_key('password') and info['password']:
13883 __pyx_3 = __Pyx_PyBytes_AsString(__pyx_v_username); if (unlikely((!__pyx_3) && PyErr_Occurred())) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 129; __pyx_clineno = __LINE__; goto __pyx_L1;}
13884 purple_proxy_info_set_username(__pyx_v_c_proxyinfo, __pyx_3);
13889 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":131
13890 * proxy.c_purple_proxy_info_set_username(c_proxyinfo, username)
13892 * if info.has_key('password') and info['password']: # <<<<<<<<<<<<<<
13893 * password = info['password']
13894 * proxy.c_purple_proxy_info_set_password(c_proxyinfo, password)
13896 __pyx_6 = PyObject_GetAttr(__pyx_v_info, __pyx_kp_has_key); if (unlikely(!__pyx_6)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 131; __pyx_clineno = __LINE__; goto __pyx_L1;}
13897 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 131; __pyx_clineno = __LINE__; goto __pyx_L1;}
13898 Py_INCREF(__pyx_kp_446);
13899 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_kp_446);
13900 __pyx_5 = PyObject_Call(__pyx_6, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_5)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 131; __pyx_clineno = __LINE__; goto __pyx_L1;}
13901 Py_DECREF(__pyx_6); __pyx_6 = 0;
13902 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
13903 __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_5); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 131; __pyx_clineno = __LINE__; goto __pyx_L1;}
13905 Py_DECREF(__pyx_5); __pyx_5 = 0;
13906 __pyx_5 = PyObject_GetItem(__pyx_v_info, __pyx_kp_447); if (!__pyx_5) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 131; __pyx_clineno = __LINE__; goto __pyx_L1;}
13908 __pyx_7 = __Pyx_PyObject_IsTrue(__pyx_5); if (unlikely(__pyx_7 < 0)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 131; __pyx_clineno = __LINE__; goto __pyx_L1;}
13909 Py_DECREF(__pyx_5); __pyx_5 = 0;
13912 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":132
13914 * if info.has_key('password') and info['password']:
13915 * password = info['password'] # <<<<<<<<<<<<<<
13916 * proxy.c_purple_proxy_info_set_password(c_proxyinfo, password)
13919 __pyx_6 = PyObject_GetItem(__pyx_v_info, __pyx_kp_448); if (!__pyx_6) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 132; __pyx_clineno = __LINE__; goto __pyx_L1;}
13920 Py_DECREF(__pyx_v_password);
13921 __pyx_v_password = __pyx_6;
13924 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":133
13925 * if info.has_key('password') and info['password']:
13926 * password = info['password']
13927 * proxy.c_purple_proxy_info_set_password(c_proxyinfo, password) # <<<<<<<<<<<<<<
13931 __pyx_2 = __Pyx_PyBytes_AsString(__pyx_v_password); if (unlikely((!__pyx_2) && PyErr_Occurred())) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 133; __pyx_clineno = __LINE__; goto __pyx_L1;}
13932 purple_proxy_info_set_password(__pyx_v_c_proxyinfo, __pyx_2);
13937 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":135
13938 * proxy.c_purple_proxy_info_set_password(c_proxyinfo, password)
13940 * return True # <<<<<<<<<<<<<<
13942 Py_INCREF(Py_True);
13946 __pyx_r = Py_None; Py_INCREF(Py_None);
13949 Py_XDECREF(__pyx_1);
13950 Py_XDECREF(__pyx_5);
13951 Py_XDECREF(__pyx_6);
13952 __Pyx_AddTraceback("purple.ProxyInfo.set_info");
13955 Py_DECREF(__pyx_v_type);
13956 Py_DECREF(__pyx_v_host);
13957 Py_DECREF(__pyx_v_port);
13958 Py_DECREF(__pyx_v_username);
13959 Py_DECREF(__pyx_v_password);
13963 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":35
13964 * cdef object __exists
13966 * def __init__(self, username, protocol, core): # <<<<<<<<<<<<<<
13967 * self.__username = username
13968 * self.__protocol = protocol
13971 static int __pyx_pf_6purple_7Account___init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
13972 static int __pyx_pf_6purple_7Account___init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
13973 PyObject *__pyx_v_username = 0;
13974 PyObject *__pyx_v_protocol = 0;
13975 PyObject *__pyx_v_core = 0;
13977 PyObject *__pyx_1 = 0;
13979 static char *__pyx_argnames[] = {"username","protocol","core",0};
13980 if (likely(!__pyx_kwds) && likely(PyTuple_GET_SIZE(__pyx_args) == 3)) {
13981 __pyx_v_username = PyTuple_GET_ITEM(__pyx_args, 0);
13982 __pyx_v_protocol = PyTuple_GET_ITEM(__pyx_args, 1);
13983 __pyx_v_core = PyTuple_GET_ITEM(__pyx_args, 2);
13986 if (unlikely(!PyArg_ParseTupleAndKeywords(__pyx_args, __pyx_kwds, "OOO", __pyx_argnames, &__pyx_v_username, &__pyx_v_protocol, &__pyx_v_core))) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 35; __pyx_clineno = __LINE__; goto __pyx_L2;}
13990 __Pyx_AddTraceback("purple.Account.__init__");
13994 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":36
13996 * def __init__(self, username, protocol, core):
13997 * self.__username = username # <<<<<<<<<<<<<<
13998 * self.__protocol = protocol
13999 * self.__core = core
14001 Py_INCREF(__pyx_v_username);
14002 Py_DECREF(((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__username);
14003 ((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__username = __pyx_v_username;
14005 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":37
14006 * def __init__(self, username, protocol, core):
14007 * self.__username = username
14008 * self.__protocol = protocol # <<<<<<<<<<<<<<
14009 * self.__core = core
14012 Py_INCREF(__pyx_v_protocol);
14013 Py_DECREF(((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__protocol);
14014 ((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__protocol = __pyx_v_protocol;
14016 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":38
14017 * self.__username = username
14018 * self.__protocol = protocol
14019 * self.__core = core # <<<<<<<<<<<<<<
14021 * if protocol.exists and self._get_structure() != NULL:
14023 Py_INCREF(__pyx_v_core);
14024 Py_DECREF(((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__core);
14025 ((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__core = __pyx_v_core;
14027 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":40
14028 * self.__core = core
14030 * if protocol.exists and self._get_structure() != NULL: # <<<<<<<<<<<<<<
14031 * self.__exists = True
14034 __pyx_1 = PyObject_GetAttr(__pyx_v_protocol, __pyx_kp_exists); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 40; __pyx_clineno = __LINE__; goto __pyx_L1;}
14035 __pyx_2 = __Pyx_PyObject_IsTrue(__pyx_1); if (unlikely(__pyx_2 < 0)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 40; __pyx_clineno = __LINE__; goto __pyx_L1;}
14037 Py_DECREF(__pyx_1); __pyx_1 = 0;
14038 __pyx_1 = __Pyx_PyBool_FromLong((((struct __pyx_vtabstruct_6purple_Account *)((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Account *)__pyx_v_self)) != NULL)); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 40; __pyx_clineno = __LINE__; goto __pyx_L1;}
14040 __pyx_2 = __Pyx_PyObject_IsTrue(__pyx_1); if (unlikely(__pyx_2 < 0)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 40; __pyx_clineno = __LINE__; goto __pyx_L1;}
14041 Py_DECREF(__pyx_1); __pyx_1 = 0;
14044 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":41
14046 * if protocol.exists and self._get_structure() != NULL:
14047 * self.__exists = True # <<<<<<<<<<<<<<
14049 * self.__exists = False
14051 Py_INCREF(Py_True);
14052 Py_DECREF(((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__exists);
14053 ((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__exists = Py_True;
14058 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":43
14059 * self.__exists = True
14061 * self.__exists = False # <<<<<<<<<<<<<<
14063 * cdef account.PurpleAccount *_get_structure(self):
14065 Py_INCREF(Py_False);
14066 Py_DECREF(((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__exists);
14067 ((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__exists = Py_False;
14074 Py_XDECREF(__pyx_1);
14075 __Pyx_AddTraceback("purple.Account.__init__");
14081 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":45
14082 * self.__exists = False
14084 * cdef account.PurpleAccount *_get_structure(self): # <<<<<<<<<<<<<<
14085 * return account.purple_accounts_find(self.__username, \
14086 * self.__protocol.id)
14089 static PurpleAccount *__pyx_f_6purple_7Account__get_structure(struct __pyx_obj_6purple_Account *__pyx_v_self) {
14090 PurpleAccount *__pyx_r;
14092 PyObject *__pyx_2 = 0;
14095 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":46
14097 * cdef account.PurpleAccount *_get_structure(self):
14098 * return account.purple_accounts_find(self.__username, \ # <<<<<<<<<<<<<<
14099 * self.__protocol.id)
14102 __pyx_1 = __Pyx_PyBytes_AsString(__pyx_v_self->__username); if (unlikely((!__pyx_1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 46; __pyx_clineno = __LINE__; goto __pyx_L1;}
14104 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":47
14105 * cdef account.PurpleAccount *_get_structure(self):
14106 * return account.purple_accounts_find(self.__username, \
14107 * self.__protocol.id) # <<<<<<<<<<<<<<
14109 * def __is_connected(self):
14111 __pyx_2 = PyObject_GetAttr(__pyx_v_self->__protocol, __pyx_kp_id); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 47; __pyx_clineno = __LINE__; goto __pyx_L1;}
14112 __pyx_3 = __Pyx_PyBytes_AsString(__pyx_2); if (unlikely((!__pyx_3) && PyErr_Occurred())) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 47; __pyx_clineno = __LINE__; goto __pyx_L1;}
14113 Py_DECREF(__pyx_2); __pyx_2 = 0;
14114 __pyx_r = purple_accounts_find(__pyx_1, __pyx_3);
14120 Py_XDECREF(__pyx_2);
14121 __Pyx_WriteUnraisable("purple.Account._get_structure");
14127 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":49
14128 * self.__protocol.id)
14130 * def __is_connected(self): # <<<<<<<<<<<<<<
14131 * if self.__exists:
14132 * return account.purple_account_is_connected(self._get_structure())
14135 static PyObject *__pyx_pf_6purple_7Account___is_connected(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
14136 static PyObject *__pyx_pf_6purple_7Account___is_connected(PyObject *__pyx_v_self, PyObject *unused) {
14139 PyObject *__pyx_2 = 0;
14141 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":50
14143 * def __is_connected(self):
14144 * if self.__exists: # <<<<<<<<<<<<<<
14145 * return account.purple_account_is_connected(self._get_structure())
14148 __pyx_1 = __Pyx_PyObject_IsTrue(((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__exists); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L1;}
14151 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":51
14152 * def __is_connected(self):
14153 * if self.__exists:
14154 * return account.purple_account_is_connected(self._get_structure()) # <<<<<<<<<<<<<<
14158 __pyx_2 = PyInt_FromLong(purple_account_is_connected(((struct __pyx_vtabstruct_6purple_Account *)((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Account *)__pyx_v_self)))); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 51; __pyx_clineno = __LINE__; goto __pyx_L1;}
14166 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":53
14167 * return account.purple_account_is_connected(self._get_structure())
14169 * return None # <<<<<<<<<<<<<<
14170 * is_connected = property(__is_connected)
14173 Py_INCREF(Py_None);
14179 __pyx_r = Py_None; Py_INCREF(Py_None);
14182 Py_XDECREF(__pyx_2);
14183 __Pyx_AddTraceback("purple.Account.__is_connected");
14189 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":56
14190 * is_connected = property(__is_connected)
14192 * def __is_connecting(self): # <<<<<<<<<<<<<<
14193 * if self.__exists:
14194 * return account.purple_account_is_connecting(self._get_structure())
14197 static PyObject *__pyx_pf_6purple_7Account___is_connecting(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
14198 static PyObject *__pyx_pf_6purple_7Account___is_connecting(PyObject *__pyx_v_self, PyObject *unused) {
14201 PyObject *__pyx_2 = 0;
14203 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":57
14205 * def __is_connecting(self):
14206 * if self.__exists: # <<<<<<<<<<<<<<
14207 * return account.purple_account_is_connecting(self._get_structure())
14210 __pyx_1 = __Pyx_PyObject_IsTrue(((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__exists); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 57; __pyx_clineno = __LINE__; goto __pyx_L1;}
14213 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":58
14214 * def __is_connecting(self):
14215 * if self.__exists:
14216 * return account.purple_account_is_connecting(self._get_structure()) # <<<<<<<<<<<<<<
14220 __pyx_2 = PyInt_FromLong(purple_account_is_connecting(((struct __pyx_vtabstruct_6purple_Account *)((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Account *)__pyx_v_self)))); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 58; __pyx_clineno = __LINE__; goto __pyx_L1;}
14228 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":60
14229 * return account.purple_account_is_connecting(self._get_structure())
14231 * return None # <<<<<<<<<<<<<<
14232 * is_connecting = property(__is_connecting)
14235 Py_INCREF(Py_None);
14241 __pyx_r = Py_None; Py_INCREF(Py_None);
14244 Py_XDECREF(__pyx_2);
14245 __Pyx_AddTraceback("purple.Account.__is_connecting");
14251 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":63
14252 * is_connecting = property(__is_connecting)
14254 * def __is_disconnected(self): # <<<<<<<<<<<<<<
14255 * if self.__exists:
14256 * return account.purple_account_is_disconnected( \
14259 static PyObject *__pyx_pf_6purple_7Account___is_disconnected(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
14260 static PyObject *__pyx_pf_6purple_7Account___is_disconnected(PyObject *__pyx_v_self, PyObject *unused) {
14263 PyObject *__pyx_2 = 0;
14265 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":64
14267 * def __is_disconnected(self):
14268 * if self.__exists: # <<<<<<<<<<<<<<
14269 * return account.purple_account_is_disconnected( \
14270 * self._get_structure())
14272 __pyx_1 = __Pyx_PyObject_IsTrue(((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__exists); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 64; __pyx_clineno = __LINE__; goto __pyx_L1;}
14275 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":66
14276 * if self.__exists:
14277 * return account.purple_account_is_disconnected( \
14278 * self._get_structure()) # <<<<<<<<<<<<<<
14282 __pyx_2 = PyInt_FromLong(purple_account_is_disconnected(((struct __pyx_vtabstruct_6purple_Account *)((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Account *)__pyx_v_self)))); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 65; __pyx_clineno = __LINE__; goto __pyx_L1;}
14290 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":68
14291 * self._get_structure())
14293 * return None # <<<<<<<<<<<<<<
14294 * is_disconnected = property(__is_disconnected)
14297 Py_INCREF(Py_None);
14303 __pyx_r = Py_None; Py_INCREF(Py_None);
14306 Py_XDECREF(__pyx_2);
14307 __Pyx_AddTraceback("purple.Account.__is_disconnected");
14313 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":71
14314 * is_disconnected = property(__is_disconnected)
14316 * def __get_core(self): # <<<<<<<<<<<<<<
14317 * return self.__core
14318 * core = property(__get_core)
14321 static PyObject *__pyx_pf_6purple_7Account___get_core(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
14322 static PyObject *__pyx_pf_6purple_7Account___get_core(PyObject *__pyx_v_self, PyObject *unused) {
14325 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":72
14327 * def __get_core(self):
14328 * return self.__core # <<<<<<<<<<<<<<
14329 * core = property(__get_core)
14332 Py_INCREF(((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__core);
14333 __pyx_r = ((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__core;
14336 __pyx_r = Py_None; Py_INCREF(Py_None);
14341 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":75
14342 * core = property(__get_core)
14344 * def __get_exists(self): # <<<<<<<<<<<<<<
14345 * return self.__exists
14346 * exists = property(__get_exists)
14349 static PyObject *__pyx_pf_6purple_7Account___get_exists(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
14350 static PyObject *__pyx_pf_6purple_7Account___get_exists(PyObject *__pyx_v_self, PyObject *unused) {
14353 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":76
14355 * def __get_exists(self):
14356 * return self.__exists # <<<<<<<<<<<<<<
14357 * exists = property(__get_exists)
14360 Py_INCREF(((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__exists);
14361 __pyx_r = ((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__exists;
14364 __pyx_r = Py_None; Py_INCREF(Py_None);
14369 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":79
14370 * exists = property(__get_exists)
14372 * def __get_username(self): # <<<<<<<<<<<<<<
14373 * cdef char *username = NULL
14374 * if self.__exists:
14377 static PyObject *__pyx_pf_6purple_7Account___get_username(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
14378 static PyObject *__pyx_pf_6purple_7Account___get_username(PyObject *__pyx_v_self, PyObject *unused) {
14379 char *__pyx_v_username;
14382 PyObject *__pyx_2 = 0;
14384 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":80
14386 * def __get_username(self):
14387 * cdef char *username = NULL # <<<<<<<<<<<<<<
14388 * if self.__exists:
14389 * username = <char *> account.purple_account_get_username( \
14391 __pyx_v_username = NULL;
14394 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":81
14395 * def __get_username(self):
14396 * cdef char *username = NULL
14397 * if self.__exists: # <<<<<<<<<<<<<<
14398 * username = <char *> account.purple_account_get_username( \
14399 * self._get_structure())
14401 __pyx_1 = __Pyx_PyObject_IsTrue(((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__exists); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 81; __pyx_clineno = __LINE__; goto __pyx_L1;}
14404 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":83
14405 * if self.__exists:
14406 * username = <char *> account.purple_account_get_username( \
14407 * self._get_structure()) # <<<<<<<<<<<<<<
14411 __pyx_v_username = ((char *)purple_account_get_username(((struct __pyx_vtabstruct_6purple_Account *)((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Account *)__pyx_v_self))));
14413 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":84
14414 * username = <char *> account.purple_account_get_username( \
14415 * self._get_structure())
14416 * if username: # <<<<<<<<<<<<<<
14420 __pyx_1 = (__pyx_v_username != 0);
14423 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":85
14424 * self._get_structure())
14426 * return username # <<<<<<<<<<<<<<
14430 __pyx_2 = __Pyx_PyBytes_FromString(__pyx_v_username); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 85; __pyx_clineno = __LINE__; goto __pyx_L1;}
14438 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":87
14441 * return None # <<<<<<<<<<<<<<
14443 * return self.__username
14445 Py_INCREF(Py_None);
14454 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":89
14457 * return self.__username # <<<<<<<<<<<<<<
14458 * username = property(__get_username)
14461 Py_INCREF(((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__username);
14462 __pyx_r = ((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__username;
14467 __pyx_r = Py_None; Py_INCREF(Py_None);
14470 Py_XDECREF(__pyx_2);
14471 __Pyx_AddTraceback("purple.Account.__get_username");
14477 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":92
14478 * username = property(__get_username)
14480 * def __get_protocol(self): # <<<<<<<<<<<<<<
14481 * return self.__protocol
14482 * protocol = property(__get_protocol)
14485 static PyObject *__pyx_pf_6purple_7Account___get_protocol(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
14486 static PyObject *__pyx_pf_6purple_7Account___get_protocol(PyObject *__pyx_v_self, PyObject *unused) {
14489 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":93
14491 * def __get_protocol(self):
14492 * return self.__protocol # <<<<<<<<<<<<<<
14493 * protocol = property(__get_protocol)
14496 Py_INCREF(((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__protocol);
14497 __pyx_r = ((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__protocol;
14500 __pyx_r = Py_None; Py_INCREF(Py_None);
14505 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":96
14506 * protocol = property(__get_protocol)
14508 * def _get_protocol_options(self): # <<<<<<<<<<<<<<
14510 * @return Dictionary {'setting': value, ...}
14513 static char __pyx_k_449[] = "";
14515 static PyObject *__pyx_pf_6purple_7Account__get_protocol_options(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
14516 static char __pyx_doc_6purple_7Account__get_protocol_options[] = "\n @return Dictionary {\'setting\': value, ...}\n ";
14517 static PyObject *__pyx_pf_6purple_7Account__get_protocol_options(PyObject *__pyx_v_self, PyObject *unused) {
14518 GList *__pyx_v_iter;
14519 PurpleAccount *__pyx_v_c_account;
14520 PurplePlugin *__pyx_v_c_plugin;
14521 PurplePluginProtocolInfo *__pyx_v_prpl_info;
14522 PurpleAccountOption *__pyx_v_option;
14523 PurplePrefType __pyx_v_type;
14524 char *__pyx_v_label_name;
14525 char *__pyx_v_str_value;
14526 char *__pyx_v_setting;
14527 int __pyx_v_int_value;
14528 gboolean __pyx_v_bool_value;
14529 PyObject *__pyx_v_po;
14530 PyObject *__pyx_v_sett;
14531 PyObject *__pyx_v_val;
14534 PyObject *__pyx_2 = 0;
14536 PyObject *__pyx_4 = 0;
14537 __pyx_v_po = Py_None; Py_INCREF(Py_None);
14538 __pyx_v_sett = Py_None; Py_INCREF(Py_None);
14539 __pyx_v_val = Py_None; Py_INCREF(Py_None);
14541 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":112
14542 * cdef glib.gboolean bool_value
14544 * c_account = self._get_structure() # <<<<<<<<<<<<<<
14546 * if c_account == NULL:
14548 __pyx_v_c_account = ((struct __pyx_vtabstruct_6purple_Account *)((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Account *)__pyx_v_self));
14550 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":114
14551 * c_account = self._get_structure()
14553 * if c_account == NULL: # <<<<<<<<<<<<<<
14557 __pyx_1 = (__pyx_v_c_account == NULL);
14560 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":115
14562 * if c_account == NULL:
14563 * return None # <<<<<<<<<<<<<<
14567 Py_INCREF(Py_None);
14574 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":117
14577 * po = {} # <<<<<<<<<<<<<<
14579 * c_plugin = plugin.purple_plugins_find_with_id(self.__protocol.id)
14581 __pyx_2 = PyDict_New(); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 117; __pyx_clineno = __LINE__; goto __pyx_L1;}
14582 Py_DECREF(__pyx_v_po);
14583 __pyx_v_po = ((PyObject *)__pyx_2);
14586 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":119
14589 * c_plugin = plugin.purple_plugins_find_with_id(self.__protocol.id) # <<<<<<<<<<<<<<
14590 * prpl_info = plugin.PURPLE_PLUGIN_PROTOCOL_INFO(c_plugin)
14591 * iter = prpl_info.protocol_options
14593 __pyx_2 = PyObject_GetAttr(((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__protocol, __pyx_kp_id); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 119; __pyx_clineno = __LINE__; goto __pyx_L1;}
14594 __pyx_3 = __Pyx_PyBytes_AsString(__pyx_2); if (unlikely((!__pyx_3) && PyErr_Occurred())) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 119; __pyx_clineno = __LINE__; goto __pyx_L1;}
14595 Py_DECREF(__pyx_2); __pyx_2 = 0;
14596 __pyx_v_c_plugin = purple_plugins_find_with_id(__pyx_3);
14598 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":120
14600 * c_plugin = plugin.purple_plugins_find_with_id(self.__protocol.id)
14601 * prpl_info = plugin.PURPLE_PLUGIN_PROTOCOL_INFO(c_plugin) # <<<<<<<<<<<<<<
14602 * iter = prpl_info.protocol_options
14605 __pyx_v_prpl_info = PURPLE_PLUGIN_PROTOCOL_INFO(__pyx_v_c_plugin);
14607 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":121
14608 * c_plugin = plugin.purple_plugins_find_with_id(self.__protocol.id)
14609 * prpl_info = plugin.PURPLE_PLUGIN_PROTOCOL_INFO(c_plugin)
14610 * iter = prpl_info.protocol_options # <<<<<<<<<<<<<<
14614 __pyx_v_iter = __pyx_v_prpl_info->protocol_options;
14616 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":123
14617 * iter = prpl_info.protocol_options
14619 * while iter: # <<<<<<<<<<<<<<
14621 * option = <accountopt.PurpleAccountOption *> iter.data
14624 __pyx_1 = (__pyx_v_iter != 0);
14625 if (!__pyx_1) break;
14627 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":125
14630 * option = <accountopt.PurpleAccountOption *> iter.data # <<<<<<<<<<<<<<
14631 * type = accountopt.purple_account_option_get_type(option)
14632 * label_name = <char *> accountopt.purple_account_option_get_text(option)
14634 __pyx_v_option = ((PurpleAccountOption *)__pyx_v_iter->data);
14636 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":126
14638 * option = <accountopt.PurpleAccountOption *> iter.data
14639 * type = accountopt.purple_account_option_get_type(option) # <<<<<<<<<<<<<<
14640 * label_name = <char *> accountopt.purple_account_option_get_text(option)
14641 * setting = <char *> accountopt.purple_account_option_get_setting(option)
14643 __pyx_v_type = purple_account_option_get_type(__pyx_v_option);
14645 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":127
14646 * option = <accountopt.PurpleAccountOption *> iter.data
14647 * type = accountopt.purple_account_option_get_type(option)
14648 * label_name = <char *> accountopt.purple_account_option_get_text(option) # <<<<<<<<<<<<<<
14649 * setting = <char *> accountopt.purple_account_option_get_setting(option)
14652 __pyx_v_label_name = ((char *)purple_account_option_get_text(__pyx_v_option));
14654 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":128
14655 * type = accountopt.purple_account_option_get_type(option)
14656 * label_name = <char *> accountopt.purple_account_option_get_text(option)
14657 * setting = <char *> accountopt.purple_account_option_get_setting(option) # <<<<<<<<<<<<<<
14659 * sett = str(<char *> setting)
14661 __pyx_v_setting = ((char *)purple_account_option_get_setting(__pyx_v_option));
14663 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":130
14664 * setting = <char *> accountopt.purple_account_option_get_setting(option)
14666 * sett = str(<char *> setting) # <<<<<<<<<<<<<<
14668 * if type == prefs.PURPLE_PREF_STRING:
14670 __pyx_2 = __Pyx_PyBytes_FromString(((char *)__pyx_v_setting)); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 130; __pyx_clineno = __LINE__; goto __pyx_L1;}
14671 __pyx_4 = PyTuple_New(1); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 130; __pyx_clineno = __LINE__; goto __pyx_L1;}
14672 PyTuple_SET_ITEM(__pyx_4, 0, __pyx_2);
14674 __pyx_2 = PyObject_Call(((PyObject*)&PyBytes_Type), ((PyObject *)__pyx_4), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 130; __pyx_clineno = __LINE__; goto __pyx_L1;}
14675 Py_DECREF(((PyObject *)__pyx_4)); __pyx_4 = 0;
14676 Py_DECREF(__pyx_v_sett);
14677 __pyx_v_sett = __pyx_2;
14680 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":132
14681 * sett = str(<char *> setting)
14683 * if type == prefs.PURPLE_PREF_STRING: # <<<<<<<<<<<<<<
14685 * str_value = <char *> accountopt.purple_account_option_get_default_string(option)
14687 __pyx_1 = (__pyx_v_type == PURPLE_PREF_STRING);
14690 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":134
14691 * if type == prefs.PURPLE_PREF_STRING:
14693 * str_value = <char *> accountopt.purple_account_option_get_default_string(option) # <<<<<<<<<<<<<<
14695 * # Hack to set string "" as default value to Account options when
14697 __pyx_v_str_value = ((char *)purple_account_option_get_default_string(__pyx_v_option));
14699 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":138
14700 * # Hack to set string "" as default value to Account options when
14701 * # the default value of the protocol is NULL
14702 * if str_value == NULL: # <<<<<<<<<<<<<<
14704 * str_value = <char *> account.purple_account_get_string(c_account, setting, str_value)
14706 __pyx_1 = (__pyx_v_str_value == NULL);
14709 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":139
14710 * # the default value of the protocol is NULL
14711 * if str_value == NULL:
14712 * str_value = "" # <<<<<<<<<<<<<<
14713 * str_value = <char *> account.purple_account_get_string(c_account, setting, str_value)
14716 __pyx_v_str_value = __pyx_k_449;
14721 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":140
14722 * if str_value == NULL:
14724 * str_value = <char *> account.purple_account_get_string(c_account, setting, str_value) # <<<<<<<<<<<<<<
14726 * val = str(<char *> str_value)
14728 __pyx_v_str_value = ((char *)purple_account_get_string(__pyx_v_c_account, __pyx_v_setting, __pyx_v_str_value));
14730 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":142
14731 * str_value = <char *> account.purple_account_get_string(c_account, setting, str_value)
14733 * val = str(<char *> str_value) # <<<<<<<<<<<<<<
14735 * elif type == prefs.PURPLE_PREF_INT:
14737 __pyx_4 = __Pyx_PyBytes_FromString(((char *)__pyx_v_str_value)); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 142; __pyx_clineno = __LINE__; goto __pyx_L1;}
14738 __pyx_2 = PyTuple_New(1); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 142; __pyx_clineno = __LINE__; goto __pyx_L1;}
14739 PyTuple_SET_ITEM(__pyx_2, 0, __pyx_4);
14741 __pyx_4 = PyObject_Call(((PyObject*)&PyBytes_Type), ((PyObject *)__pyx_2), NULL); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 142; __pyx_clineno = __LINE__; goto __pyx_L1;}
14742 Py_DECREF(((PyObject *)__pyx_2)); __pyx_2 = 0;
14743 Py_DECREF(__pyx_v_val);
14744 __pyx_v_val = __pyx_4;
14749 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":144
14750 * val = str(<char *> str_value)
14752 * elif type == prefs.PURPLE_PREF_INT: # <<<<<<<<<<<<<<
14754 * int_value = accountopt.purple_account_option_get_default_int(option)
14756 __pyx_1 = (__pyx_v_type == PURPLE_PREF_INT);
14759 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":146
14760 * elif type == prefs.PURPLE_PREF_INT:
14762 * int_value = accountopt.purple_account_option_get_default_int(option) # <<<<<<<<<<<<<<
14763 * int_value = account.purple_account_get_int(c_account, setting, int_value)
14766 __pyx_v_int_value = purple_account_option_get_default_int(__pyx_v_option);
14768 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":147
14770 * int_value = accountopt.purple_account_option_get_default_int(option)
14771 * int_value = account.purple_account_get_int(c_account, setting, int_value) # <<<<<<<<<<<<<<
14773 * val = int(int_value)
14775 __pyx_v_int_value = purple_account_get_int(__pyx_v_c_account, __pyx_v_setting, __pyx_v_int_value);
14777 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":149
14778 * int_value = account.purple_account_get_int(c_account, setting, int_value)
14780 * val = int(int_value) # <<<<<<<<<<<<<<
14782 * elif type == prefs.PURPLE_PREF_BOOLEAN:
14784 __pyx_2 = PyInt_FromLong(__pyx_v_int_value); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 149; __pyx_clineno = __LINE__; goto __pyx_L1;}
14785 __pyx_4 = PyTuple_New(1); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 149; __pyx_clineno = __LINE__; goto __pyx_L1;}
14786 PyTuple_SET_ITEM(__pyx_4, 0, __pyx_2);
14788 __pyx_2 = PyObject_Call(((PyObject*)&PyInt_Type), ((PyObject *)__pyx_4), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 149; __pyx_clineno = __LINE__; goto __pyx_L1;}
14789 Py_DECREF(((PyObject *)__pyx_4)); __pyx_4 = 0;
14790 Py_DECREF(__pyx_v_val);
14791 __pyx_v_val = __pyx_2;
14796 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":151
14797 * val = int(int_value)
14799 * elif type == prefs.PURPLE_PREF_BOOLEAN: # <<<<<<<<<<<<<<
14801 * bool_value = accountopt.purple_account_option_get_default_bool(option)
14803 __pyx_1 = (__pyx_v_type == PURPLE_PREF_BOOLEAN);
14806 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":153
14807 * elif type == prefs.PURPLE_PREF_BOOLEAN:
14809 * bool_value = accountopt.purple_account_option_get_default_bool(option) # <<<<<<<<<<<<<<
14810 * bool_value = account.purple_account_get_bool(c_account, setting, bool_value)
14813 __pyx_v_bool_value = purple_account_option_get_default_bool(__pyx_v_option);
14815 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":154
14817 * bool_value = accountopt.purple_account_option_get_default_bool(option)
14818 * bool_value = account.purple_account_get_bool(c_account, setting, bool_value) # <<<<<<<<<<<<<<
14820 * val = bool(bool_value)
14822 __pyx_v_bool_value = purple_account_get_bool(__pyx_v_c_account, __pyx_v_setting, __pyx_v_bool_value);
14824 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":156
14825 * bool_value = account.purple_account_get_bool(c_account, setting, bool_value)
14827 * val = bool(bool_value) # <<<<<<<<<<<<<<
14829 * elif type == prefs.PURPLE_PREF_STRING_LIST:
14831 __pyx_4 = PyInt_FromLong(__pyx_v_bool_value); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 156; __pyx_clineno = __LINE__; goto __pyx_L1;}
14832 __pyx_2 = PyTuple_New(1); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 156; __pyx_clineno = __LINE__; goto __pyx_L1;}
14833 PyTuple_SET_ITEM(__pyx_2, 0, __pyx_4);
14835 __pyx_4 = PyObject_Call(__pyx_builtin_bool, ((PyObject *)__pyx_2), NULL); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 156; __pyx_clineno = __LINE__; goto __pyx_L1;}
14836 Py_DECREF(((PyObject *)__pyx_2)); __pyx_2 = 0;
14837 Py_DECREF(__pyx_v_val);
14838 __pyx_v_val = __pyx_4;
14843 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":158
14844 * val = bool(bool_value)
14846 * elif type == prefs.PURPLE_PREF_STRING_LIST: # <<<<<<<<<<<<<<
14848 * str_value = <char *> accountopt.purple_account_option_get_default_list_value(option)
14850 __pyx_1 = (__pyx_v_type == PURPLE_PREF_STRING_LIST);
14853 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":160
14854 * elif type == prefs.PURPLE_PREF_STRING_LIST:
14856 * str_value = <char *> accountopt.purple_account_option_get_default_list_value(option) # <<<<<<<<<<<<<<
14857 * str_value = <char *> account.purple_account_get_string(c_account, setting, str_value)
14860 __pyx_v_str_value = ((char *)purple_account_option_get_default_list_value(__pyx_v_option));
14862 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":161
14864 * str_value = <char *> accountopt.purple_account_option_get_default_list_value(option)
14865 * str_value = <char *> account.purple_account_get_string(c_account, setting, str_value) # <<<<<<<<<<<<<<
14867 * val = str(<char *> str_value)
14869 __pyx_v_str_value = ((char *)purple_account_get_string(__pyx_v_c_account, __pyx_v_setting, __pyx_v_str_value));
14871 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":163
14872 * str_value = <char *> account.purple_account_get_string(c_account, setting, str_value)
14874 * val = str(<char *> str_value) # <<<<<<<<<<<<<<
14878 __pyx_2 = __Pyx_PyBytes_FromString(((char *)__pyx_v_str_value)); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L1;}
14879 __pyx_4 = PyTuple_New(1); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L1;}
14880 PyTuple_SET_ITEM(__pyx_4, 0, __pyx_2);
14882 __pyx_2 = PyObject_Call(((PyObject*)&PyBytes_Type), ((PyObject *)__pyx_4), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L1;}
14883 Py_DECREF(((PyObject *)__pyx_4)); __pyx_4 = 0;
14884 Py_DECREF(__pyx_v_val);
14885 __pyx_v_val = __pyx_2;
14891 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":165
14892 * val = str(<char *> str_value)
14894 * iter = iter.next # <<<<<<<<<<<<<<
14898 __pyx_v_iter = __pyx_v_iter->next;
14900 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":167
14903 * po[sett] = val # <<<<<<<<<<<<<<
14907 if (PyObject_SetItem(__pyx_v_po, __pyx_v_sett, __pyx_v_val) < 0) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 167; __pyx_clineno = __LINE__; goto __pyx_L1;}
14910 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":169
14913 * return po # <<<<<<<<<<<<<<
14914 * protocol_options = property(_get_protocol_options)
14917 Py_INCREF(__pyx_v_po);
14918 __pyx_r = __pyx_v_po;
14921 __pyx_r = Py_None; Py_INCREF(Py_None);
14924 Py_XDECREF(__pyx_2);
14925 Py_XDECREF(__pyx_4);
14926 __Pyx_AddTraceback("purple.Account._get_protocol_options");
14929 Py_DECREF(__pyx_v_po);
14930 Py_DECREF(__pyx_v_sett);
14931 Py_DECREF(__pyx_v_val);
14935 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":172
14936 * protocol_options = property(_get_protocol_options)
14938 * def __get_password(self): # <<<<<<<<<<<<<<
14939 * cdef char *password = NULL
14940 * if self.__exists:
14943 static PyObject *__pyx_pf_6purple_7Account___get_password(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
14944 static PyObject *__pyx_pf_6purple_7Account___get_password(PyObject *__pyx_v_self, PyObject *unused) {
14945 char *__pyx_v_password;
14948 PyObject *__pyx_2 = 0;
14950 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":173
14952 * def __get_password(self):
14953 * cdef char *password = NULL # <<<<<<<<<<<<<<
14954 * if self.__exists:
14955 * password = <char *> account.purple_account_get_password( \
14957 __pyx_v_password = NULL;
14960 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":174
14961 * def __get_password(self):
14962 * cdef char *password = NULL
14963 * if self.__exists: # <<<<<<<<<<<<<<
14964 * password = <char *> account.purple_account_get_password( \
14965 * self._get_structure())
14967 __pyx_1 = __Pyx_PyObject_IsTrue(((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__exists); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 174; __pyx_clineno = __LINE__; goto __pyx_L1;}
14970 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":176
14971 * if self.__exists:
14972 * password = <char *> account.purple_account_get_password( \
14973 * self._get_structure()) # <<<<<<<<<<<<<<
14977 __pyx_v_password = ((char *)purple_account_get_password(((struct __pyx_vtabstruct_6purple_Account *)((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Account *)__pyx_v_self))));
14979 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":177
14980 * password = <char *> account.purple_account_get_password( \
14981 * self._get_structure())
14982 * if password: # <<<<<<<<<<<<<<
14986 __pyx_1 = (__pyx_v_password != 0);
14989 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":178
14990 * self._get_structure())
14992 * return password # <<<<<<<<<<<<<<
14996 __pyx_2 = __Pyx_PyBytes_FromString(__pyx_v_password); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 178; __pyx_clineno = __LINE__; goto __pyx_L1;}
15004 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":180
15007 * return None # <<<<<<<<<<<<<<
15011 Py_INCREF(Py_None);
15020 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":182
15023 * return None # <<<<<<<<<<<<<<
15024 * password = property(__get_password)
15027 Py_INCREF(Py_None);
15033 __pyx_r = Py_None; Py_INCREF(Py_None);
15036 Py_XDECREF(__pyx_2);
15037 __Pyx_AddTraceback("purple.Account.__get_password");
15043 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":185
15044 * password = property(__get_password)
15046 * def __get_alias(self): # <<<<<<<<<<<<<<
15047 * cdef char *alias = NULL
15048 * if self.__exists:
15051 static PyObject *__pyx_pf_6purple_7Account___get_alias(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
15052 static PyObject *__pyx_pf_6purple_7Account___get_alias(PyObject *__pyx_v_self, PyObject *unused) {
15053 char *__pyx_v_alias;
15056 PyObject *__pyx_2 = 0;
15058 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":186
15060 * def __get_alias(self):
15061 * cdef char *alias = NULL # <<<<<<<<<<<<<<
15062 * if self.__exists:
15063 * alias = <char *> account.purple_account_get_alias(self._get_structure())
15065 __pyx_v_alias = NULL;
15068 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":187
15069 * def __get_alias(self):
15070 * cdef char *alias = NULL
15071 * if self.__exists: # <<<<<<<<<<<<<<
15072 * alias = <char *> account.purple_account_get_alias(self._get_structure())
15075 __pyx_1 = __Pyx_PyObject_IsTrue(((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__exists); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 187; __pyx_clineno = __LINE__; goto __pyx_L1;}
15078 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":188
15079 * cdef char *alias = NULL
15080 * if self.__exists:
15081 * alias = <char *> account.purple_account_get_alias(self._get_structure()) # <<<<<<<<<<<<<<
15085 __pyx_v_alias = ((char *)purple_account_get_alias(((struct __pyx_vtabstruct_6purple_Account *)((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Account *)__pyx_v_self))));
15087 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":189
15088 * if self.__exists:
15089 * alias = <char *> account.purple_account_get_alias(self._get_structure())
15090 * if alias: # <<<<<<<<<<<<<<
15094 __pyx_1 = (__pyx_v_alias != 0);
15097 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":190
15098 * alias = <char *> account.purple_account_get_alias(self._get_structure())
15100 * return alias # <<<<<<<<<<<<<<
15104 __pyx_2 = __Pyx_PyBytes_FromString(__pyx_v_alias); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 190; __pyx_clineno = __LINE__; goto __pyx_L1;}
15112 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":192
15115 * return None # <<<<<<<<<<<<<<
15119 Py_INCREF(Py_None);
15128 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":194
15131 * return None # <<<<<<<<<<<<<<
15132 * alias = property(__get_alias)
15135 Py_INCREF(Py_None);
15141 __pyx_r = Py_None; Py_INCREF(Py_None);
15144 Py_XDECREF(__pyx_2);
15145 __Pyx_AddTraceback("purple.Account.__get_alias");
15151 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":197
15152 * alias = property(__get_alias)
15154 * def __get_user_info(self): # <<<<<<<<<<<<<<
15155 * cdef char *user_info = NULL
15156 * if self.__exists:
15159 static PyObject *__pyx_pf_6purple_7Account___get_user_info(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
15160 static PyObject *__pyx_pf_6purple_7Account___get_user_info(PyObject *__pyx_v_self, PyObject *unused) {
15161 char *__pyx_v_user_info;
15164 PyObject *__pyx_2 = 0;
15166 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":198
15168 * def __get_user_info(self):
15169 * cdef char *user_info = NULL # <<<<<<<<<<<<<<
15170 * if self.__exists:
15171 * user_info = <char *> account.purple_account_get_user_info(self._get_structure())
15173 __pyx_v_user_info = NULL;
15176 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":199
15177 * def __get_user_info(self):
15178 * cdef char *user_info = NULL
15179 * if self.__exists: # <<<<<<<<<<<<<<
15180 * user_info = <char *> account.purple_account_get_user_info(self._get_structure())
15183 __pyx_1 = __Pyx_PyObject_IsTrue(((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__exists); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 199; __pyx_clineno = __LINE__; goto __pyx_L1;}
15186 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":200
15187 * cdef char *user_info = NULL
15188 * if self.__exists:
15189 * user_info = <char *> account.purple_account_get_user_info(self._get_structure()) # <<<<<<<<<<<<<<
15193 __pyx_v_user_info = ((char *)purple_account_get_user_info(((struct __pyx_vtabstruct_6purple_Account *)((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Account *)__pyx_v_self))));
15195 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":201
15196 * if self.__exists:
15197 * user_info = <char *> account.purple_account_get_user_info(self._get_structure())
15198 * if user_info: # <<<<<<<<<<<<<<
15202 __pyx_1 = (__pyx_v_user_info != 0);
15205 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":202
15206 * user_info = <char *> account.purple_account_get_user_info(self._get_structure())
15208 * return user_info # <<<<<<<<<<<<<<
15212 __pyx_2 = __Pyx_PyBytes_FromString(__pyx_v_user_info); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1;}
15220 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":204
15223 * return None # <<<<<<<<<<<<<<
15227 Py_INCREF(Py_None);
15236 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":206
15239 * return None # <<<<<<<<<<<<<<
15240 * user_info = property(__get_user_info)
15243 Py_INCREF(Py_None);
15249 __pyx_r = Py_None; Py_INCREF(Py_None);
15252 Py_XDECREF(__pyx_2);
15253 __Pyx_AddTraceback("purple.Account.__get_user_info");
15259 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":209
15260 * user_info = property(__get_user_info)
15262 * def __get_remember_password(self): # <<<<<<<<<<<<<<
15263 * if self.__exists:
15264 * return account.purple_account_get_remember_password( \
15267 static PyObject *__pyx_pf_6purple_7Account___get_remember_password(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
15268 static PyObject *__pyx_pf_6purple_7Account___get_remember_password(PyObject *__pyx_v_self, PyObject *unused) {
15271 PyObject *__pyx_2 = 0;
15273 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":210
15275 * def __get_remember_password(self):
15276 * if self.__exists: # <<<<<<<<<<<<<<
15277 * return account.purple_account_get_remember_password( \
15278 * self._get_structure())
15280 __pyx_1 = __Pyx_PyObject_IsTrue(((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__exists); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 210; __pyx_clineno = __LINE__; goto __pyx_L1;}
15283 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":212
15284 * if self.__exists:
15285 * return account.purple_account_get_remember_password( \
15286 * self._get_structure()) # <<<<<<<<<<<<<<
15290 __pyx_2 = PyInt_FromLong(purple_account_get_remember_password(((struct __pyx_vtabstruct_6purple_Account *)((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Account *)__pyx_v_self)))); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 211; __pyx_clineno = __LINE__; goto __pyx_L1;}
15298 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":214
15299 * self._get_structure())
15301 * return None # <<<<<<<<<<<<<<
15302 * remember_password = property(__get_remember_password)
15305 Py_INCREF(Py_None);
15311 __pyx_r = Py_None; Py_INCREF(Py_None);
15314 Py_XDECREF(__pyx_2);
15315 __Pyx_AddTraceback("purple.Account.__get_remember_password");
15321 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":217
15322 * remember_password = property(__get_remember_password)
15324 * def __get_enabled(self): # <<<<<<<<<<<<<<
15325 * if self.__exists:
15326 * return account.purple_account_get_enabled(self._get_structure(), \
15329 static PyObject *__pyx_pf_6purple_7Account___get_enabled(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
15330 static PyObject *__pyx_pf_6purple_7Account___get_enabled(PyObject *__pyx_v_self, PyObject *unused) {
15333 PyObject *__pyx_2 = 0;
15336 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":218
15338 * def __get_enabled(self):
15339 * if self.__exists: # <<<<<<<<<<<<<<
15340 * return account.purple_account_get_enabled(self._get_structure(), \
15341 * self.__core.ui_name)
15343 __pyx_1 = __Pyx_PyObject_IsTrue(((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__exists); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 218; __pyx_clineno = __LINE__; goto __pyx_L1;}
15346 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":220
15347 * if self.__exists:
15348 * return account.purple_account_get_enabled(self._get_structure(), \
15349 * self.__core.ui_name) # <<<<<<<<<<<<<<
15353 __pyx_2 = PyObject_GetAttr(((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__core, __pyx_kp_ui_name); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 220; __pyx_clineno = __LINE__; goto __pyx_L1;}
15354 __pyx_3 = __Pyx_PyBytes_AsString(__pyx_2); if (unlikely((!__pyx_3) && PyErr_Occurred())) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 220; __pyx_clineno = __LINE__; goto __pyx_L1;}
15355 Py_DECREF(__pyx_2); __pyx_2 = 0;
15356 __pyx_2 = PyInt_FromLong(purple_account_get_enabled(((struct __pyx_vtabstruct_6purple_Account *)((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Account *)__pyx_v_self)), __pyx_3)); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 219; __pyx_clineno = __LINE__; goto __pyx_L1;}
15364 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":222
15365 * self.__core.ui_name)
15367 * return None # <<<<<<<<<<<<<<
15368 * enabled = property(__get_enabled)
15371 Py_INCREF(Py_None);
15377 __pyx_r = Py_None; Py_INCREF(Py_None);
15380 Py_XDECREF(__pyx_2);
15381 __Pyx_AddTraceback("purple.Account.__get_enabled");
15387 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":225
15388 * enabled = property(__get_enabled)
15390 * def __get_status_types(self): # <<<<<<<<<<<<<<
15391 * cdef glib.GList *iter = NULL
15392 * cdef status.PurpleStatusType *c_statustype = NULL
15395 static PyObject *__pyx_pf_6purple_7Account___get_status_types(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
15396 static PyObject *__pyx_pf_6purple_7Account___get_status_types(PyObject *__pyx_v_self, PyObject *unused) {
15397 GList *__pyx_v_iter;
15398 PurpleStatusType *__pyx_v_c_statustype;
15400 char *__pyx_v_name;
15401 PyObject *__pyx_v_status_types;
15404 PyObject *__pyx_2 = 0;
15405 PyObject *__pyx_3 = 0;
15406 PyObject *__pyx_4 = 0;
15407 __pyx_v_status_types = Py_None; Py_INCREF(Py_None);
15409 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":226
15411 * def __get_status_types(self):
15412 * cdef glib.GList *iter = NULL # <<<<<<<<<<<<<<
15413 * cdef status.PurpleStatusType *c_statustype = NULL
15414 * cdef char *id = NULL
15416 __pyx_v_iter = NULL;
15419 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":227
15420 * def __get_status_types(self):
15421 * cdef glib.GList *iter = NULL
15422 * cdef status.PurpleStatusType *c_statustype = NULL # <<<<<<<<<<<<<<
15423 * cdef char *id = NULL
15424 * cdef char *name = NULL
15426 __pyx_v_c_statustype = NULL;
15429 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":228
15430 * cdef glib.GList *iter = NULL
15431 * cdef status.PurpleStatusType *c_statustype = NULL
15432 * cdef char *id = NULL # <<<<<<<<<<<<<<
15433 * cdef char *name = NULL
15439 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":229
15440 * cdef status.PurpleStatusType *c_statustype = NULL
15441 * cdef char *id = NULL
15442 * cdef char *name = NULL # <<<<<<<<<<<<<<
15444 * if self.__exists:
15446 __pyx_v_name = NULL;
15449 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":231
15450 * cdef char *name = NULL
15452 * if self.__exists: # <<<<<<<<<<<<<<
15453 * status_types = []
15454 * iter = account.purple_account_get_status_types(self._get_structure())
15456 __pyx_1 = __Pyx_PyObject_IsTrue(((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__exists); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 231; __pyx_clineno = __LINE__; goto __pyx_L1;}
15459 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":232
15461 * if self.__exists:
15462 * status_types = [] # <<<<<<<<<<<<<<
15463 * iter = account.purple_account_get_status_types(self._get_structure())
15466 __pyx_2 = PyList_New(0); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 232; __pyx_clineno = __LINE__; goto __pyx_L1;}
15467 Py_DECREF(__pyx_v_status_types);
15468 __pyx_v_status_types = ((PyObject *)__pyx_2);
15471 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":233
15472 * if self.__exists:
15473 * status_types = []
15474 * iter = account.purple_account_get_status_types(self._get_structure()) # <<<<<<<<<<<<<<
15476 * c_statustype = <status.PurpleStatusType *> iter.data
15478 __pyx_v_iter = purple_account_get_status_types(((struct __pyx_vtabstruct_6purple_Account *)((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Account *)__pyx_v_self)));
15480 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":234
15481 * status_types = []
15482 * iter = account.purple_account_get_status_types(self._get_structure())
15483 * while iter: # <<<<<<<<<<<<<<
15484 * c_statustype = <status.PurpleStatusType *> iter.data
15485 * id = <char *> status.purple_status_type_get_id(c_statustype)
15488 __pyx_1 = (__pyx_v_iter != 0);
15489 if (!__pyx_1) break;
15491 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":235
15492 * iter = account.purple_account_get_status_types(self._get_structure())
15494 * c_statustype = <status.PurpleStatusType *> iter.data # <<<<<<<<<<<<<<
15495 * id = <char *> status.purple_status_type_get_id(c_statustype)
15496 * name = <char *> status.purple_status_type_get_name(c_statustype)
15498 __pyx_v_c_statustype = ((PurpleStatusType *)__pyx_v_iter->data);
15500 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":236
15502 * c_statustype = <status.PurpleStatusType *> iter.data
15503 * id = <char *> status.purple_status_type_get_id(c_statustype) # <<<<<<<<<<<<<<
15504 * name = <char *> status.purple_status_type_get_name(c_statustype)
15505 * status_types.append((id, name))
15507 __pyx_v_id = ((char *)purple_status_type_get_id(__pyx_v_c_statustype));
15509 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":237
15510 * c_statustype = <status.PurpleStatusType *> iter.data
15511 * id = <char *> status.purple_status_type_get_id(c_statustype)
15512 * name = <char *> status.purple_status_type_get_name(c_statustype) # <<<<<<<<<<<<<<
15513 * status_types.append((id, name))
15516 __pyx_v_name = ((char *)purple_status_type_get_name(__pyx_v_c_statustype));
15518 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":238
15519 * id = <char *> status.purple_status_type_get_id(c_statustype)
15520 * name = <char *> status.purple_status_type_get_name(c_statustype)
15521 * status_types.append((id, name)) # <<<<<<<<<<<<<<
15523 * return status_types
15525 __pyx_2 = __Pyx_PyBytes_FromString(__pyx_v_id); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 238; __pyx_clineno = __LINE__; goto __pyx_L1;}
15526 __pyx_3 = __Pyx_PyBytes_FromString(__pyx_v_name); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 238; __pyx_clineno = __LINE__; goto __pyx_L1;}
15527 __pyx_4 = PyTuple_New(2); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 238; __pyx_clineno = __LINE__; goto __pyx_L1;}
15528 PyTuple_SET_ITEM(__pyx_4, 0, __pyx_2);
15529 PyTuple_SET_ITEM(__pyx_4, 1, __pyx_3);
15532 __pyx_2 = __Pyx_PyObject_Append(__pyx_v_status_types, ((PyObject *)__pyx_4)); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 238; __pyx_clineno = __LINE__; goto __pyx_L1;}
15533 Py_DECREF(((PyObject *)__pyx_4)); __pyx_4 = 0;
15534 Py_DECREF(__pyx_2); __pyx_2 = 0;
15536 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":239
15537 * name = <char *> status.purple_status_type_get_name(c_statustype)
15538 * status_types.append((id, name))
15539 * iter = iter.next # <<<<<<<<<<<<<<
15540 * return status_types
15543 __pyx_v_iter = __pyx_v_iter->next;
15546 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":240
15547 * status_types.append((id, name))
15549 * return status_types # <<<<<<<<<<<<<<
15553 Py_INCREF(__pyx_v_status_types);
15554 __pyx_r = __pyx_v_status_types;
15560 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":242
15561 * return status_types
15563 * return None # <<<<<<<<<<<<<<
15565 * status_types = property(__get_status_types)
15567 Py_INCREF(Py_None);
15573 __pyx_r = Py_None; Py_INCREF(Py_None);
15576 Py_XDECREF(__pyx_2);
15577 Py_XDECREF(__pyx_3);
15578 Py_XDECREF(__pyx_4);
15579 __Pyx_AddTraceback("purple.Account.__get_status_types");
15582 Py_DECREF(__pyx_v_status_types);
15586 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":246
15587 * status_types = property(__get_status_types)
15589 * def __get_active_status(self): # <<<<<<<<<<<<<<
15590 * cdef status.PurpleStatus* c_status = NULL
15591 * cdef char *type = NULL
15594 static char __pyx_k_451[] = "type";
15595 static char __pyx_k_452[] = "name";
15596 static char __pyx_k_453[] = "message";
15598 static PyObject *__pyx_kp_451;
15599 static PyObject *__pyx_kp_452;
15600 static PyObject *__pyx_kp_453;
15603 static char __pyx_k_450[] = "message";
15605 static PyObject *__pyx_pf_6purple_7Account___get_active_status(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
15606 static PyObject *__pyx_pf_6purple_7Account___get_active_status(PyObject *__pyx_v_self, PyObject *unused) {
15607 PurpleStatus *__pyx_v_c_status;
15608 char *__pyx_v_type;
15609 char *__pyx_v_name;
15611 PyObject *__pyx_v_active;
15614 PyObject *__pyx_2 = 0;
15615 __pyx_v_active = Py_None; Py_INCREF(Py_None);
15617 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":247
15619 * def __get_active_status(self):
15620 * cdef status.PurpleStatus* c_status = NULL # <<<<<<<<<<<<<<
15621 * cdef char *type = NULL
15622 * cdef char *name = NULL
15624 __pyx_v_c_status = NULL;
15627 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":248
15628 * def __get_active_status(self):
15629 * cdef status.PurpleStatus* c_status = NULL
15630 * cdef char *type = NULL # <<<<<<<<<<<<<<
15631 * cdef char *name = NULL
15632 * cdef char *msg = NULL
15634 __pyx_v_type = NULL;
15637 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":249
15638 * cdef status.PurpleStatus* c_status = NULL
15639 * cdef char *type = NULL
15640 * cdef char *name = NULL # <<<<<<<<<<<<<<
15641 * cdef char *msg = NULL
15642 * if self.__exists:
15644 __pyx_v_name = NULL;
15647 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":250
15648 * cdef char *type = NULL
15649 * cdef char *name = NULL
15650 * cdef char *msg = NULL # <<<<<<<<<<<<<<
15651 * if self.__exists:
15654 __pyx_v_msg = NULL;
15657 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":251
15658 * cdef char *name = NULL
15659 * cdef char *msg = NULL
15660 * if self.__exists: # <<<<<<<<<<<<<<
15662 * c_status = <status.PurpleStatus*> account.purple_account_get_active_status(self._get_structure())
15664 __pyx_1 = __Pyx_PyObject_IsTrue(((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__exists); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 251; __pyx_clineno = __LINE__; goto __pyx_L1;}
15667 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":252
15668 * cdef char *msg = NULL
15669 * if self.__exists:
15670 * active = {} # <<<<<<<<<<<<<<
15671 * c_status = <status.PurpleStatus*> account.purple_account_get_active_status(self._get_structure())
15672 * type = <char *> status.purple_status_get_id(c_status)
15674 __pyx_2 = PyDict_New(); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 252; __pyx_clineno = __LINE__; goto __pyx_L1;}
15675 Py_DECREF(__pyx_v_active);
15676 __pyx_v_active = ((PyObject *)__pyx_2);
15679 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":253
15680 * if self.__exists:
15682 * c_status = <status.PurpleStatus*> account.purple_account_get_active_status(self._get_structure()) # <<<<<<<<<<<<<<
15683 * type = <char *> status.purple_status_get_id(c_status)
15684 * name = <char *> status.purple_status_get_name(c_status)
15686 __pyx_v_c_status = ((PurpleStatus *)purple_account_get_active_status(((struct __pyx_vtabstruct_6purple_Account *)((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Account *)__pyx_v_self))));
15688 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":254
15690 * c_status = <status.PurpleStatus*> account.purple_account_get_active_status(self._get_structure())
15691 * type = <char *> status.purple_status_get_id(c_status) # <<<<<<<<<<<<<<
15692 * name = <char *> status.purple_status_get_name(c_status)
15693 * msg = <char *> status.purple_status_get_attr_string(c_status,
15695 __pyx_v_type = ((char *)purple_status_get_id(__pyx_v_c_status));
15697 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":255
15698 * c_status = <status.PurpleStatus*> account.purple_account_get_active_status(self._get_structure())
15699 * type = <char *> status.purple_status_get_id(c_status)
15700 * name = <char *> status.purple_status_get_name(c_status) # <<<<<<<<<<<<<<
15701 * msg = <char *> status.purple_status_get_attr_string(c_status,
15704 __pyx_v_name = ((char *)purple_status_get_name(__pyx_v_c_status));
15706 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":257
15707 * name = <char *> status.purple_status_get_name(c_status)
15708 * msg = <char *> status.purple_status_get_attr_string(c_status,
15709 * "message") # <<<<<<<<<<<<<<
15711 * active['type'] = type
15713 __pyx_v_msg = ((char *)purple_status_get_attr_string(__pyx_v_c_status, __pyx_k_450));
15715 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":259
15718 * active['type'] = type # <<<<<<<<<<<<<<
15719 * active['name'] = name
15722 __pyx_2 = __Pyx_PyBytes_FromString(__pyx_v_type); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 259; __pyx_clineno = __LINE__; goto __pyx_L1;}
15723 if (PyObject_SetItem(__pyx_v_active, __pyx_kp_451, __pyx_2) < 0) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 259; __pyx_clineno = __LINE__; goto __pyx_L1;}
15724 Py_DECREF(__pyx_2); __pyx_2 = 0;
15726 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":260
15728 * active['type'] = type
15729 * active['name'] = name # <<<<<<<<<<<<<<
15731 * active['message'] = msg
15733 __pyx_2 = __Pyx_PyBytes_FromString(__pyx_v_name); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 260; __pyx_clineno = __LINE__; goto __pyx_L1;}
15734 if (PyObject_SetItem(__pyx_v_active, __pyx_kp_452, __pyx_2) < 0) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 260; __pyx_clineno = __LINE__; goto __pyx_L1;}
15735 Py_DECREF(__pyx_2); __pyx_2 = 0;
15737 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":261
15738 * active['type'] = type
15739 * active['name'] = name
15740 * if msg: # <<<<<<<<<<<<<<
15741 * active['message'] = msg
15744 __pyx_1 = (__pyx_v_msg != 0);
15747 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":262
15748 * active['name'] = name
15750 * active['message'] = msg # <<<<<<<<<<<<<<
15754 __pyx_2 = __Pyx_PyBytes_FromString(__pyx_v_msg); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 262; __pyx_clineno = __LINE__; goto __pyx_L1;}
15755 if (PyObject_SetItem(__pyx_v_active, __pyx_kp_453, __pyx_2) < 0) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 262; __pyx_clineno = __LINE__; goto __pyx_L1;}
15756 Py_DECREF(__pyx_2); __pyx_2 = 0;
15761 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":264
15762 * active['message'] = msg
15764 * return active # <<<<<<<<<<<<<<
15768 Py_INCREF(__pyx_v_active);
15769 __pyx_r = __pyx_v_active;
15775 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":266
15778 * return None # <<<<<<<<<<<<<<
15779 * active_status = property(__get_active_status)
15782 Py_INCREF(Py_None);
15788 __pyx_r = Py_None; Py_INCREF(Py_None);
15791 Py_XDECREF(__pyx_2);
15792 __Pyx_AddTraceback("purple.Account.__get_active_status");
15795 Py_DECREF(__pyx_v_active);
15799 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":269
15800 * active_status = property(__get_active_status)
15802 * def set_username(self, username): # <<<<<<<<<<<<<<
15804 * Sets the account's username.
15807 static PyObject *__pyx_pf_6purple_7Account_set_username(PyObject *__pyx_v_self, PyObject *__pyx_v_username); /*proto*/
15808 static char __pyx_doc_6purple_7Account_set_username[] = "\n Sets the account\'s username.\n\n @param username The username\n @return True if successful, False if account doesn\'t exists\n ";
15809 static PyObject *__pyx_pf_6purple_7Account_set_username(PyObject *__pyx_v_self, PyObject *__pyx_v_username) {
15814 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":276
15815 * @return True if successful, False if account doesn't exists
15817 * if self.__exists: # <<<<<<<<<<<<<<
15818 * account.purple_account_set_username(self._get_structure(), \
15821 __pyx_1 = __Pyx_PyObject_IsTrue(((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__exists); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 276; __pyx_clineno = __LINE__; goto __pyx_L1;}
15824 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":278
15825 * if self.__exists:
15826 * account.purple_account_set_username(self._get_structure(), \
15827 * username) # <<<<<<<<<<<<<<
15831 __pyx_2 = __Pyx_PyBytes_AsString(__pyx_v_username); if (unlikely((!__pyx_2) && PyErr_Occurred())) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 278; __pyx_clineno = __LINE__; goto __pyx_L1;}
15832 purple_account_set_username(((struct __pyx_vtabstruct_6purple_Account *)((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Account *)__pyx_v_self)), __pyx_2);
15834 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":279
15835 * account.purple_account_set_username(self._get_structure(), \
15837 * return True # <<<<<<<<<<<<<<
15841 Py_INCREF(Py_True);
15848 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":281
15851 * return False # <<<<<<<<<<<<<<
15853 * def set_protocol(self, protocol):
15855 Py_INCREF(Py_False);
15856 __pyx_r = Py_False;
15861 __pyx_r = Py_None; Py_INCREF(Py_None);
15864 __Pyx_AddTraceback("purple.Account.set_username");
15870 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":283
15873 * def set_protocol(self, protocol): # <<<<<<<<<<<<<<
15875 * Sets the account's protocol.
15878 static PyObject *__pyx_pf_6purple_7Account_set_protocol(PyObject *__pyx_v_self, PyObject *__pyx_v_protocol); /*proto*/
15879 static char __pyx_doc_6purple_7Account_set_protocol[] = "\n Sets the account\'s protocol.\n\n @param protocol A Protocol class instance\n @return True if successful, False if account doesn\'t exists\n ";
15880 static PyObject *__pyx_pf_6purple_7Account_set_protocol(PyObject *__pyx_v_self, PyObject *__pyx_v_protocol) {
15882 PyObject *__pyx_1 = 0;
15886 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":290
15887 * @return True if successful, False if account doesn't exists
15889 * if protocol.exists and self.__exists: # <<<<<<<<<<<<<<
15890 * account.purple_account_set_protocol_id(self._get_structure(), \
15893 __pyx_1 = PyObject_GetAttr(__pyx_v_protocol, __pyx_kp_exists); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 290; __pyx_clineno = __LINE__; goto __pyx_L1;}
15894 __pyx_2 = __Pyx_PyObject_IsTrue(__pyx_1); if (unlikely(__pyx_2 < 0)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 290; __pyx_clineno = __LINE__; goto __pyx_L1;}
15896 Py_DECREF(__pyx_1); __pyx_1 = 0;
15897 __pyx_1 = ((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__exists;
15898 Py_INCREF(__pyx_1);
15900 __pyx_2 = __Pyx_PyObject_IsTrue(__pyx_1); if (unlikely(__pyx_2 < 0)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 290; __pyx_clineno = __LINE__; goto __pyx_L1;}
15901 Py_DECREF(__pyx_1); __pyx_1 = 0;
15904 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":292
15905 * if protocol.exists and self.__exists:
15906 * account.purple_account_set_protocol_id(self._get_structure(), \
15907 * protocol.id) # <<<<<<<<<<<<<<
15908 * self.__protocol = protocol
15911 __pyx_1 = PyObject_GetAttr(__pyx_v_protocol, __pyx_kp_id); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 292; __pyx_clineno = __LINE__; goto __pyx_L1;}
15912 __pyx_3 = __Pyx_PyBytes_AsString(__pyx_1); if (unlikely((!__pyx_3) && PyErr_Occurred())) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 292; __pyx_clineno = __LINE__; goto __pyx_L1;}
15913 Py_DECREF(__pyx_1); __pyx_1 = 0;
15914 purple_account_set_protocol_id(((struct __pyx_vtabstruct_6purple_Account *)((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Account *)__pyx_v_self)), __pyx_3);
15916 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":293
15917 * account.purple_account_set_protocol_id(self._get_structure(), \
15919 * self.__protocol = protocol # <<<<<<<<<<<<<<
15923 Py_INCREF(__pyx_v_protocol);
15924 Py_DECREF(((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__protocol);
15925 ((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__protocol = __pyx_v_protocol;
15927 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":294
15929 * self.__protocol = protocol
15930 * return True # <<<<<<<<<<<<<<
15934 Py_INCREF(Py_True);
15941 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":296
15944 * return False # <<<<<<<<<<<<<<
15946 * def set_protocol_options(self, po):
15948 Py_INCREF(Py_False);
15949 __pyx_r = Py_False;
15954 __pyx_r = Py_None; Py_INCREF(Py_None);
15957 Py_XDECREF(__pyx_1);
15958 __Pyx_AddTraceback("purple.Account.set_protocol");
15964 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":298
15967 * def set_protocol_options(self, po): # <<<<<<<<<<<<<<
15969 * @param po Dictionary {'setting': value, ...} options to be updated
15972 static PyObject *__pyx_pf_6purple_7Account_set_protocol_options(PyObject *__pyx_v_self, PyObject *__pyx_v_po); /*proto*/
15973 static char __pyx_doc_6purple_7Account_set_protocol_options[] = "\n @param po Dictionary {\'setting\': value, ...} options to be updated\n @return True to success or False to failure\n ";
15974 static PyObject *__pyx_pf_6purple_7Account_set_protocol_options(PyObject *__pyx_v_self, PyObject *__pyx_v_po) {
15975 GList *__pyx_v_iter;
15976 PurpleAccount *__pyx_v_c_account;
15977 PurplePlugin *__pyx_v_c_plugin;
15978 PurplePluginProtocolInfo *__pyx_v_prpl_info;
15979 PurpleAccountOption *__pyx_v_option;
15980 PurplePrefType __pyx_v_type;
15981 char *__pyx_v_str_value;
15982 char *__pyx_v_setting;
15983 int __pyx_v_int_value;
15984 gboolean __pyx_v_bool_value;
15985 PyObject *__pyx_v_sett;
15988 PyObject *__pyx_2 = 0;
15990 PyObject *__pyx_4 = 0;
15991 PyObject *__pyx_5 = 0;
15995 __pyx_v_sett = Py_None; Py_INCREF(Py_None);
15997 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":314
15998 * cdef glib.gboolean bool_value
16000 * c_account = self._get_structure() # <<<<<<<<<<<<<<
16002 * if c_account == NULL:
16004 __pyx_v_c_account = ((struct __pyx_vtabstruct_6purple_Account *)((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Account *)__pyx_v_self));
16006 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":316
16007 * c_account = self._get_structure()
16009 * if c_account == NULL: # <<<<<<<<<<<<<<
16013 __pyx_1 = (__pyx_v_c_account == NULL);
16016 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":317
16018 * if c_account == NULL:
16019 * return False # <<<<<<<<<<<<<<
16021 * c_plugin = plugin.purple_plugins_find_with_id(self.__protocol.id)
16023 Py_INCREF(Py_False);
16024 __pyx_r = Py_False;
16030 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":319
16033 * c_plugin = plugin.purple_plugins_find_with_id(self.__protocol.id) # <<<<<<<<<<<<<<
16034 * prpl_info = plugin.PURPLE_PLUGIN_PROTOCOL_INFO(c_plugin)
16035 * iter = prpl_info.protocol_options
16037 __pyx_2 = PyObject_GetAttr(((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__protocol, __pyx_kp_id); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 319; __pyx_clineno = __LINE__; goto __pyx_L1;}
16038 __pyx_3 = __Pyx_PyBytes_AsString(__pyx_2); if (unlikely((!__pyx_3) && PyErr_Occurred())) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 319; __pyx_clineno = __LINE__; goto __pyx_L1;}
16039 Py_DECREF(__pyx_2); __pyx_2 = 0;
16040 __pyx_v_c_plugin = purple_plugins_find_with_id(__pyx_3);
16042 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":320
16044 * c_plugin = plugin.purple_plugins_find_with_id(self.__protocol.id)
16045 * prpl_info = plugin.PURPLE_PLUGIN_PROTOCOL_INFO(c_plugin) # <<<<<<<<<<<<<<
16046 * iter = prpl_info.protocol_options
16049 __pyx_v_prpl_info = PURPLE_PLUGIN_PROTOCOL_INFO(__pyx_v_c_plugin);
16051 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":321
16052 * c_plugin = plugin.purple_plugins_find_with_id(self.__protocol.id)
16053 * prpl_info = plugin.PURPLE_PLUGIN_PROTOCOL_INFO(c_plugin)
16054 * iter = prpl_info.protocol_options # <<<<<<<<<<<<<<
16058 __pyx_v_iter = __pyx_v_prpl_info->protocol_options;
16060 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":323
16061 * iter = prpl_info.protocol_options
16063 * while iter: # <<<<<<<<<<<<<<
16065 * option = <accountopt.PurpleAccountOption *> iter.data
16068 __pyx_1 = (__pyx_v_iter != 0);
16069 if (!__pyx_1) break;
16071 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":325
16074 * option = <accountopt.PurpleAccountOption *> iter.data # <<<<<<<<<<<<<<
16075 * type = accountopt.purple_account_option_get_type(option)
16076 * setting = <char *> accountopt.purple_account_option_get_setting(option)
16078 __pyx_v_option = ((PurpleAccountOption *)__pyx_v_iter->data);
16080 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":326
16082 * option = <accountopt.PurpleAccountOption *> iter.data
16083 * type = accountopt.purple_account_option_get_type(option) # <<<<<<<<<<<<<<
16084 * setting = <char *> accountopt.purple_account_option_get_setting(option)
16087 __pyx_v_type = purple_account_option_get_type(__pyx_v_option);
16089 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":327
16090 * option = <accountopt.PurpleAccountOption *> iter.data
16091 * type = accountopt.purple_account_option_get_type(option)
16092 * setting = <char *> accountopt.purple_account_option_get_setting(option) # <<<<<<<<<<<<<<
16094 * sett = str(<char *> setting)
16096 __pyx_v_setting = ((char *)purple_account_option_get_setting(__pyx_v_option));
16098 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":329
16099 * setting = <char *> accountopt.purple_account_option_get_setting(option)
16101 * sett = str(<char *> setting) # <<<<<<<<<<<<<<
16103 * if not po.has_key(sett):
16105 __pyx_2 = __Pyx_PyBytes_FromString(((char *)__pyx_v_setting)); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 329; __pyx_clineno = __LINE__; goto __pyx_L1;}
16106 __pyx_4 = PyTuple_New(1); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 329; __pyx_clineno = __LINE__; goto __pyx_L1;}
16107 PyTuple_SET_ITEM(__pyx_4, 0, __pyx_2);
16109 __pyx_2 = PyObject_Call(((PyObject*)&PyBytes_Type), ((PyObject *)__pyx_4), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 329; __pyx_clineno = __LINE__; goto __pyx_L1;}
16110 Py_DECREF(((PyObject *)__pyx_4)); __pyx_4 = 0;
16111 Py_DECREF(__pyx_v_sett);
16112 __pyx_v_sett = __pyx_2;
16115 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":331
16116 * sett = str(<char *> setting)
16118 * if not po.has_key(sett): # <<<<<<<<<<<<<<
16122 __pyx_4 = PyObject_GetAttr(__pyx_v_po, __pyx_kp_has_key); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 331; __pyx_clineno = __LINE__; goto __pyx_L1;}
16123 __pyx_2 = PyTuple_New(1); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 331; __pyx_clineno = __LINE__; goto __pyx_L1;}
16124 Py_INCREF(__pyx_v_sett);
16125 PyTuple_SET_ITEM(__pyx_2, 0, __pyx_v_sett);
16126 __pyx_5 = PyObject_Call(__pyx_4, ((PyObject *)__pyx_2), NULL); if (unlikely(!__pyx_5)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 331; __pyx_clineno = __LINE__; goto __pyx_L1;}
16127 Py_DECREF(__pyx_4); __pyx_4 = 0;
16128 Py_DECREF(((PyObject *)__pyx_2)); __pyx_2 = 0;
16129 __pyx_1 = __Pyx_PyObject_IsTrue(__pyx_5); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 331; __pyx_clineno = __LINE__; goto __pyx_L1;}
16130 Py_DECREF(__pyx_5); __pyx_5 = 0;
16131 __pyx_6 = (!__pyx_1);
16134 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":332
16136 * if not po.has_key(sett):
16137 * iter = iter.next # <<<<<<<<<<<<<<
16141 __pyx_v_iter = __pyx_v_iter->next;
16143 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":333
16144 * if not po.has_key(sett):
16146 * continue # <<<<<<<<<<<<<<
16148 * if type == prefs.PURPLE_PREF_STRING:
16155 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":335
16158 * if type == prefs.PURPLE_PREF_STRING: # <<<<<<<<<<<<<<
16160 * str_value = <char *> po[sett]
16162 __pyx_1 = (__pyx_v_type == PURPLE_PREF_STRING);
16165 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":337
16166 * if type == prefs.PURPLE_PREF_STRING:
16168 * str_value = <char *> po[sett] # <<<<<<<<<<<<<<
16169 * account.purple_account_set_string(c_account, setting, str_value)
16172 __pyx_4 = PyObject_GetItem(__pyx_v_po, __pyx_v_sett); if (!__pyx_4) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 337; __pyx_clineno = __LINE__; goto __pyx_L1;}
16173 __pyx_3 = __Pyx_PyBytes_AsString(__pyx_4); if (unlikely((!__pyx_3) && PyErr_Occurred())) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 337; __pyx_clineno = __LINE__; goto __pyx_L1;}
16174 Py_DECREF(__pyx_4); __pyx_4 = 0;
16175 __pyx_v_str_value = ((char *)__pyx_3);
16177 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":338
16179 * str_value = <char *> po[sett]
16180 * account.purple_account_set_string(c_account, setting, str_value) # <<<<<<<<<<<<<<
16182 * elif type == prefs.PURPLE_PREF_INT:
16184 purple_account_set_string(__pyx_v_c_account, __pyx_v_setting, __pyx_v_str_value);
16188 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":340
16189 * account.purple_account_set_string(c_account, setting, str_value)
16191 * elif type == prefs.PURPLE_PREF_INT: # <<<<<<<<<<<<<<
16193 * int_value = int(po[sett])
16195 __pyx_6 = (__pyx_v_type == PURPLE_PREF_INT);
16198 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":342
16199 * elif type == prefs.PURPLE_PREF_INT:
16201 * int_value = int(po[sett]) # <<<<<<<<<<<<<<
16202 * account.purple_account_set_int(c_account, setting, int_value)
16205 __pyx_2 = PyObject_GetItem(__pyx_v_po, __pyx_v_sett); if (!__pyx_2) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 342; __pyx_clineno = __LINE__; goto __pyx_L1;}
16206 __pyx_5 = PyTuple_New(1); if (unlikely(!__pyx_5)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 342; __pyx_clineno = __LINE__; goto __pyx_L1;}
16207 PyTuple_SET_ITEM(__pyx_5, 0, __pyx_2);
16209 __pyx_4 = PyObject_Call(((PyObject*)&PyInt_Type), ((PyObject *)__pyx_5), NULL); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 342; __pyx_clineno = __LINE__; goto __pyx_L1;}
16210 Py_DECREF(((PyObject *)__pyx_5)); __pyx_5 = 0;
16211 __pyx_7 = __pyx_PyInt_int(__pyx_4); if (unlikely((__pyx_7 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 342; __pyx_clineno = __LINE__; goto __pyx_L1;}
16212 Py_DECREF(__pyx_4); __pyx_4 = 0;
16213 __pyx_v_int_value = __pyx_7;
16215 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":343
16217 * int_value = int(po[sett])
16218 * account.purple_account_set_int(c_account, setting, int_value) # <<<<<<<<<<<<<<
16220 * elif type == prefs.PURPLE_PREF_BOOLEAN:
16222 purple_account_set_int(__pyx_v_c_account, __pyx_v_setting, __pyx_v_int_value);
16226 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":345
16227 * account.purple_account_set_int(c_account, setting, int_value)
16229 * elif type == prefs.PURPLE_PREF_BOOLEAN: # <<<<<<<<<<<<<<
16231 * bool_value = bool(po[sett])
16233 __pyx_1 = (__pyx_v_type == PURPLE_PREF_BOOLEAN);
16236 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":347
16237 * elif type == prefs.PURPLE_PREF_BOOLEAN:
16239 * bool_value = bool(po[sett]) # <<<<<<<<<<<<<<
16240 * account.purple_account_set_bool(c_account, setting, bool_value)
16243 __pyx_2 = PyObject_GetItem(__pyx_v_po, __pyx_v_sett); if (!__pyx_2) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 347; __pyx_clineno = __LINE__; goto __pyx_L1;}
16244 __pyx_5 = PyTuple_New(1); if (unlikely(!__pyx_5)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 347; __pyx_clineno = __LINE__; goto __pyx_L1;}
16245 PyTuple_SET_ITEM(__pyx_5, 0, __pyx_2);
16247 __pyx_4 = PyObject_Call(__pyx_builtin_bool, ((PyObject *)__pyx_5), NULL); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 347; __pyx_clineno = __LINE__; goto __pyx_L1;}
16248 Py_DECREF(((PyObject *)__pyx_5)); __pyx_5 = 0;
16249 __pyx_8 = __pyx_PyInt_int(__pyx_4); if (unlikely((__pyx_8 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 347; __pyx_clineno = __LINE__; goto __pyx_L1;}
16250 Py_DECREF(__pyx_4); __pyx_4 = 0;
16251 __pyx_v_bool_value = __pyx_8;
16253 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":348
16255 * bool_value = bool(po[sett])
16256 * account.purple_account_set_bool(c_account, setting, bool_value) # <<<<<<<<<<<<<<
16258 * elif type == prefs.PURPLE_PREF_STRING_LIST:
16260 purple_account_set_bool(__pyx_v_c_account, __pyx_v_setting, __pyx_v_bool_value);
16264 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":350
16265 * account.purple_account_set_bool(c_account, setting, bool_value)
16267 * elif type == prefs.PURPLE_PREF_STRING_LIST: # <<<<<<<<<<<<<<
16269 * str_value = <char *> po[sett]
16271 __pyx_6 = (__pyx_v_type == PURPLE_PREF_STRING_LIST);
16274 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":352
16275 * elif type == prefs.PURPLE_PREF_STRING_LIST:
16277 * str_value = <char *> po[sett] # <<<<<<<<<<<<<<
16278 * account.purple_account_set_string(c_account, setting, str_value)
16281 __pyx_2 = PyObject_GetItem(__pyx_v_po, __pyx_v_sett); if (!__pyx_2) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 352; __pyx_clineno = __LINE__; goto __pyx_L1;}
16282 __pyx_3 = __Pyx_PyBytes_AsString(__pyx_2); if (unlikely((!__pyx_3) && PyErr_Occurred())) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 352; __pyx_clineno = __LINE__; goto __pyx_L1;}
16283 Py_DECREF(__pyx_2); __pyx_2 = 0;
16284 __pyx_v_str_value = ((char *)__pyx_3);
16286 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":353
16288 * str_value = <char *> po[sett]
16289 * account.purple_account_set_string(c_account, setting, str_value) # <<<<<<<<<<<<<<
16293 purple_account_set_string(__pyx_v_c_account, __pyx_v_setting, __pyx_v_str_value);
16298 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":355
16299 * account.purple_account_set_string(c_account, setting, str_value)
16301 * iter = iter.next # <<<<<<<<<<<<<<
16305 __pyx_v_iter = __pyx_v_iter->next;
16309 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":357
16312 * return True # <<<<<<<<<<<<<<
16314 * def set_password(self, password):
16316 Py_INCREF(Py_True);
16320 __pyx_r = Py_None; Py_INCREF(Py_None);
16323 Py_XDECREF(__pyx_2);
16324 Py_XDECREF(__pyx_4);
16325 Py_XDECREF(__pyx_5);
16326 __Pyx_AddTraceback("purple.Account.set_protocol_options");
16329 Py_DECREF(__pyx_v_sett);
16333 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":359
16336 * def set_password(self, password): # <<<<<<<<<<<<<<
16338 * Sets the account's password.
16341 static PyObject *__pyx_pf_6purple_7Account_set_password(PyObject *__pyx_v_self, PyObject *__pyx_v_password); /*proto*/
16342 static char __pyx_doc_6purple_7Account_set_password[] = "\n Sets the account\'s password.\n\n @param password The password\n @return True if successful, False if account doesn\'t exists\n ";
16343 static PyObject *__pyx_pf_6purple_7Account_set_password(PyObject *__pyx_v_self, PyObject *__pyx_v_password) {
16348 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":366
16349 * @return True if successful, False if account doesn't exists
16351 * if self.__exists: # <<<<<<<<<<<<<<
16352 * account.purple_account_set_password(self._get_structure(), \
16355 __pyx_1 = __Pyx_PyObject_IsTrue(((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__exists); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 366; __pyx_clineno = __LINE__; goto __pyx_L1;}
16358 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":368
16359 * if self.__exists:
16360 * account.purple_account_set_password(self._get_structure(), \
16361 * password) # <<<<<<<<<<<<<<
16365 __pyx_2 = __Pyx_PyBytes_AsString(__pyx_v_password); if (unlikely((!__pyx_2) && PyErr_Occurred())) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 368; __pyx_clineno = __LINE__; goto __pyx_L1;}
16366 purple_account_set_password(((struct __pyx_vtabstruct_6purple_Account *)((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Account *)__pyx_v_self)), __pyx_2);
16368 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":369
16369 * account.purple_account_set_password(self._get_structure(), \
16371 * return True # <<<<<<<<<<<<<<
16375 Py_INCREF(Py_True);
16382 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":371
16385 * return False # <<<<<<<<<<<<<<
16387 * def set_alias(self, alias):
16389 Py_INCREF(Py_False);
16390 __pyx_r = Py_False;
16395 __pyx_r = Py_None; Py_INCREF(Py_None);
16398 __Pyx_AddTraceback("purple.Account.set_password");
16404 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":373
16407 * def set_alias(self, alias): # <<<<<<<<<<<<<<
16409 * Sets the account's alias
16412 static PyObject *__pyx_pf_6purple_7Account_set_alias(PyObject *__pyx_v_self, PyObject *__pyx_v_alias); /*proto*/
16413 static char __pyx_doc_6purple_7Account_set_alias[] = "\n Sets the account\'s alias\n\n @param alias The alias\n @return True if successful, False if account doesn\'t exists\n ";
16414 static PyObject *__pyx_pf_6purple_7Account_set_alias(PyObject *__pyx_v_self, PyObject *__pyx_v_alias) {
16419 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":380
16420 * @return True if successful, False if account doesn't exists
16422 * if self.__exists: # <<<<<<<<<<<<<<
16423 * account.purple_account_set_alias(self._get_structure(), \
16426 __pyx_1 = __Pyx_PyObject_IsTrue(((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__exists); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 380; __pyx_clineno = __LINE__; goto __pyx_L1;}
16429 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":382
16430 * if self.__exists:
16431 * account.purple_account_set_alias(self._get_structure(), \
16432 * alias) # <<<<<<<<<<<<<<
16436 __pyx_2 = __Pyx_PyBytes_AsString(__pyx_v_alias); if (unlikely((!__pyx_2) && PyErr_Occurred())) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 382; __pyx_clineno = __LINE__; goto __pyx_L1;}
16437 purple_account_set_alias(((struct __pyx_vtabstruct_6purple_Account *)((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Account *)__pyx_v_self)), __pyx_2);
16439 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":383
16440 * account.purple_account_set_alias(self._get_structure(), \
16442 * return True # <<<<<<<<<<<<<<
16446 Py_INCREF(Py_True);
16453 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":385
16456 * return False # <<<<<<<<<<<<<<
16458 * def set_user_info(self, user_info):
16460 Py_INCREF(Py_False);
16461 __pyx_r = Py_False;
16466 __pyx_r = Py_None; Py_INCREF(Py_None);
16469 __Pyx_AddTraceback("purple.Account.set_alias");
16475 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":387
16478 * def set_user_info(self, user_info): # <<<<<<<<<<<<<<
16480 * Sets the account's user information
16483 static PyObject *__pyx_pf_6purple_7Account_set_user_info(PyObject *__pyx_v_self, PyObject *__pyx_v_user_info); /*proto*/
16484 static char __pyx_doc_6purple_7Account_set_user_info[] = "\n Sets the account\'s user information\n\n @param user_info The user information\n @return True if successful, False if account doesn\'t exists\n ";
16485 static PyObject *__pyx_pf_6purple_7Account_set_user_info(PyObject *__pyx_v_self, PyObject *__pyx_v_user_info) {
16490 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":394
16491 * @return True if successful, False if account doesn't exists
16493 * if self.__exists: # <<<<<<<<<<<<<<
16494 * account.purple_account_set_user_info(self._get_structure(), \
16497 __pyx_1 = __Pyx_PyObject_IsTrue(((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__exists); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 394; __pyx_clineno = __LINE__; goto __pyx_L1;}
16500 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":396
16501 * if self.__exists:
16502 * account.purple_account_set_user_info(self._get_structure(), \
16503 * user_info) # <<<<<<<<<<<<<<
16507 __pyx_2 = __Pyx_PyBytes_AsString(__pyx_v_user_info); if (unlikely((!__pyx_2) && PyErr_Occurred())) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 396; __pyx_clineno = __LINE__; goto __pyx_L1;}
16508 purple_account_set_user_info(((struct __pyx_vtabstruct_6purple_Account *)((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Account *)__pyx_v_self)), __pyx_2);
16510 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":397
16511 * account.purple_account_set_user_info(self._get_structure(), \
16513 * return True # <<<<<<<<<<<<<<
16517 Py_INCREF(Py_True);
16524 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":399
16527 * return False # <<<<<<<<<<<<<<
16529 * def set_remember_password(self, remember_password):
16531 Py_INCREF(Py_False);
16532 __pyx_r = Py_False;
16537 __pyx_r = Py_None; Py_INCREF(Py_None);
16540 __Pyx_AddTraceback("purple.Account.set_user_info");
16546 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":401
16549 * def set_remember_password(self, remember_password): # <<<<<<<<<<<<<<
16551 * Sets whether or not this account should save its password.
16554 static PyObject *__pyx_pf_6purple_7Account_set_remember_password(PyObject *__pyx_v_self, PyObject *__pyx_v_remember_password); /*proto*/
16555 static char __pyx_doc_6purple_7Account_set_remember_password[] = "\n Sets whether or not this account should save its password.\n\n @param remember_password True if should remember the password,\n or False otherwise\n @return True if successful, False if account doesn\'t exists\n ";
16556 static PyObject *__pyx_pf_6purple_7Account_set_remember_password(PyObject *__pyx_v_self, PyObject *__pyx_v_remember_password) {
16561 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":409
16562 * @return True if successful, False if account doesn't exists
16564 * if self.__exists: # <<<<<<<<<<<<<<
16565 * account.purple_account_set_remember_password( \
16566 * self._get_structure(), remember_password)
16568 __pyx_1 = __Pyx_PyObject_IsTrue(((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__exists); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 409; __pyx_clineno = __LINE__; goto __pyx_L1;}
16571 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":411
16572 * if self.__exists:
16573 * account.purple_account_set_remember_password( \
16574 * self._get_structure(), remember_password) # <<<<<<<<<<<<<<
16578 __pyx_2 = __pyx_PyInt_int(__pyx_v_remember_password); if (unlikely((__pyx_2 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 411; __pyx_clineno = __LINE__; goto __pyx_L1;}
16579 purple_account_set_remember_password(((struct __pyx_vtabstruct_6purple_Account *)((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Account *)__pyx_v_self)), __pyx_2);
16581 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":412
16582 * account.purple_account_set_remember_password( \
16583 * self._get_structure(), remember_password)
16584 * return True # <<<<<<<<<<<<<<
16588 Py_INCREF(Py_True);
16595 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":414
16598 * return False # <<<<<<<<<<<<<<
16600 * def set_enabled(self, value):
16602 Py_INCREF(Py_False);
16603 __pyx_r = Py_False;
16608 __pyx_r = Py_None; Py_INCREF(Py_None);
16611 __Pyx_AddTraceback("purple.Account.set_remember_password");
16617 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":416
16620 * def set_enabled(self, value): # <<<<<<<<<<<<<<
16622 * Sets wheter or not this account is enabled.
16625 static PyObject *__pyx_pf_6purple_7Account_set_enabled(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
16626 static char __pyx_doc_6purple_7Account_set_enabled[] = "\n Sets wheter or not this account is enabled.\n\n @param value True if it is enabled, or False otherwise\n @return True if successful, False if account doesn\'t exists\n ";
16627 static PyObject *__pyx_pf_6purple_7Account_set_enabled(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
16630 PyObject *__pyx_2 = 0;
16632 PyObject *__pyx_4 = 0;
16635 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":423
16636 * @return True if successful, False if account doesn't exists
16638 * if self.__exists: # <<<<<<<<<<<<<<
16639 * account.purple_account_set_enabled(self._get_structure(), \
16640 * self.__core.ui_name, bool(value))
16642 __pyx_1 = __Pyx_PyObject_IsTrue(((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__exists); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 423; __pyx_clineno = __LINE__; goto __pyx_L1;}
16645 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":425
16646 * if self.__exists:
16647 * account.purple_account_set_enabled(self._get_structure(), \
16648 * self.__core.ui_name, bool(value)) # <<<<<<<<<<<<<<
16652 __pyx_2 = PyObject_GetAttr(((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__core, __pyx_kp_ui_name); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 425; __pyx_clineno = __LINE__; goto __pyx_L1;}
16653 __pyx_3 = __Pyx_PyBytes_AsString(__pyx_2); if (unlikely((!__pyx_3) && PyErr_Occurred())) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 425; __pyx_clineno = __LINE__; goto __pyx_L1;}
16654 Py_DECREF(__pyx_2); __pyx_2 = 0;
16655 __pyx_2 = PyTuple_New(1); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 425; __pyx_clineno = __LINE__; goto __pyx_L1;}
16656 Py_INCREF(__pyx_v_value);
16657 PyTuple_SET_ITEM(__pyx_2, 0, __pyx_v_value);
16658 __pyx_4 = PyObject_Call(__pyx_builtin_bool, ((PyObject *)__pyx_2), NULL); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 425; __pyx_clineno = __LINE__; goto __pyx_L1;}
16659 Py_DECREF(((PyObject *)__pyx_2)); __pyx_2 = 0;
16660 __pyx_5 = __pyx_PyInt_int(__pyx_4); if (unlikely((__pyx_5 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 425; __pyx_clineno = __LINE__; goto __pyx_L1;}
16661 Py_DECREF(__pyx_4); __pyx_4 = 0;
16662 purple_account_set_enabled(((struct __pyx_vtabstruct_6purple_Account *)((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Account *)__pyx_v_self)), __pyx_3, __pyx_5);
16664 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":426
16665 * account.purple_account_set_enabled(self._get_structure(), \
16666 * self.__core.ui_name, bool(value))
16667 * return True # <<<<<<<<<<<<<<
16671 Py_INCREF(Py_True);
16678 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":428
16681 * return False # <<<<<<<<<<<<<<
16685 Py_INCREF(Py_False);
16686 __pyx_r = Py_False;
16691 __pyx_r = Py_None; Py_INCREF(Py_None);
16694 Py_XDECREF(__pyx_2);
16695 Py_XDECREF(__pyx_4);
16696 __Pyx_AddTraceback("purple.Account.set_enabled");
16702 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":430
16705 * def new(self): # <<<<<<<<<<<<<<
16707 * Creates a new account.
16710 static PyObject *__pyx_pf_6purple_7Account_new(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
16711 static char __pyx_doc_6purple_7Account_new[] = "\n Creates a new account.\n\n @return True if successful, False if account already exists\n ";
16712 static PyObject *__pyx_pf_6purple_7Account_new(PyObject *__pyx_v_self, PyObject *unused) {
16716 PyObject *__pyx_3 = 0;
16719 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":436
16720 * @return True if successful, False if account already exists
16722 * if self.__exists: # <<<<<<<<<<<<<<
16726 __pyx_1 = __Pyx_PyObject_IsTrue(((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__exists); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 436; __pyx_clineno = __LINE__; goto __pyx_L1;}
16729 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":437
16731 * if self.__exists:
16732 * return False # <<<<<<<<<<<<<<
16734 * account.purple_accounts_add(account.purple_account_new( \
16736 Py_INCREF(Py_False);
16737 __pyx_r = Py_False;
16743 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":440
16745 * account.purple_accounts_add(account.purple_account_new( \
16746 * self.__username, self.__protocol.id)) # <<<<<<<<<<<<<<
16748 * self.__exists = True
16750 __pyx_2 = __Pyx_PyBytes_AsString(((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__username); if (unlikely((!__pyx_2) && PyErr_Occurred())) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 440; __pyx_clineno = __LINE__; goto __pyx_L1;}
16751 __pyx_3 = PyObject_GetAttr(((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__protocol, __pyx_kp_id); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 440; __pyx_clineno = __LINE__; goto __pyx_L1;}
16752 __pyx_4 = __Pyx_PyBytes_AsString(__pyx_3); if (unlikely((!__pyx_4) && PyErr_Occurred())) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 440; __pyx_clineno = __LINE__; goto __pyx_L1;}
16753 Py_DECREF(__pyx_3); __pyx_3 = 0;
16754 purple_accounts_add(purple_account_new(__pyx_2, __pyx_4));
16756 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":442
16757 * self.__username, self.__protocol.id))
16759 * self.__exists = True # <<<<<<<<<<<<<<
16763 Py_INCREF(Py_True);
16764 Py_DECREF(((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__exists);
16765 ((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__exists = Py_True;
16767 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":443
16769 * self.__exists = True
16770 * return True # <<<<<<<<<<<<<<
16772 * def remove(self):
16774 Py_INCREF(Py_True);
16780 __pyx_r = Py_None; Py_INCREF(Py_None);
16783 Py_XDECREF(__pyx_3);
16784 __Pyx_AddTraceback("purple.Account.new");
16790 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":445
16793 * def remove(self): # <<<<<<<<<<<<<<
16795 * Removes an existing account.
16798 static PyObject *__pyx_pf_6purple_7Account_remove(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
16799 static char __pyx_doc_6purple_7Account_remove[] = "\n Removes an existing account.\n\n @return True if successful, False if account doesn\'t exists\n ";
16800 static PyObject *__pyx_pf_6purple_7Account_remove(PyObject *__pyx_v_self, PyObject *unused) {
16801 PyObject *__pyx_v_self__exists;
16804 __pyx_v_self__exists = Py_None; Py_INCREF(Py_None);
16806 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":451
16807 * @return True if successful, False if account doesn't exists
16809 * if self.__exists: # <<<<<<<<<<<<<<
16810 * account.purple_accounts_delete(self._get_structure())
16811 * self__exists = False
16813 __pyx_1 = __Pyx_PyObject_IsTrue(((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__exists); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 451; __pyx_clineno = __LINE__; goto __pyx_L1;}
16816 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":452
16818 * if self.__exists:
16819 * account.purple_accounts_delete(self._get_structure()) # <<<<<<<<<<<<<<
16820 * self__exists = False
16823 purple_accounts_delete(((struct __pyx_vtabstruct_6purple_Account *)((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Account *)__pyx_v_self)));
16825 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":453
16826 * if self.__exists:
16827 * account.purple_accounts_delete(self._get_structure())
16828 * self__exists = False # <<<<<<<<<<<<<<
16832 Py_INCREF(Py_False);
16833 Py_DECREF(__pyx_v_self__exists);
16834 __pyx_v_self__exists = Py_False;
16836 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":454
16837 * account.purple_accounts_delete(self._get_structure())
16838 * self__exists = False
16839 * return True # <<<<<<<<<<<<<<
16843 Py_INCREF(Py_True);
16850 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":456
16853 * return False # <<<<<<<<<<<<<<
16855 * def connect(self):
16857 Py_INCREF(Py_False);
16858 __pyx_r = Py_False;
16863 __pyx_r = Py_None; Py_INCREF(Py_None);
16866 __Pyx_AddTraceback("purple.Account.remove");
16869 Py_DECREF(__pyx_v_self__exists);
16873 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":458
16876 * def connect(self): # <<<<<<<<<<<<<<
16878 * Connects to an account.
16881 static PyObject *__pyx_pf_6purple_7Account_connect(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
16882 static char __pyx_doc_6purple_7Account_connect[] = "\n Connects to an account.\n\n @return True if successful, False if account doesn\'t exists\n ";
16883 static PyObject *__pyx_pf_6purple_7Account_connect(PyObject *__pyx_v_self, PyObject *unused) {
16887 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":464
16888 * @return True if successful, False if account doesn't exists
16890 * if self.__exists: # <<<<<<<<<<<<<<
16891 * account.purple_account_connect(self._get_structure())
16894 __pyx_1 = __Pyx_PyObject_IsTrue(((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__exists); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 464; __pyx_clineno = __LINE__; goto __pyx_L1;}
16897 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":465
16899 * if self.__exists:
16900 * account.purple_account_connect(self._get_structure()) # <<<<<<<<<<<<<<
16904 purple_account_connect(((struct __pyx_vtabstruct_6purple_Account *)((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Account *)__pyx_v_self)));
16906 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":466
16907 * if self.__exists:
16908 * account.purple_account_connect(self._get_structure())
16909 * return True # <<<<<<<<<<<<<<
16913 Py_INCREF(Py_True);
16920 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":468
16923 * return False # <<<<<<<<<<<<<<
16925 * def disconnect(self):
16927 Py_INCREF(Py_False);
16928 __pyx_r = Py_False;
16933 __pyx_r = Py_None; Py_INCREF(Py_None);
16936 __Pyx_AddTraceback("purple.Account.connect");
16942 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":470
16945 * def disconnect(self): # <<<<<<<<<<<<<<
16947 * Disconnects from an account.
16950 static PyObject *__pyx_pf_6purple_7Account_disconnect(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
16951 static char __pyx_doc_6purple_7Account_disconnect[] = "\n Disconnects from an account.\n\n @return True if successful, False if account doesn\'t exists\n ";
16952 static PyObject *__pyx_pf_6purple_7Account_disconnect(PyObject *__pyx_v_self, PyObject *unused) {
16956 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":476
16957 * @return True if successful, False if account doesn't exists
16959 * if self.__exists: # <<<<<<<<<<<<<<
16960 * account.purple_account_disconnect(self._get_structure())
16963 __pyx_1 = __Pyx_PyObject_IsTrue(((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__exists); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 476; __pyx_clineno = __LINE__; goto __pyx_L1;}
16966 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":477
16968 * if self.__exists:
16969 * account.purple_account_disconnect(self._get_structure()) # <<<<<<<<<<<<<<
16973 purple_account_disconnect(((struct __pyx_vtabstruct_6purple_Account *)((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Account *)__pyx_v_self)));
16975 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":478
16976 * if self.__exists:
16977 * account.purple_account_disconnect(self._get_structure())
16978 * return True # <<<<<<<<<<<<<<
16982 Py_INCREF(Py_True);
16989 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":480
16992 * return False # <<<<<<<<<<<<<<
16994 * def add_buddy(self, name, alias=None, group=None):
16996 Py_INCREF(Py_False);
16997 __pyx_r = Py_False;
17002 __pyx_r = Py_None; Py_INCREF(Py_None);
17005 __Pyx_AddTraceback("purple.Account.disconnect");
17011 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":482
17014 * def add_buddy(self, name, alias=None, group=None): # <<<<<<<<<<<<<<
17016 * Adds a buddy to account's buddy list.
17019 static PyObject *__pyx_pf_6purple_7Account_add_buddy(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
17020 static char __pyx_doc_6purple_7Account_add_buddy[] = "\n Adds a buddy to account\'s buddy list.\n\n @param name Buddy name\n @param alias Buddy alias (optional)\n @return True if successfull, False otherwise\n ";
17021 static PyObject *__pyx_pf_6purple_7Account_add_buddy(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
17022 PyObject *__pyx_v_name = 0;
17023 PyObject *__pyx_v_alias = 0;
17024 PyObject *__pyx_v_group = 0;
17025 PurpleBuddy *__pyx_v_c_buddy;
17026 PurpleGroup *__pyx_v_c_group;
17027 char *__pyx_v_c_alias;
17031 PyObject *__pyx_3 = 0;
17032 static char *__pyx_argnames[] = {"name","alias","group",0};
17033 __pyx_v_alias = Py_None;
17034 __pyx_v_group = Py_None;
17035 if (likely(!__pyx_kwds) && likely(1 <= PyTuple_GET_SIZE(__pyx_args)) && likely(PyTuple_GET_SIZE(__pyx_args) <= 3)) {
17036 __pyx_v_name = PyTuple_GET_ITEM(__pyx_args, 0);
17037 if (PyTuple_GET_SIZE(__pyx_args) > 1) {
17038 __pyx_v_alias = PyTuple_GET_ITEM(__pyx_args, 1);
17039 if (PyTuple_GET_SIZE(__pyx_args) > 2) {
17040 __pyx_v_group = PyTuple_GET_ITEM(__pyx_args, 2);
17045 if (unlikely(!PyArg_ParseTupleAndKeywords(__pyx_args, __pyx_kwds, "O|OO", __pyx_argnames, &__pyx_v_name, &__pyx_v_alias, &__pyx_v_group))) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 482; __pyx_clineno = __LINE__; goto __pyx_L2;}
17049 __Pyx_AddTraceback("purple.Account.add_buddy");
17053 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":490
17054 * @return True if successfull, False otherwise
17056 * cdef blist.PurpleBuddy *c_buddy = NULL # <<<<<<<<<<<<<<
17057 * cdef blist.PurpleGroup *c_group = NULL
17058 * cdef char *c_alias = NULL
17060 __pyx_v_c_buddy = NULL;
17063 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":491
17065 * cdef blist.PurpleBuddy *c_buddy = NULL
17066 * cdef blist.PurpleGroup *c_group = NULL # <<<<<<<<<<<<<<
17067 * cdef char *c_alias = NULL
17070 __pyx_v_c_group = NULL;
17073 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":492
17074 * cdef blist.PurpleBuddy *c_buddy = NULL
17075 * cdef blist.PurpleGroup *c_group = NULL
17076 * cdef char *c_alias = NULL # <<<<<<<<<<<<<<
17080 __pyx_v_c_alias = NULL;
17083 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":494
17084 * cdef char *c_alias = NULL
17086 * if alias: # <<<<<<<<<<<<<<
17090 __pyx_1 = __Pyx_PyObject_IsTrue(__pyx_v_alias); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 494; __pyx_clineno = __LINE__; goto __pyx_L1;}
17093 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":495
17096 * c_alias = alias # <<<<<<<<<<<<<<
17100 __pyx_2 = __Pyx_PyBytes_AsString(__pyx_v_alias); if (unlikely((!__pyx_2) && PyErr_Occurred())) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 495; __pyx_clineno = __LINE__; goto __pyx_L1;}
17101 __pyx_v_c_alias = __pyx_2;
17106 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":497
17109 * c_alias = NULL # <<<<<<<<<<<<<<
17111 * if self.__exists and \
17113 __pyx_v_c_alias = NULL;
17117 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":499
17120 * if self.__exists and \ # <<<<<<<<<<<<<<
17121 * account.purple_account_is_connected(self._get_structure()):
17122 * if blist.purple_find_buddy(self._get_structure(), name):
17124 __pyx_3 = ((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__exists;
17125 Py_INCREF(__pyx_3);
17126 __pyx_1 = __Pyx_PyObject_IsTrue(__pyx_3); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 499; __pyx_clineno = __LINE__; goto __pyx_L1;}
17128 Py_DECREF(__pyx_3); __pyx_3 = 0;
17130 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":500
17132 * if self.__exists and \
17133 * account.purple_account_is_connected(self._get_structure()): # <<<<<<<<<<<<<<
17134 * if blist.purple_find_buddy(self._get_structure(), name):
17137 __pyx_3 = PyInt_FromLong(purple_account_is_connected(((struct __pyx_vtabstruct_6purple_Account *)((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Account *)__pyx_v_self)))); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 500; __pyx_clineno = __LINE__; goto __pyx_L1;}
17139 __pyx_1 = __Pyx_PyObject_IsTrue(__pyx_3); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 499; __pyx_clineno = __LINE__; goto __pyx_L1;}
17140 Py_DECREF(__pyx_3); __pyx_3 = 0;
17143 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":501
17144 * if self.__exists and \
17145 * account.purple_account_is_connected(self._get_structure()):
17146 * if blist.purple_find_buddy(self._get_structure(), name): # <<<<<<<<<<<<<<
17150 __pyx_2 = __Pyx_PyBytes_AsString(__pyx_v_name); if (unlikely((!__pyx_2) && PyErr_Occurred())) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 501; __pyx_clineno = __LINE__; goto __pyx_L1;}
17151 __pyx_1 = (purple_find_buddy(((struct __pyx_vtabstruct_6purple_Account *)((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Account *)__pyx_v_self)), __pyx_2) != 0);
17154 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":502
17155 * account.purple_account_is_connected(self._get_structure()):
17156 * if blist.purple_find_buddy(self._get_structure(), name):
17157 * return False # <<<<<<<<<<<<<<
17161 Py_INCREF(Py_False);
17162 __pyx_r = Py_False;
17168 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":504
17171 * if group: # <<<<<<<<<<<<<<
17172 * c_group = blist.purple_find_group(group)
17173 * if c_group == NULL:
17175 __pyx_1 = __Pyx_PyObject_IsTrue(__pyx_v_group); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 504; __pyx_clineno = __LINE__; goto __pyx_L1;}
17178 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":505
17181 * c_group = blist.purple_find_group(group) # <<<<<<<<<<<<<<
17182 * if c_group == NULL:
17183 * c_group = blist.purple_group_new(group)
17185 __pyx_2 = __Pyx_PyBytes_AsString(__pyx_v_group); if (unlikely((!__pyx_2) && PyErr_Occurred())) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 505; __pyx_clineno = __LINE__; goto __pyx_L1;}
17186 __pyx_v_c_group = purple_find_group(__pyx_2);
17188 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":506
17190 * c_group = blist.purple_find_group(group)
17191 * if c_group == NULL: # <<<<<<<<<<<<<<
17192 * c_group = blist.purple_group_new(group)
17195 __pyx_1 = (__pyx_v_c_group == NULL);
17198 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":507
17199 * c_group = blist.purple_find_group(group)
17200 * if c_group == NULL:
17201 * c_group = blist.purple_group_new(group) # <<<<<<<<<<<<<<
17203 * c_buddy = blist.purple_buddy_new(self._get_structure(), \
17205 __pyx_2 = __Pyx_PyBytes_AsString(__pyx_v_group); if (unlikely((!__pyx_2) && PyErr_Occurred())) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 507; __pyx_clineno = __LINE__; goto __pyx_L1;}
17206 __pyx_v_c_group = purple_group_new(__pyx_2);
17214 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":510
17216 * c_buddy = blist.purple_buddy_new(self._get_structure(), \
17217 * name, c_alias) # <<<<<<<<<<<<<<
17218 * if c_buddy == NULL:
17221 __pyx_2 = __Pyx_PyBytes_AsString(__pyx_v_name); if (unlikely((!__pyx_2) && PyErr_Occurred())) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 510; __pyx_clineno = __LINE__; goto __pyx_L1;}
17222 __pyx_v_c_buddy = purple_buddy_new(((struct __pyx_vtabstruct_6purple_Account *)((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Account *)__pyx_v_self)), __pyx_2, __pyx_v_c_alias);
17224 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":511
17225 * c_buddy = blist.purple_buddy_new(self._get_structure(), \
17227 * if c_buddy == NULL: # <<<<<<<<<<<<<<
17231 __pyx_1 = (__pyx_v_c_buddy == NULL);
17234 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":512
17236 * if c_buddy == NULL:
17237 * return False # <<<<<<<<<<<<<<
17239 * blist.purple_blist_add_buddy(c_buddy, NULL, c_group, NULL)
17241 Py_INCREF(Py_False);
17242 __pyx_r = Py_False;
17248 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":514
17251 * blist.purple_blist_add_buddy(c_buddy, NULL, c_group, NULL) # <<<<<<<<<<<<<<
17252 * account.purple_account_add_buddy(self._get_structure(), c_buddy)
17255 purple_blist_add_buddy(__pyx_v_c_buddy, NULL, __pyx_v_c_group, NULL);
17257 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":515
17259 * blist.purple_blist_add_buddy(c_buddy, NULL, c_group, NULL)
17260 * account.purple_account_add_buddy(self._get_structure(), c_buddy) # <<<<<<<<<<<<<<
17262 * blist.purple_blist_alias_buddy(c_buddy, c_alias)
17264 purple_account_add_buddy(((struct __pyx_vtabstruct_6purple_Account *)((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Account *)__pyx_v_self)), __pyx_v_c_buddy);
17266 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":516
17267 * blist.purple_blist_add_buddy(c_buddy, NULL, c_group, NULL)
17268 * account.purple_account_add_buddy(self._get_structure(), c_buddy)
17269 * if c_alias: # <<<<<<<<<<<<<<
17270 * blist.purple_blist_alias_buddy(c_buddy, c_alias)
17271 * server.serv_alias_buddy(c_buddy)
17273 __pyx_1 = (__pyx_v_c_alias != 0);
17276 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":517
17277 * account.purple_account_add_buddy(self._get_structure(), c_buddy)
17279 * blist.purple_blist_alias_buddy(c_buddy, c_alias) # <<<<<<<<<<<<<<
17280 * server.serv_alias_buddy(c_buddy)
17283 purple_blist_alias_buddy(__pyx_v_c_buddy, __pyx_v_c_alias);
17285 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":518
17287 * blist.purple_blist_alias_buddy(c_buddy, c_alias)
17288 * server.serv_alias_buddy(c_buddy) # <<<<<<<<<<<<<<
17292 serv_alias_buddy(__pyx_v_c_buddy);
17297 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":520
17298 * server.serv_alias_buddy(c_buddy)
17300 * return True # <<<<<<<<<<<<<<
17304 Py_INCREF(Py_True);
17311 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":523
17314 * return None # <<<<<<<<<<<<<<
17316 * def remove_buddy(self, name):
17318 Py_INCREF(Py_None);
17324 __pyx_r = Py_None; Py_INCREF(Py_None);
17327 Py_XDECREF(__pyx_3);
17328 __Pyx_AddTraceback("purple.Account.add_buddy");
17334 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":525
17337 * def remove_buddy(self, name): # <<<<<<<<<<<<<<
17339 * Removes a buddy from account's buddy list.
17342 static PyObject *__pyx_pf_6purple_7Account_remove_buddy(PyObject *__pyx_v_self, PyObject *__pyx_v_name); /*proto*/
17343 static char __pyx_doc_6purple_7Account_remove_buddy[] = "\n Removes a buddy from account\'s buddy list.\n\n @param name Buddy name\n @return True if successful, False otherwise\n ";
17344 static PyObject *__pyx_pf_6purple_7Account_remove_buddy(PyObject *__pyx_v_self, PyObject *__pyx_v_name) {
17345 PurpleBuddy *__pyx_v_c_buddy;
17346 PurpleGroup *__pyx_v_c_group;
17348 PyObject *__pyx_1 = 0;
17352 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":532
17353 * @return True if successful, False otherwise
17355 * cdef blist.PurpleBuddy *c_buddy = NULL # <<<<<<<<<<<<<<
17356 * cdef blist.PurpleGroup *c_group = NULL
17359 __pyx_v_c_buddy = NULL;
17362 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":533
17364 * cdef blist.PurpleBuddy *c_buddy = NULL
17365 * cdef blist.PurpleGroup *c_group = NULL # <<<<<<<<<<<<<<
17367 * if self.__exists and \
17369 __pyx_v_c_group = NULL;
17372 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":535
17373 * cdef blist.PurpleGroup *c_group = NULL
17375 * if self.__exists and \ # <<<<<<<<<<<<<<
17376 * account.purple_account_is_connected(self._get_structure()):
17377 * c_buddy = blist.purple_find_buddy(self._get_structure(), name)
17379 __pyx_1 = ((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__exists;
17380 Py_INCREF(__pyx_1);
17381 __pyx_2 = __Pyx_PyObject_IsTrue(__pyx_1); if (unlikely(__pyx_2 < 0)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 535; __pyx_clineno = __LINE__; goto __pyx_L1;}
17383 Py_DECREF(__pyx_1); __pyx_1 = 0;
17385 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":536
17387 * if self.__exists and \
17388 * account.purple_account_is_connected(self._get_structure()): # <<<<<<<<<<<<<<
17389 * c_buddy = blist.purple_find_buddy(self._get_structure(), name)
17390 * if c_buddy == NULL:
17392 __pyx_1 = PyInt_FromLong(purple_account_is_connected(((struct __pyx_vtabstruct_6purple_Account *)((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Account *)__pyx_v_self)))); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 536; __pyx_clineno = __LINE__; goto __pyx_L1;}
17394 __pyx_2 = __Pyx_PyObject_IsTrue(__pyx_1); if (unlikely(__pyx_2 < 0)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 535; __pyx_clineno = __LINE__; goto __pyx_L1;}
17395 Py_DECREF(__pyx_1); __pyx_1 = 0;
17398 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":537
17399 * if self.__exists and \
17400 * account.purple_account_is_connected(self._get_structure()):
17401 * c_buddy = blist.purple_find_buddy(self._get_structure(), name) # <<<<<<<<<<<<<<
17402 * if c_buddy == NULL:
17405 __pyx_3 = __Pyx_PyBytes_AsString(__pyx_v_name); if (unlikely((!__pyx_3) && PyErr_Occurred())) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 537; __pyx_clineno = __LINE__; goto __pyx_L1;}
17406 __pyx_v_c_buddy = purple_find_buddy(((struct __pyx_vtabstruct_6purple_Account *)((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Account *)__pyx_v_self)), __pyx_3);
17408 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":538
17409 * account.purple_account_is_connected(self._get_structure()):
17410 * c_buddy = blist.purple_find_buddy(self._get_structure(), name)
17411 * if c_buddy == NULL: # <<<<<<<<<<<<<<
17415 __pyx_2 = (__pyx_v_c_buddy == NULL);
17418 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":539
17419 * c_buddy = blist.purple_find_buddy(self._get_structure(), name)
17420 * if c_buddy == NULL:
17421 * return False # <<<<<<<<<<<<<<
17423 * c_group = blist.purple_buddy_get_group(c_buddy)
17425 Py_INCREF(Py_False);
17426 __pyx_r = Py_False;
17432 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":541
17435 * c_group = blist.purple_buddy_get_group(c_buddy) # <<<<<<<<<<<<<<
17437 * account.purple_account_remove_buddy(self._get_structure(), \
17439 __pyx_v_c_group = purple_buddy_get_group(__pyx_v_c_buddy);
17441 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":544
17443 * account.purple_account_remove_buddy(self._get_structure(), \
17444 * c_buddy, c_group) # <<<<<<<<<<<<<<
17445 * blist.purple_blist_remove_buddy(c_buddy)
17448 purple_account_remove_buddy(((struct __pyx_vtabstruct_6purple_Account *)((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Account *)__pyx_v_self)), __pyx_v_c_buddy, __pyx_v_c_group);
17450 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":545
17451 * account.purple_account_remove_buddy(self._get_structure(), \
17452 * c_buddy, c_group)
17453 * blist.purple_blist_remove_buddy(c_buddy) # <<<<<<<<<<<<<<
17457 purple_blist_remove_buddy(__pyx_v_c_buddy);
17459 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":546
17460 * c_buddy, c_group)
17461 * blist.purple_blist_remove_buddy(c_buddy)
17462 * return True # <<<<<<<<<<<<<<
17466 Py_INCREF(Py_True);
17473 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":548
17476 * return None # <<<<<<<<<<<<<<
17478 * def get_buddies_online(self):
17480 Py_INCREF(Py_None);
17486 __pyx_r = Py_None; Py_INCREF(Py_None);
17489 Py_XDECREF(__pyx_1);
17490 __Pyx_AddTraceback("purple.Account.remove_buddy");
17496 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":550
17499 * def get_buddies_online(self): # <<<<<<<<<<<<<<
17500 * cdef glib.GSList *iter = NULL
17501 * cdef blist.PurpleBuddy *c_buddy = NULL
17504 static PyObject *__pyx_pf_6purple_7Account_get_buddies_online(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
17505 static PyObject *__pyx_pf_6purple_7Account_get_buddies_online(PyObject *__pyx_v_self, PyObject *unused) {
17506 GSList *__pyx_v_iter;
17507 PurpleBuddy *__pyx_v_c_buddy;
17508 char *__pyx_v_c_alias;
17509 PyObject *__pyx_v_buddies_list;
17510 PyObject *__pyx_v_name;
17511 PyObject *__pyx_v_new_buddy;
17513 PyObject *__pyx_1 = 0;
17515 PyObject *__pyx_3 = 0;
17516 PyObject *__pyx_4 = 0;
17517 __pyx_v_buddies_list = Py_None; Py_INCREF(Py_None);
17518 __pyx_v_name = Py_None; Py_INCREF(Py_None);
17519 __pyx_v_new_buddy = Py_None; Py_INCREF(Py_None);
17521 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":551
17523 * def get_buddies_online(self):
17524 * cdef glib.GSList *iter = NULL # <<<<<<<<<<<<<<
17525 * cdef blist.PurpleBuddy *c_buddy = NULL
17526 * cdef char *c_alias = NULL
17528 __pyx_v_iter = NULL;
17531 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":552
17532 * def get_buddies_online(self):
17533 * cdef glib.GSList *iter = NULL
17534 * cdef blist.PurpleBuddy *c_buddy = NULL # <<<<<<<<<<<<<<
17535 * cdef char *c_alias = NULL
17538 __pyx_v_c_buddy = NULL;
17541 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":553
17542 * cdef glib.GSList *iter = NULL
17543 * cdef blist.PurpleBuddy *c_buddy = NULL
17544 * cdef char *c_alias = NULL # <<<<<<<<<<<<<<
17546 * if self.__exists and \
17548 __pyx_v_c_alias = NULL;
17551 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":555
17552 * cdef char *c_alias = NULL
17554 * if self.__exists and \ # <<<<<<<<<<<<<<
17555 * account.purple_account_is_connected(self._get_structure()):
17556 * iter = blist.purple_find_buddies(self._get_structure(), NULL)
17558 __pyx_1 = ((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__exists;
17559 Py_INCREF(__pyx_1);
17560 __pyx_2 = __Pyx_PyObject_IsTrue(__pyx_1); if (unlikely(__pyx_2 < 0)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 555; __pyx_clineno = __LINE__; goto __pyx_L1;}
17562 Py_DECREF(__pyx_1); __pyx_1 = 0;
17564 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":556
17566 * if self.__exists and \
17567 * account.purple_account_is_connected(self._get_structure()): # <<<<<<<<<<<<<<
17568 * iter = blist.purple_find_buddies(self._get_structure(), NULL)
17571 __pyx_1 = PyInt_FromLong(purple_account_is_connected(((struct __pyx_vtabstruct_6purple_Account *)((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Account *)__pyx_v_self)))); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 556; __pyx_clineno = __LINE__; goto __pyx_L1;}
17573 __pyx_2 = __Pyx_PyObject_IsTrue(__pyx_1); if (unlikely(__pyx_2 < 0)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 555; __pyx_clineno = __LINE__; goto __pyx_L1;}
17574 Py_DECREF(__pyx_1); __pyx_1 = 0;
17577 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":557
17578 * if self.__exists and \
17579 * account.purple_account_is_connected(self._get_structure()):
17580 * iter = blist.purple_find_buddies(self._get_structure(), NULL) # <<<<<<<<<<<<<<
17582 * buddies_list = []
17584 __pyx_v_iter = purple_find_buddies(((struct __pyx_vtabstruct_6purple_Account *)((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Account *)__pyx_v_self)), NULL);
17586 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":559
17587 * iter = blist.purple_find_buddies(self._get_structure(), NULL)
17589 * buddies_list = [] # <<<<<<<<<<<<<<
17593 __pyx_1 = PyList_New(0); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 559; __pyx_clineno = __LINE__; goto __pyx_L1;}
17594 Py_DECREF(__pyx_v_buddies_list);
17595 __pyx_v_buddies_list = ((PyObject *)__pyx_1);
17598 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":560
17600 * buddies_list = []
17601 * while iter: # <<<<<<<<<<<<<<
17603 * c_buddy = <blist.PurpleBuddy *> iter.data
17606 __pyx_2 = (__pyx_v_iter != 0);
17607 if (!__pyx_2) break;
17609 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":561
17610 * buddies_list = []
17612 * c_alias = NULL # <<<<<<<<<<<<<<
17613 * c_buddy = <blist.PurpleBuddy *> iter.data
17614 * if <blist.PurpleBuddy *> c_buddy and \
17616 __pyx_v_c_alias = NULL;
17618 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":562
17621 * c_buddy = <blist.PurpleBuddy *> iter.data # <<<<<<<<<<<<<<
17622 * if <blist.PurpleBuddy *> c_buddy and \
17623 * status.purple_presence_is_online( \
17625 __pyx_v_c_buddy = ((PurpleBuddy *)__pyx_v_iter->data);
17627 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":563
17629 * c_buddy = <blist.PurpleBuddy *> iter.data
17630 * if <blist.PurpleBuddy *> c_buddy and \ # <<<<<<<<<<<<<<
17631 * status.purple_presence_is_online( \
17632 * blist.purple_buddy_get_presence(c_buddy)):
17634 __pyx_2 = (((PurpleBuddy *)__pyx_v_c_buddy) != 0);
17637 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":565
17638 * if <blist.PurpleBuddy *> c_buddy and \
17639 * status.purple_presence_is_online( \
17640 * blist.purple_buddy_get_presence(c_buddy)): # <<<<<<<<<<<<<<
17641 * name = <char *> blist.purple_buddy_get_name(c_buddy)
17644 __pyx_2 = purple_presence_is_online(purple_buddy_get_presence(__pyx_v_c_buddy));
17648 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":566
17649 * status.purple_presence_is_online( \
17650 * blist.purple_buddy_get_presence(c_buddy)):
17651 * name = <char *> blist.purple_buddy_get_name(c_buddy) # <<<<<<<<<<<<<<
17653 * new_buddy = Buddy(name, self)
17655 __pyx_1 = __Pyx_PyBytes_FromString(((char *)purple_buddy_get_name(__pyx_v_c_buddy))); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 566; __pyx_clineno = __LINE__; goto __pyx_L1;}
17656 Py_DECREF(__pyx_v_name);
17657 __pyx_v_name = __pyx_1;
17660 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":568
17661 * name = <char *> blist.purple_buddy_get_name(c_buddy)
17663 * new_buddy = Buddy(name, self) # <<<<<<<<<<<<<<
17665 * c_alias = <char *> blist.purple_buddy_get_alias_only(c_buddy)
17667 __pyx_1 = PyTuple_New(2); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 568; __pyx_clineno = __LINE__; goto __pyx_L1;}
17668 Py_INCREF(__pyx_v_name);
17669 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_v_name);
17670 Py_INCREF(__pyx_v_self);
17671 PyTuple_SET_ITEM(__pyx_1, 1, __pyx_v_self);
17672 __pyx_3 = PyObject_Call(((PyObject*)__pyx_ptype_6purple_Buddy), ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 568; __pyx_clineno = __LINE__; goto __pyx_L1;}
17673 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
17674 Py_DECREF(__pyx_v_new_buddy);
17675 __pyx_v_new_buddy = __pyx_3;
17678 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":570
17679 * new_buddy = Buddy(name, self)
17681 * c_alias = <char *> blist.purple_buddy_get_alias_only(c_buddy) # <<<<<<<<<<<<<<
17683 * new_buddy.set_alias(c_alias)
17685 __pyx_v_c_alias = ((char *)purple_buddy_get_alias_only(__pyx_v_c_buddy));
17687 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":571
17689 * c_alias = <char *> blist.purple_buddy_get_alias_only(c_buddy)
17690 * if c_alias: # <<<<<<<<<<<<<<
17691 * new_buddy.set_alias(c_alias)
17694 __pyx_2 = (__pyx_v_c_alias != 0);
17697 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":572
17698 * c_alias = <char *> blist.purple_buddy_get_alias_only(c_buddy)
17700 * new_buddy.set_alias(c_alias) # <<<<<<<<<<<<<<
17702 * buddies_list.append(new_buddy)
17704 __pyx_1 = PyObject_GetAttr(__pyx_v_new_buddy, __pyx_kp_set_alias); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 572; __pyx_clineno = __LINE__; goto __pyx_L1;}
17705 __pyx_3 = __Pyx_PyBytes_FromString(__pyx_v_c_alias); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 572; __pyx_clineno = __LINE__; goto __pyx_L1;}
17706 __pyx_4 = PyTuple_New(1); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 572; __pyx_clineno = __LINE__; goto __pyx_L1;}
17707 PyTuple_SET_ITEM(__pyx_4, 0, __pyx_3);
17709 __pyx_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_4), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 572; __pyx_clineno = __LINE__; goto __pyx_L1;}
17710 Py_DECREF(__pyx_1); __pyx_1 = 0;
17711 Py_DECREF(((PyObject *)__pyx_4)); __pyx_4 = 0;
17712 Py_DECREF(__pyx_3); __pyx_3 = 0;
17717 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":574
17718 * new_buddy.set_alias(c_alias)
17720 * buddies_list.append(new_buddy) # <<<<<<<<<<<<<<
17722 * return buddies_list
17724 __pyx_1 = __Pyx_PyObject_Append(__pyx_v_buddies_list, __pyx_v_new_buddy); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 574; __pyx_clineno = __LINE__; goto __pyx_L1;}
17725 Py_DECREF(__pyx_1); __pyx_1 = 0;
17730 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":575
17732 * buddies_list.append(new_buddy)
17733 * iter = iter.next # <<<<<<<<<<<<<<
17734 * return buddies_list
17737 __pyx_v_iter = __pyx_v_iter->next;
17740 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":576
17741 * buddies_list.append(new_buddy)
17743 * return buddies_list # <<<<<<<<<<<<<<
17747 Py_INCREF(__pyx_v_buddies_list);
17748 __pyx_r = __pyx_v_buddies_list;
17754 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":578
17755 * return buddies_list
17757 * return None # <<<<<<<<<<<<<<
17759 * def get_buddies(self):
17761 Py_INCREF(Py_None);
17767 __pyx_r = Py_None; Py_INCREF(Py_None);
17770 Py_XDECREF(__pyx_1);
17771 Py_XDECREF(__pyx_3);
17772 Py_XDECREF(__pyx_4);
17773 __Pyx_AddTraceback("purple.Account.get_buddies_online");
17776 Py_DECREF(__pyx_v_buddies_list);
17777 Py_DECREF(__pyx_v_name);
17778 Py_DECREF(__pyx_v_new_buddy);
17782 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":580
17785 * def get_buddies(self): # <<<<<<<<<<<<<<
17786 * cdef glib.GSList *iter = NULL
17787 * cdef blist.PurpleBuddy *c_buddy = NULL
17790 static PyObject *__pyx_pf_6purple_7Account_get_buddies(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
17791 static PyObject *__pyx_pf_6purple_7Account_get_buddies(PyObject *__pyx_v_self, PyObject *unused) {
17792 GSList *__pyx_v_iter;
17793 PurpleBuddy *__pyx_v_c_buddy;
17794 char *__pyx_v_c_alias;
17795 PyObject *__pyx_v_buddies_list;
17796 PyObject *__pyx_v_name;
17797 PyObject *__pyx_v_new_buddy;
17800 PyObject *__pyx_2 = 0;
17801 PyObject *__pyx_3 = 0;
17802 PyObject *__pyx_4 = 0;
17803 __pyx_v_buddies_list = Py_None; Py_INCREF(Py_None);
17804 __pyx_v_name = Py_None; Py_INCREF(Py_None);
17805 __pyx_v_new_buddy = Py_None; Py_INCREF(Py_None);
17807 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":581
17809 * def get_buddies(self):
17810 * cdef glib.GSList *iter = NULL # <<<<<<<<<<<<<<
17811 * cdef blist.PurpleBuddy *c_buddy = NULL
17812 * cdef char *c_alias = NULL
17814 __pyx_v_iter = NULL;
17817 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":582
17818 * def get_buddies(self):
17819 * cdef glib.GSList *iter = NULL
17820 * cdef blist.PurpleBuddy *c_buddy = NULL # <<<<<<<<<<<<<<
17821 * cdef char *c_alias = NULL
17824 __pyx_v_c_buddy = NULL;
17827 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":583
17828 * cdef glib.GSList *iter = NULL
17829 * cdef blist.PurpleBuddy *c_buddy = NULL
17830 * cdef char *c_alias = NULL # <<<<<<<<<<<<<<
17832 * if self.__exists:
17834 __pyx_v_c_alias = NULL;
17837 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":585
17838 * cdef char *c_alias = NULL
17840 * if self.__exists: # <<<<<<<<<<<<<<
17841 * iter = blist.purple_find_buddies(self._get_structure(), NULL)
17844 __pyx_1 = __Pyx_PyObject_IsTrue(((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__exists); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 585; __pyx_clineno = __LINE__; goto __pyx_L1;}
17847 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":586
17849 * if self.__exists:
17850 * iter = blist.purple_find_buddies(self._get_structure(), NULL) # <<<<<<<<<<<<<<
17852 * buddies_list = []
17854 __pyx_v_iter = purple_find_buddies(((struct __pyx_vtabstruct_6purple_Account *)((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Account *)__pyx_v_self)), NULL);
17856 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":588
17857 * iter = blist.purple_find_buddies(self._get_structure(), NULL)
17859 * buddies_list = [] # <<<<<<<<<<<<<<
17863 __pyx_2 = PyList_New(0); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 588; __pyx_clineno = __LINE__; goto __pyx_L1;}
17864 Py_DECREF(__pyx_v_buddies_list);
17865 __pyx_v_buddies_list = ((PyObject *)__pyx_2);
17868 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":589
17870 * buddies_list = []
17871 * while iter: # <<<<<<<<<<<<<<
17873 * c_buddy = <blist.PurpleBuddy *> iter.data
17876 __pyx_1 = (__pyx_v_iter != 0);
17877 if (!__pyx_1) break;
17879 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":590
17880 * buddies_list = []
17882 * c_alias = NULL # <<<<<<<<<<<<<<
17883 * c_buddy = <blist.PurpleBuddy *> iter.data
17886 __pyx_v_c_alias = NULL;
17888 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":591
17891 * c_buddy = <blist.PurpleBuddy *> iter.data # <<<<<<<<<<<<<<
17893 * name = <char *> blist.purple_buddy_get_name(c_buddy)
17895 __pyx_v_c_buddy = ((PurpleBuddy *)__pyx_v_iter->data);
17897 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":593
17898 * c_buddy = <blist.PurpleBuddy *> iter.data
17900 * name = <char *> blist.purple_buddy_get_name(c_buddy) # <<<<<<<<<<<<<<
17901 * new_buddy = Buddy(name, self)
17904 __pyx_2 = __Pyx_PyBytes_FromString(((char *)purple_buddy_get_name(__pyx_v_c_buddy))); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 593; __pyx_clineno = __LINE__; goto __pyx_L1;}
17905 Py_DECREF(__pyx_v_name);
17906 __pyx_v_name = __pyx_2;
17909 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":594
17911 * name = <char *> blist.purple_buddy_get_name(c_buddy)
17912 * new_buddy = Buddy(name, self) # <<<<<<<<<<<<<<
17914 * c_alias = <char *> blist.purple_buddy_get_alias_only(c_buddy)
17916 __pyx_2 = PyTuple_New(2); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 594; __pyx_clineno = __LINE__; goto __pyx_L1;}
17917 Py_INCREF(__pyx_v_name);
17918 PyTuple_SET_ITEM(__pyx_2, 0, __pyx_v_name);
17919 Py_INCREF(__pyx_v_self);
17920 PyTuple_SET_ITEM(__pyx_2, 1, __pyx_v_self);
17921 __pyx_3 = PyObject_Call(((PyObject*)__pyx_ptype_6purple_Buddy), ((PyObject *)__pyx_2), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 594; __pyx_clineno = __LINE__; goto __pyx_L1;}
17922 Py_DECREF(((PyObject *)__pyx_2)); __pyx_2 = 0;
17923 Py_DECREF(__pyx_v_new_buddy);
17924 __pyx_v_new_buddy = __pyx_3;
17927 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":596
17928 * new_buddy = Buddy(name, self)
17930 * c_alias = <char *> blist.purple_buddy_get_alias_only(c_buddy) # <<<<<<<<<<<<<<
17932 * new_buddy.set_alias(c_alias)
17934 __pyx_v_c_alias = ((char *)purple_buddy_get_alias_only(__pyx_v_c_buddy));
17936 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":597
17938 * c_alias = <char *> blist.purple_buddy_get_alias_only(c_buddy)
17939 * if c_alias: # <<<<<<<<<<<<<<
17940 * new_buddy.set_alias(c_alias)
17943 __pyx_1 = (__pyx_v_c_alias != 0);
17946 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":598
17947 * c_alias = <char *> blist.purple_buddy_get_alias_only(c_buddy)
17949 * new_buddy.set_alias(c_alias) # <<<<<<<<<<<<<<
17951 * buddies_list.append(new_buddy)
17953 __pyx_2 = PyObject_GetAttr(__pyx_v_new_buddy, __pyx_kp_set_alias); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 598; __pyx_clineno = __LINE__; goto __pyx_L1;}
17954 __pyx_3 = __Pyx_PyBytes_FromString(__pyx_v_c_alias); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 598; __pyx_clineno = __LINE__; goto __pyx_L1;}
17955 __pyx_4 = PyTuple_New(1); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 598; __pyx_clineno = __LINE__; goto __pyx_L1;}
17956 PyTuple_SET_ITEM(__pyx_4, 0, __pyx_3);
17958 __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_4), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 598; __pyx_clineno = __LINE__; goto __pyx_L1;}
17959 Py_DECREF(__pyx_2); __pyx_2 = 0;
17960 Py_DECREF(((PyObject *)__pyx_4)); __pyx_4 = 0;
17961 Py_DECREF(__pyx_3); __pyx_3 = 0;
17966 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":600
17967 * new_buddy.set_alias(c_alias)
17969 * buddies_list.append(new_buddy) # <<<<<<<<<<<<<<
17971 * return buddies_list
17973 __pyx_2 = __Pyx_PyObject_Append(__pyx_v_buddies_list, __pyx_v_new_buddy); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 600; __pyx_clineno = __LINE__; goto __pyx_L1;}
17974 Py_DECREF(__pyx_2); __pyx_2 = 0;
17976 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":601
17978 * buddies_list.append(new_buddy)
17979 * iter = iter.next # <<<<<<<<<<<<<<
17980 * return buddies_list
17983 __pyx_v_iter = __pyx_v_iter->next;
17986 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":602
17987 * buddies_list.append(new_buddy)
17989 * return buddies_list # <<<<<<<<<<<<<<
17993 Py_INCREF(__pyx_v_buddies_list);
17994 __pyx_r = __pyx_v_buddies_list;
18000 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":604
18001 * return buddies_list
18003 * return None # <<<<<<<<<<<<<<
18005 * def request_add_buddy(self, buddy_username, buddy_alias):
18007 Py_INCREF(Py_None);
18013 __pyx_r = Py_None; Py_INCREF(Py_None);
18016 Py_XDECREF(__pyx_2);
18017 Py_XDECREF(__pyx_3);
18018 Py_XDECREF(__pyx_4);
18019 __Pyx_AddTraceback("purple.Account.get_buddies");
18022 Py_DECREF(__pyx_v_buddies_list);
18023 Py_DECREF(__pyx_v_name);
18024 Py_DECREF(__pyx_v_new_buddy);
18028 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":606
18031 * def request_add_buddy(self, buddy_username, buddy_alias): # <<<<<<<<<<<<<<
18033 * blist.purple_blist_request_add_buddy(self._get_structure(), \
18036 static PyObject *__pyx_pf_6purple_7Account_request_add_buddy(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
18037 static PyObject *__pyx_pf_6purple_7Account_request_add_buddy(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
18038 PyObject *__pyx_v_buddy_username = 0;
18039 PyObject *__pyx_v_buddy_alias = 0;
18044 static char *__pyx_argnames[] = {"buddy_username","buddy_alias",0};
18045 if (likely(!__pyx_kwds) && likely(PyTuple_GET_SIZE(__pyx_args) == 2)) {
18046 __pyx_v_buddy_username = PyTuple_GET_ITEM(__pyx_args, 0);
18047 __pyx_v_buddy_alias = PyTuple_GET_ITEM(__pyx_args, 1);
18050 if (unlikely(!PyArg_ParseTupleAndKeywords(__pyx_args, __pyx_kwds, "OO", __pyx_argnames, &__pyx_v_buddy_username, &__pyx_v_buddy_alias))) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 606; __pyx_clineno = __LINE__; goto __pyx_L2;}
18054 __Pyx_AddTraceback("purple.Account.request_add_buddy");
18058 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":607
18060 * def request_add_buddy(self, buddy_username, buddy_alias):
18061 * if buddy_alias: # <<<<<<<<<<<<<<
18062 * blist.purple_blist_request_add_buddy(self._get_structure(), \
18063 * buddy_username, NULL, buddy_alias)
18065 __pyx_1 = __Pyx_PyObject_IsTrue(__pyx_v_buddy_alias); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 607; __pyx_clineno = __LINE__; goto __pyx_L1;}
18068 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":609
18070 * blist.purple_blist_request_add_buddy(self._get_structure(), \
18071 * buddy_username, NULL, buddy_alias) # <<<<<<<<<<<<<<
18073 * blist.purple_blist_request_add_buddy(self._get_structure(), \
18075 __pyx_2 = __Pyx_PyBytes_AsString(__pyx_v_buddy_username); if (unlikely((!__pyx_2) && PyErr_Occurred())) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 609; __pyx_clineno = __LINE__; goto __pyx_L1;}
18076 __pyx_3 = __Pyx_PyBytes_AsString(__pyx_v_buddy_alias); if (unlikely((!__pyx_3) && PyErr_Occurred())) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 609; __pyx_clineno = __LINE__; goto __pyx_L1;}
18077 purple_blist_request_add_buddy(((struct __pyx_vtabstruct_6purple_Account *)((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Account *)__pyx_v_self)), __pyx_2, NULL, __pyx_3);
18082 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":612
18084 * blist.purple_blist_request_add_buddy(self._get_structure(), \
18085 * buddy_username, NULL, NULL) # <<<<<<<<<<<<<<
18087 * def set_active_status(self, type, msg=None):
18089 __pyx_2 = __Pyx_PyBytes_AsString(__pyx_v_buddy_username); if (unlikely((!__pyx_2) && PyErr_Occurred())) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 612; __pyx_clineno = __LINE__; goto __pyx_L1;}
18090 purple_blist_request_add_buddy(((struct __pyx_vtabstruct_6purple_Account *)((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Account *)__pyx_v_self)), __pyx_2, NULL, NULL);
18094 __pyx_r = Py_None; Py_INCREF(Py_None);
18097 __Pyx_AddTraceback("purple.Account.request_add_buddy");
18103 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":614
18104 * buddy_username, NULL, NULL)
18106 * def set_active_status(self, type, msg=None): # <<<<<<<<<<<<<<
18107 * cdef status.PurpleStatusType *c_statustype = NULL
18108 * cdef savedstatuses.PurpleSavedStatus *c_savedstatus = NULL
18111 static char __pyx_k_454[] = "message";
18112 static char __pyx_k_455[] = "/purple/savedstatus/idleaway";
18114 static PyObject *__pyx_pf_6purple_7Account_set_active_status(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
18115 static PyObject *__pyx_pf_6purple_7Account_set_active_status(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
18116 PyObject *__pyx_v_type = 0;
18117 PyObject *__pyx_v_msg = 0;
18118 PurpleStatusType *__pyx_v_c_statustype;
18119 PurpleSavedStatus *__pyx_v_c_savedstatus;
18124 static char *__pyx_argnames[] = {"type","msg",0};
18125 __pyx_v_msg = Py_None;
18126 if (likely(!__pyx_kwds) && likely(1 <= PyTuple_GET_SIZE(__pyx_args)) && likely(PyTuple_GET_SIZE(__pyx_args) <= 2)) {
18127 __pyx_v_type = PyTuple_GET_ITEM(__pyx_args, 0);
18128 if (PyTuple_GET_SIZE(__pyx_args) > 1) {
18129 __pyx_v_msg = PyTuple_GET_ITEM(__pyx_args, 1);
18133 if (unlikely(!PyArg_ParseTupleAndKeywords(__pyx_args, __pyx_kwds, "O|O", __pyx_argnames, &__pyx_v_type, &__pyx_v_msg))) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 614; __pyx_clineno = __LINE__; goto __pyx_L2;}
18137 __Pyx_AddTraceback("purple.Account.set_active_status");
18141 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":615
18143 * def set_active_status(self, type, msg=None):
18144 * cdef status.PurpleStatusType *c_statustype = NULL # <<<<<<<<<<<<<<
18145 * cdef savedstatuses.PurpleSavedStatus *c_savedstatus = NULL
18148 __pyx_v_c_statustype = NULL;
18151 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":616
18152 * def set_active_status(self, type, msg=None):
18153 * cdef status.PurpleStatusType *c_statustype = NULL
18154 * cdef savedstatuses.PurpleSavedStatus *c_savedstatus = NULL # <<<<<<<<<<<<<<
18156 * if self.__exists:
18158 __pyx_v_c_savedstatus = NULL;
18161 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":618
18162 * cdef savedstatuses.PurpleSavedStatus *c_savedstatus = NULL
18164 * if self.__exists: # <<<<<<<<<<<<<<
18166 * account.purple_account_set_status(self._get_structure(),
18168 __pyx_1 = __Pyx_PyObject_IsTrue(((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__exists); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 618; __pyx_clineno = __LINE__; goto __pyx_L1;}
18171 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":619
18173 * if self.__exists:
18174 * if msg: # <<<<<<<<<<<<<<
18175 * account.purple_account_set_status(self._get_structure(),
18176 * <char *> type, True, "message", <char *> msg, NULL)
18178 __pyx_1 = __Pyx_PyObject_IsTrue(__pyx_v_msg); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 619; __pyx_clineno = __LINE__; goto __pyx_L1;}
18181 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":621
18183 * account.purple_account_set_status(self._get_structure(),
18184 * <char *> type, True, "message", <char *> msg, NULL) # <<<<<<<<<<<<<<
18186 * account.purple_account_set_status(self._get_structure(),
18188 __pyx_2 = __Pyx_PyBytes_AsString(__pyx_v_type); if (unlikely((!__pyx_2) && PyErr_Occurred())) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 621; __pyx_clineno = __LINE__; goto __pyx_L1;}
18189 __pyx_3 = __Pyx_PyBytes_AsString(__pyx_v_msg); if (unlikely((!__pyx_3) && PyErr_Occurred())) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 621; __pyx_clineno = __LINE__; goto __pyx_L1;}
18190 purple_account_set_status(((struct __pyx_vtabstruct_6purple_Account *)((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Account *)__pyx_v_self)), ((char *)__pyx_2), 1, __pyx_k_454, ((char *)__pyx_3), NULL);
18195 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":624
18197 * account.purple_account_set_status(self._get_structure(),
18198 * <char *> type, True, NULL) # <<<<<<<<<<<<<<
18200 * # FIXME: We can create only a savedstatus for each statustype
18202 __pyx_2 = __Pyx_PyBytes_AsString(__pyx_v_type); if (unlikely((!__pyx_2) && PyErr_Occurred())) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 624; __pyx_clineno = __LINE__; goto __pyx_L1;}
18203 purple_account_set_status(((struct __pyx_vtabstruct_6purple_Account *)((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Account *)__pyx_v_self)), ((char *)__pyx_2), 1, NULL);
18207 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":627
18209 * # FIXME: We can create only a savedstatus for each statustype
18210 * c_savedstatus = savedstatuses.purple_savedstatus_find(type) # <<<<<<<<<<<<<<
18211 * if c_savedstatus == NULL:
18212 * c_statustype = account.purple_account_get_status_type( \
18214 __pyx_3 = __Pyx_PyBytes_AsString(__pyx_v_type); if (unlikely((!__pyx_3) && PyErr_Occurred())) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 627; __pyx_clineno = __LINE__; goto __pyx_L1;}
18215 __pyx_v_c_savedstatus = purple_savedstatus_find(__pyx_3);
18217 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":628
18218 * # FIXME: We can create only a savedstatus for each statustype
18219 * c_savedstatus = savedstatuses.purple_savedstatus_find(type)
18220 * if c_savedstatus == NULL: # <<<<<<<<<<<<<<
18221 * c_statustype = account.purple_account_get_status_type( \
18222 * self._get_structure(), type)
18224 __pyx_1 = (__pyx_v_c_savedstatus == NULL);
18227 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":630
18228 * if c_savedstatus == NULL:
18229 * c_statustype = account.purple_account_get_status_type( \
18230 * self._get_structure(), type) # <<<<<<<<<<<<<<
18231 * c_savedstatus = savedstatuses.purple_savedstatus_new( \
18232 * NULL, status.purple_status_type_get_primitive( \
18234 __pyx_2 = __Pyx_PyBytes_AsString(__pyx_v_type); if (unlikely((!__pyx_2) && PyErr_Occurred())) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 630; __pyx_clineno = __LINE__; goto __pyx_L1;}
18235 __pyx_v_c_statustype = purple_account_get_status_type(((struct __pyx_vtabstruct_6purple_Account *)((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Account *)__pyx_v_self)), __pyx_2);
18237 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":633
18238 * c_savedstatus = savedstatuses.purple_savedstatus_new( \
18239 * NULL, status.purple_status_type_get_primitive( \
18240 * c_statustype)) # <<<<<<<<<<<<<<
18241 * savedstatuses.purple_savedstatus_set_title(c_savedstatus,
18244 __pyx_v_c_savedstatus = purple_savedstatus_new(NULL, purple_status_type_get_primitive(__pyx_v_c_statustype));
18246 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":635
18248 * savedstatuses.purple_savedstatus_set_title(c_savedstatus,
18249 * type) # <<<<<<<<<<<<<<
18251 * savedstatuses.purple_savedstatus_set_message(c_savedstatus, msg)
18253 __pyx_3 = __Pyx_PyBytes_AsString(__pyx_v_type); if (unlikely((!__pyx_3) && PyErr_Occurred())) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 635; __pyx_clineno = __LINE__; goto __pyx_L1;}
18254 purple_savedstatus_set_title(__pyx_v_c_savedstatus, __pyx_3);
18259 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":637
18262 * savedstatuses.purple_savedstatus_set_message(c_savedstatus, msg) # <<<<<<<<<<<<<<
18263 * prefs.purple_prefs_set_int("/purple/savedstatus/idleaway",
18264 * savedstatuses.purple_savedstatus_get_creation_time(c_savedstatus))
18266 __pyx_2 = __Pyx_PyBytes_AsString(__pyx_v_msg); if (unlikely((!__pyx_2) && PyErr_Occurred())) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 637; __pyx_clineno = __LINE__; goto __pyx_L1;}
18267 purple_savedstatus_set_message(__pyx_v_c_savedstatus, __pyx_2);
18269 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":639
18270 * savedstatuses.purple_savedstatus_set_message(c_savedstatus, msg)
18271 * prefs.purple_prefs_set_int("/purple/savedstatus/idleaway",
18272 * savedstatuses.purple_savedstatus_get_creation_time(c_savedstatus)) # <<<<<<<<<<<<<<
18276 purple_prefs_set_int(__pyx_k_455, purple_savedstatus_get_creation_time(__pyx_v_c_savedstatus));
18278 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":641
18279 * savedstatuses.purple_savedstatus_get_creation_time(c_savedstatus))
18281 * return True # <<<<<<<<<<<<<<
18285 Py_INCREF(Py_True);
18292 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":643
18295 * return False # <<<<<<<<<<<<<<
18297 * def set_status_message(self, type, msg):
18299 Py_INCREF(Py_False);
18300 __pyx_r = Py_False;
18305 __pyx_r = Py_None; Py_INCREF(Py_None);
18308 __Pyx_AddTraceback("purple.Account.set_active_status");
18314 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":645
18317 * def set_status_message(self, type, msg): # <<<<<<<<<<<<<<
18318 * cdef status.PurpleStatus* c_status = NULL
18319 * cdef status.PurpleStatusType *c_statustype = NULL
18322 static char __pyx_k_456[] = "message";
18324 static PyObject *__pyx_pf_6purple_7Account_set_status_message(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
18325 static PyObject *__pyx_pf_6purple_7Account_set_status_message(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
18326 PyObject *__pyx_v_type = 0;
18327 PyObject *__pyx_v_msg = 0;
18328 PurpleStatus *__pyx_v_c_status;
18329 PurpleStatusType *__pyx_v_c_statustype;
18330 PurpleSavedStatus *__pyx_v_c_savedstatus;
18332 PyObject *__pyx_1 = 0;
18335 static char *__pyx_argnames[] = {"type","msg",0};
18336 if (likely(!__pyx_kwds) && likely(PyTuple_GET_SIZE(__pyx_args) == 2)) {
18337 __pyx_v_type = PyTuple_GET_ITEM(__pyx_args, 0);
18338 __pyx_v_msg = PyTuple_GET_ITEM(__pyx_args, 1);
18341 if (unlikely(!PyArg_ParseTupleAndKeywords(__pyx_args, __pyx_kwds, "OO", __pyx_argnames, &__pyx_v_type, &__pyx_v_msg))) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 645; __pyx_clineno = __LINE__; goto __pyx_L2;}
18345 __Pyx_AddTraceback("purple.Account.set_status_message");
18349 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":646
18351 * def set_status_message(self, type, msg):
18352 * cdef status.PurpleStatus* c_status = NULL # <<<<<<<<<<<<<<
18353 * cdef status.PurpleStatusType *c_statustype = NULL
18354 * cdef savedstatuses.PurpleSavedStatus *c_savedstatus = NULL
18356 __pyx_v_c_status = NULL;
18359 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":647
18360 * def set_status_message(self, type, msg):
18361 * cdef status.PurpleStatus* c_status = NULL
18362 * cdef status.PurpleStatusType *c_statustype = NULL # <<<<<<<<<<<<<<
18363 * cdef savedstatuses.PurpleSavedStatus *c_savedstatus = NULL
18366 __pyx_v_c_statustype = NULL;
18369 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":648
18370 * cdef status.PurpleStatus* c_status = NULL
18371 * cdef status.PurpleStatusType *c_statustype = NULL
18372 * cdef savedstatuses.PurpleSavedStatus *c_savedstatus = NULL # <<<<<<<<<<<<<<
18374 * if self.__exists and msg:
18376 __pyx_v_c_savedstatus = NULL;
18379 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":650
18380 * cdef savedstatuses.PurpleSavedStatus *c_savedstatus = NULL
18382 * if self.__exists and msg: # <<<<<<<<<<<<<<
18383 * c_status = account.purple_account_get_status(self._get_structure(),
18386 __pyx_1 = ((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__exists;
18387 Py_INCREF(__pyx_1);
18388 __pyx_2 = __Pyx_PyObject_IsTrue(__pyx_1); if (unlikely(__pyx_2 < 0)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 650; __pyx_clineno = __LINE__; goto __pyx_L1;}
18390 Py_DECREF(__pyx_1); __pyx_1 = 0;
18391 __pyx_1 = __pyx_v_msg;
18392 Py_INCREF(__pyx_1);
18394 __pyx_2 = __Pyx_PyObject_IsTrue(__pyx_1); if (unlikely(__pyx_2 < 0)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 650; __pyx_clineno = __LINE__; goto __pyx_L1;}
18395 Py_DECREF(__pyx_1); __pyx_1 = 0;
18398 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":652
18399 * if self.__exists and msg:
18400 * c_status = account.purple_account_get_status(self._get_structure(),
18401 * type) # <<<<<<<<<<<<<<
18402 * if c_status == NULL:
18405 __pyx_3 = __Pyx_PyBytes_AsString(__pyx_v_type); if (unlikely((!__pyx_3) && PyErr_Occurred())) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 652; __pyx_clineno = __LINE__; goto __pyx_L1;}
18406 __pyx_v_c_status = purple_account_get_status(((struct __pyx_vtabstruct_6purple_Account *)((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Account *)__pyx_v_self)), __pyx_3);
18408 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":653
18409 * c_status = account.purple_account_get_status(self._get_structure(),
18411 * if c_status == NULL: # <<<<<<<<<<<<<<
18413 * status.purple_status_set_attr_string(c_status, "message", msg)
18415 __pyx_2 = (__pyx_v_c_status == NULL);
18418 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":654
18420 * if c_status == NULL:
18421 * return False # <<<<<<<<<<<<<<
18422 * status.purple_status_set_attr_string(c_status, "message", msg)
18425 Py_INCREF(Py_False);
18426 __pyx_r = Py_False;
18432 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":655
18433 * if c_status == NULL:
18435 * status.purple_status_set_attr_string(c_status, "message", msg) # <<<<<<<<<<<<<<
18437 * # FIXME: We can create only a savedstatus for each statustype
18439 __pyx_3 = __Pyx_PyBytes_AsString(__pyx_v_msg); if (unlikely((!__pyx_3) && PyErr_Occurred())) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 655; __pyx_clineno = __LINE__; goto __pyx_L1;}
18440 purple_status_set_attr_string(__pyx_v_c_status, __pyx_k_456, __pyx_3);
18442 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":658
18444 * # FIXME: We can create only a savedstatus for each statustype
18445 * c_savedstatus = savedstatuses.purple_savedstatus_find(type) # <<<<<<<<<<<<<<
18446 * if c_savedstatus == NULL:
18447 * c_statustype = account.purple_account_get_status_type( \
18449 __pyx_3 = __Pyx_PyBytes_AsString(__pyx_v_type); if (unlikely((!__pyx_3) && PyErr_Occurred())) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 658; __pyx_clineno = __LINE__; goto __pyx_L1;}
18450 __pyx_v_c_savedstatus = purple_savedstatus_find(__pyx_3);
18452 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":659
18453 * # FIXME: We can create only a savedstatus for each statustype
18454 * c_savedstatus = savedstatuses.purple_savedstatus_find(type)
18455 * if c_savedstatus == NULL: # <<<<<<<<<<<<<<
18456 * c_statustype = account.purple_account_get_status_type( \
18457 * self._get_structure(), type)
18459 __pyx_2 = (__pyx_v_c_savedstatus == NULL);
18462 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":661
18463 * if c_savedstatus == NULL:
18464 * c_statustype = account.purple_account_get_status_type( \
18465 * self._get_structure(), type) # <<<<<<<<<<<<<<
18466 * c_savedstatus = savedstatuses.purple_savedstatus_new( \
18467 * NULL, status.purple_status_type_get_primitive( \
18469 __pyx_3 = __Pyx_PyBytes_AsString(__pyx_v_type); if (unlikely((!__pyx_3) && PyErr_Occurred())) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 661; __pyx_clineno = __LINE__; goto __pyx_L1;}
18470 __pyx_v_c_statustype = purple_account_get_status_type(((struct __pyx_vtabstruct_6purple_Account *)((struct __pyx_obj_6purple_Account *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Account *)__pyx_v_self)), __pyx_3);
18472 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":664
18473 * c_savedstatus = savedstatuses.purple_savedstatus_new( \
18474 * NULL, status.purple_status_type_get_primitive( \
18475 * c_statustype)) # <<<<<<<<<<<<<<
18476 * savedstatuses.purple_savedstatus_set_title(c_savedstatus,
18479 __pyx_v_c_savedstatus = purple_savedstatus_new(NULL, purple_status_type_get_primitive(__pyx_v_c_statustype));
18481 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":666
18483 * savedstatuses.purple_savedstatus_set_title(c_savedstatus,
18484 * type) # <<<<<<<<<<<<<<
18486 * savedstatuses.purple_savedstatus_set_message(c_savedstatus, msg)
18488 __pyx_3 = __Pyx_PyBytes_AsString(__pyx_v_type); if (unlikely((!__pyx_3) && PyErr_Occurred())) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 666; __pyx_clineno = __LINE__; goto __pyx_L1;}
18489 purple_savedstatus_set_title(__pyx_v_c_savedstatus, __pyx_3);
18494 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":668
18497 * savedstatuses.purple_savedstatus_set_message(c_savedstatus, msg) # <<<<<<<<<<<<<<
18501 __pyx_3 = __Pyx_PyBytes_AsString(__pyx_v_msg); if (unlikely((!__pyx_3) && PyErr_Occurred())) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 668; __pyx_clineno = __LINE__; goto __pyx_L1;}
18502 purple_savedstatus_set_message(__pyx_v_c_savedstatus, __pyx_3);
18504 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":669
18506 * savedstatuses.purple_savedstatus_set_message(c_savedstatus, msg)
18507 * return True # <<<<<<<<<<<<<<
18511 Py_INCREF(Py_True);
18518 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":671
18521 * return False # <<<<<<<<<<<<<<
18523 Py_INCREF(Py_False);
18524 __pyx_r = Py_False;
18529 __pyx_r = Py_None; Py_INCREF(Py_None);
18532 Py_XDECREF(__pyx_1);
18533 __Pyx_AddTraceback("purple.Account.set_status_message");
18539 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":33
18540 * cdef object __exists
18542 * def __init__(self, name, account): # <<<<<<<<<<<<<<
18543 * self.__name = name
18544 * self.__account = account
18547 static int __pyx_pf_6purple_5Buddy___init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
18548 static int __pyx_pf_6purple_5Buddy___init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
18549 PyObject *__pyx_v_name = 0;
18550 PyObject *__pyx_v_account = 0;
18553 static char *__pyx_argnames[] = {"name","account",0};
18554 if (likely(!__pyx_kwds) && likely(PyTuple_GET_SIZE(__pyx_args) == 2)) {
18555 __pyx_v_name = PyTuple_GET_ITEM(__pyx_args, 0);
18556 __pyx_v_account = PyTuple_GET_ITEM(__pyx_args, 1);
18559 if (unlikely(!PyArg_ParseTupleAndKeywords(__pyx_args, __pyx_kwds, "OO", __pyx_argnames, &__pyx_v_name, &__pyx_v_account))) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 33; __pyx_clineno = __LINE__; goto __pyx_L2;}
18563 __Pyx_AddTraceback("purple.Buddy.__init__");
18567 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":34
18569 * def __init__(self, name, account):
18570 * self.__name = name # <<<<<<<<<<<<<<
18571 * self.__account = account
18574 Py_INCREF(__pyx_v_name);
18575 Py_DECREF(((struct __pyx_obj_6purple_Buddy *)__pyx_v_self)->__name);
18576 ((struct __pyx_obj_6purple_Buddy *)__pyx_v_self)->__name = __pyx_v_name;
18578 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":35
18579 * def __init__(self, name, account):
18580 * self.__name = name
18581 * self.__account = account # <<<<<<<<<<<<<<
18583 * if self._get_structure() != NULL:
18585 Py_INCREF(__pyx_v_account);
18586 Py_DECREF(((struct __pyx_obj_6purple_Buddy *)__pyx_v_self)->__account);
18587 ((struct __pyx_obj_6purple_Buddy *)__pyx_v_self)->__account = __pyx_v_account;
18589 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":37
18590 * self.__account = account
18592 * if self._get_structure() != NULL: # <<<<<<<<<<<<<<
18593 * self.__exists = True
18596 __pyx_1 = (((struct __pyx_vtabstruct_6purple_Buddy *)((struct __pyx_obj_6purple_Buddy *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Buddy *)__pyx_v_self)) != NULL);
18599 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":38
18601 * if self._get_structure() != NULL:
18602 * self.__exists = True # <<<<<<<<<<<<<<
18604 * self.__exists = False
18606 Py_INCREF(Py_True);
18607 Py_DECREF(((struct __pyx_obj_6purple_Buddy *)__pyx_v_self)->__exists);
18608 ((struct __pyx_obj_6purple_Buddy *)__pyx_v_self)->__exists = Py_True;
18613 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":40
18614 * self.__exists = True
18616 * self.__exists = False # <<<<<<<<<<<<<<
18618 * cdef blist.PurpleBuddy *_get_structure(self):
18620 Py_INCREF(Py_False);
18621 Py_DECREF(((struct __pyx_obj_6purple_Buddy *)__pyx_v_self)->__exists);
18622 ((struct __pyx_obj_6purple_Buddy *)__pyx_v_self)->__exists = Py_False;
18630 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":42
18631 * self.__exists = False
18633 * cdef blist.PurpleBuddy *_get_structure(self): # <<<<<<<<<<<<<<
18634 * return blist.purple_find_buddy(account.purple_accounts_find( \
18635 * self.__account.username, self.__account.protocol.id), \
18638 static PurpleBuddy *__pyx_f_6purple_5Buddy__get_structure(struct __pyx_obj_6purple_Buddy *__pyx_v_self) {
18639 PurpleBuddy *__pyx_r;
18640 PyObject *__pyx_1 = 0;
18642 PyObject *__pyx_3 = 0;
18646 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":44
18647 * cdef blist.PurpleBuddy *_get_structure(self):
18648 * return blist.purple_find_buddy(account.purple_accounts_find( \
18649 * self.__account.username, self.__account.protocol.id), \ # <<<<<<<<<<<<<<
18653 __pyx_1 = PyObject_GetAttr(__pyx_v_self->__account, __pyx_kp_username); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 44; __pyx_clineno = __LINE__; goto __pyx_L1;}
18654 __pyx_2 = __Pyx_PyBytes_AsString(__pyx_1); if (unlikely((!__pyx_2) && PyErr_Occurred())) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 44; __pyx_clineno = __LINE__; goto __pyx_L1;}
18655 Py_DECREF(__pyx_1); __pyx_1 = 0;
18656 __pyx_1 = PyObject_GetAttr(__pyx_v_self->__account, __pyx_kp_protocol); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 44; __pyx_clineno = __LINE__; goto __pyx_L1;}
18657 __pyx_3 = PyObject_GetAttr(__pyx_1, __pyx_kp_id); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 44; __pyx_clineno = __LINE__; goto __pyx_L1;}
18658 Py_DECREF(__pyx_1); __pyx_1 = 0;
18659 __pyx_4 = __Pyx_PyBytes_AsString(__pyx_3); if (unlikely((!__pyx_4) && PyErr_Occurred())) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 44; __pyx_clineno = __LINE__; goto __pyx_L1;}
18660 Py_DECREF(__pyx_3); __pyx_3 = 0;
18662 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":45
18663 * return blist.purple_find_buddy(account.purple_accounts_find( \
18664 * self.__account.username, self.__account.protocol.id), \
18665 * self.__name) # <<<<<<<<<<<<<<
18667 * def __get_exists(self):
18669 __pyx_5 = __Pyx_PyBytes_AsString(__pyx_v_self->__name); if (unlikely((!__pyx_5) && PyErr_Occurred())) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 45; __pyx_clineno = __LINE__; goto __pyx_L1;}
18670 __pyx_r = purple_find_buddy(purple_accounts_find(__pyx_2, __pyx_4), __pyx_5);
18676 Py_XDECREF(__pyx_1);
18677 Py_XDECREF(__pyx_3);
18678 __Pyx_WriteUnraisable("purple.Buddy._get_structure");
18684 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":47
18687 * def __get_exists(self): # <<<<<<<<<<<<<<
18688 * return self.__exists
18689 * exists = property(__get_exists)
18692 static PyObject *__pyx_pf_6purple_5Buddy___get_exists(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
18693 static PyObject *__pyx_pf_6purple_5Buddy___get_exists(PyObject *__pyx_v_self, PyObject *unused) {
18696 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":48
18698 * def __get_exists(self):
18699 * return self.__exists # <<<<<<<<<<<<<<
18700 * exists = property(__get_exists)
18703 Py_INCREF(((struct __pyx_obj_6purple_Buddy *)__pyx_v_self)->__exists);
18704 __pyx_r = ((struct __pyx_obj_6purple_Buddy *)__pyx_v_self)->__exists;
18707 __pyx_r = Py_None; Py_INCREF(Py_None);
18712 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":51
18713 * exists = property(__get_exists)
18715 * def __get_name(self): # <<<<<<<<<<<<<<
18716 * if self.__exists:
18717 * return <char *> blist.purple_buddy_get_name(self._get_structure())
18720 static PyObject *__pyx_pf_6purple_5Buddy___get_name(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
18721 static PyObject *__pyx_pf_6purple_5Buddy___get_name(PyObject *__pyx_v_self, PyObject *unused) {
18724 PyObject *__pyx_2 = 0;
18726 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":52
18728 * def __get_name(self):
18729 * if self.__exists: # <<<<<<<<<<<<<<
18730 * return <char *> blist.purple_buddy_get_name(self._get_structure())
18733 __pyx_1 = __Pyx_PyObject_IsTrue(((struct __pyx_obj_6purple_Buddy *)__pyx_v_self)->__exists); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 52; __pyx_clineno = __LINE__; goto __pyx_L1;}
18736 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":53
18737 * def __get_name(self):
18738 * if self.__exists:
18739 * return <char *> blist.purple_buddy_get_name(self._get_structure()) # <<<<<<<<<<<<<<
18741 * return self.__name
18743 __pyx_2 = __Pyx_PyBytes_FromString(((char *)purple_buddy_get_name(((struct __pyx_vtabstruct_6purple_Buddy *)((struct __pyx_obj_6purple_Buddy *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Buddy *)__pyx_v_self))))); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 53; __pyx_clineno = __LINE__; goto __pyx_L1;}
18751 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":55
18752 * return <char *> blist.purple_buddy_get_name(self._get_structure())
18754 * return self.__name # <<<<<<<<<<<<<<
18755 * name = property(__get_name)
18758 Py_INCREF(((struct __pyx_obj_6purple_Buddy *)__pyx_v_self)->__name);
18759 __pyx_r = ((struct __pyx_obj_6purple_Buddy *)__pyx_v_self)->__name;
18764 __pyx_r = Py_None; Py_INCREF(Py_None);
18767 Py_XDECREF(__pyx_2);
18768 __Pyx_AddTraceback("purple.Buddy.__get_name");
18774 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":58
18775 * name = property(__get_name)
18777 * def __get_account(self): # <<<<<<<<<<<<<<
18778 * if self.__exists:
18779 * return self.__account
18782 static PyObject *__pyx_pf_6purple_5Buddy___get_account(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
18783 static PyObject *__pyx_pf_6purple_5Buddy___get_account(PyObject *__pyx_v_self, PyObject *unused) {
18787 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":59
18789 * def __get_account(self):
18790 * if self.__exists: # <<<<<<<<<<<<<<
18791 * return self.__account
18794 __pyx_1 = __Pyx_PyObject_IsTrue(((struct __pyx_obj_6purple_Buddy *)__pyx_v_self)->__exists); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 59; __pyx_clineno = __LINE__; goto __pyx_L1;}
18797 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":60
18798 * def __get_account(self):
18799 * if self.__exists:
18800 * return self.__account # <<<<<<<<<<<<<<
18804 Py_INCREF(((struct __pyx_obj_6purple_Buddy *)__pyx_v_self)->__account);
18805 __pyx_r = ((struct __pyx_obj_6purple_Buddy *)__pyx_v_self)->__account;
18811 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":62
18812 * return self.__account
18814 * return None # <<<<<<<<<<<<<<
18815 * account = property(__get_account)
18818 Py_INCREF(Py_None);
18824 __pyx_r = Py_None; Py_INCREF(Py_None);
18827 __Pyx_AddTraceback("purple.Buddy.__get_account");
18833 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":65
18834 * account = property(__get_account)
18836 * def __get_alias(self): # <<<<<<<<<<<<<<
18837 * cdef char *c_alias = NULL
18838 * c_alias = <char *> blist.purple_buddy_get_alias_only( \
18841 static PyObject *__pyx_kp_457;
18843 static char __pyx_k_457[] = "utf-8";
18845 static PyObject *__pyx_pf_6purple_5Buddy___get_alias(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
18846 static PyObject *__pyx_pf_6purple_5Buddy___get_alias(PyObject *__pyx_v_self, PyObject *unused) {
18847 char *__pyx_v_c_alias;
18850 PyObject *__pyx_2 = 0;
18851 PyObject *__pyx_3 = 0;
18853 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":66
18855 * def __get_alias(self):
18856 * cdef char *c_alias = NULL # <<<<<<<<<<<<<<
18857 * c_alias = <char *> blist.purple_buddy_get_alias_only( \
18858 * self._get_structure())
18860 __pyx_v_c_alias = NULL;
18863 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":68
18864 * cdef char *c_alias = NULL
18865 * c_alias = <char *> blist.purple_buddy_get_alias_only( \
18866 * self._get_structure()) # <<<<<<<<<<<<<<
18868 * return unicode(c_alias, 'utf-8')
18870 __pyx_v_c_alias = ((char *)purple_buddy_get_alias_only(((struct __pyx_vtabstruct_6purple_Buddy *)((struct __pyx_obj_6purple_Buddy *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Buddy *)__pyx_v_self))));
18872 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":69
18873 * c_alias = <char *> blist.purple_buddy_get_alias_only( \
18874 * self._get_structure())
18875 * if c_alias: # <<<<<<<<<<<<<<
18876 * return unicode(c_alias, 'utf-8')
18879 __pyx_1 = (__pyx_v_c_alias != 0);
18882 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":70
18883 * self._get_structure())
18885 * return unicode(c_alias, 'utf-8') # <<<<<<<<<<<<<<
18889 __pyx_2 = __Pyx_PyBytes_FromString(__pyx_v_c_alias); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 70; __pyx_clineno = __LINE__; goto __pyx_L1;}
18890 __pyx_3 = PyTuple_New(2); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 70; __pyx_clineno = __LINE__; goto __pyx_L1;}
18891 PyTuple_SET_ITEM(__pyx_3, 0, __pyx_2);
18892 Py_INCREF(__pyx_kp_457);
18893 PyTuple_SET_ITEM(__pyx_3, 1, __pyx_kp_457);
18895 __pyx_2 = PyObject_Call(((PyObject*)&PyUnicode_Type), ((PyObject *)__pyx_3), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 70; __pyx_clineno = __LINE__; goto __pyx_L1;}
18896 Py_DECREF(((PyObject *)__pyx_3)); __pyx_3 = 0;
18904 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":72
18905 * return unicode(c_alias, 'utf-8')
18907 * return None # <<<<<<<<<<<<<<
18908 * alias = property(__get_alias)
18911 Py_INCREF(Py_None);
18917 __pyx_r = Py_None; Py_INCREF(Py_None);
18920 Py_XDECREF(__pyx_2);
18921 Py_XDECREF(__pyx_3);
18922 __Pyx_AddTraceback("purple.Buddy.__get_alias");
18928 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":75
18929 * alias = property(__get_alias)
18931 * def __get_group(self): # <<<<<<<<<<<<<<
18932 * cdef blist.PurpleGroup *c_group = NULL
18933 * if self.__exists:
18936 static PyObject *__pyx_pf_6purple_5Buddy___get_group(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
18937 static PyObject *__pyx_pf_6purple_5Buddy___get_group(PyObject *__pyx_v_self, PyObject *unused) {
18938 PurpleGroup *__pyx_v_c_group;
18941 PyObject *__pyx_2 = 0;
18943 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":76
18945 * def __get_group(self):
18946 * cdef blist.PurpleGroup *c_group = NULL # <<<<<<<<<<<<<<
18947 * if self.__exists:
18948 * c_group = blist.purple_buddy_get_group(self._get_structure())
18950 __pyx_v_c_group = NULL;
18953 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":77
18954 * def __get_group(self):
18955 * cdef blist.PurpleGroup *c_group = NULL
18956 * if self.__exists: # <<<<<<<<<<<<<<
18957 * c_group = blist.purple_buddy_get_group(self._get_structure())
18958 * return <char *> blist.purple_group_get_name(c_group)
18960 __pyx_1 = __Pyx_PyObject_IsTrue(((struct __pyx_obj_6purple_Buddy *)__pyx_v_self)->__exists); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L1;}
18963 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":78
18964 * cdef blist.PurpleGroup *c_group = NULL
18965 * if self.__exists:
18966 * c_group = blist.purple_buddy_get_group(self._get_structure()) # <<<<<<<<<<<<<<
18967 * return <char *> blist.purple_group_get_name(c_group)
18970 __pyx_v_c_group = purple_buddy_get_group(((struct __pyx_vtabstruct_6purple_Buddy *)((struct __pyx_obj_6purple_Buddy *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Buddy *)__pyx_v_self)));
18972 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":79
18973 * if self.__exists:
18974 * c_group = blist.purple_buddy_get_group(self._get_structure())
18975 * return <char *> blist.purple_group_get_name(c_group) # <<<<<<<<<<<<<<
18979 __pyx_2 = __Pyx_PyBytes_FromString(((char *)purple_group_get_name(__pyx_v_c_group))); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 79; __pyx_clineno = __LINE__; goto __pyx_L1;}
18987 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":81
18988 * return <char *> blist.purple_group_get_name(c_group)
18990 * return None # <<<<<<<<<<<<<<
18991 * group = property(__get_group)
18994 Py_INCREF(Py_None);
19000 __pyx_r = Py_None; Py_INCREF(Py_None);
19003 Py_XDECREF(__pyx_2);
19004 __Pyx_AddTraceback("purple.Buddy.__get_group");
19010 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":84
19011 * group = property(__get_group)
19013 * def __get_server_alias(self): # <<<<<<<<<<<<<<
19014 * cdef char *c_server_alias = NULL
19015 * c_server_alias = <char *> blist.purple_buddy_get_server_alias( \
19018 static PyObject *__pyx_pf_6purple_5Buddy___get_server_alias(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
19019 static PyObject *__pyx_pf_6purple_5Buddy___get_server_alias(PyObject *__pyx_v_self, PyObject *unused) {
19020 char *__pyx_v_c_server_alias;
19023 PyObject *__pyx_2 = 0;
19025 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":85
19027 * def __get_server_alias(self):
19028 * cdef char *c_server_alias = NULL # <<<<<<<<<<<<<<
19029 * c_server_alias = <char *> blist.purple_buddy_get_server_alias( \
19030 * self._get_structure())
19032 __pyx_v_c_server_alias = NULL;
19035 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":87
19036 * cdef char *c_server_alias = NULL
19037 * c_server_alias = <char *> blist.purple_buddy_get_server_alias( \
19038 * self._get_structure()) # <<<<<<<<<<<<<<
19039 * if c_server_alias:
19040 * return c_server_alias
19042 __pyx_v_c_server_alias = ((char *)purple_buddy_get_server_alias(((struct __pyx_vtabstruct_6purple_Buddy *)((struct __pyx_obj_6purple_Buddy *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Buddy *)__pyx_v_self))));
19044 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":88
19045 * c_server_alias = <char *> blist.purple_buddy_get_server_alias( \
19046 * self._get_structure())
19047 * if c_server_alias: # <<<<<<<<<<<<<<
19048 * return c_server_alias
19051 __pyx_1 = (__pyx_v_c_server_alias != 0);
19054 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":89
19055 * self._get_structure())
19056 * if c_server_alias:
19057 * return c_server_alias # <<<<<<<<<<<<<<
19061 __pyx_2 = __Pyx_PyBytes_FromString(__pyx_v_c_server_alias); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 89; __pyx_clineno = __LINE__; goto __pyx_L1;}
19069 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":91
19070 * return c_server_alias
19072 * return None # <<<<<<<<<<<<<<
19073 * server_alias = property(__get_server_alias)
19076 Py_INCREF(Py_None);
19082 __pyx_r = Py_None; Py_INCREF(Py_None);
19085 Py_XDECREF(__pyx_2);
19086 __Pyx_AddTraceback("purple.Buddy.__get_server_alias");
19092 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":94
19093 * server_alias = property(__get_server_alias)
19095 * def __get_contact_alias(self): # <<<<<<<<<<<<<<
19096 * cdef char *c_contact_alias = NULL
19097 * c_contact_alias = <char *> blist.purple_buddy_get_contact_alias( \
19100 static PyObject *__pyx_pf_6purple_5Buddy___get_contact_alias(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
19101 static PyObject *__pyx_pf_6purple_5Buddy___get_contact_alias(PyObject *__pyx_v_self, PyObject *unused) {
19102 char *__pyx_v_c_contact_alias;
19105 PyObject *__pyx_2 = 0;
19107 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":95
19109 * def __get_contact_alias(self):
19110 * cdef char *c_contact_alias = NULL # <<<<<<<<<<<<<<
19111 * c_contact_alias = <char *> blist.purple_buddy_get_contact_alias( \
19112 * self._get_structure())
19114 __pyx_v_c_contact_alias = NULL;
19117 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":97
19118 * cdef char *c_contact_alias = NULL
19119 * c_contact_alias = <char *> blist.purple_buddy_get_contact_alias( \
19120 * self._get_structure()) # <<<<<<<<<<<<<<
19121 * if c_contact_alias:
19122 * return c_contact_alias
19124 __pyx_v_c_contact_alias = ((char *)purple_buddy_get_contact_alias(((struct __pyx_vtabstruct_6purple_Buddy *)((struct __pyx_obj_6purple_Buddy *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Buddy *)__pyx_v_self))));
19126 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":98
19127 * c_contact_alias = <char *> blist.purple_buddy_get_contact_alias( \
19128 * self._get_structure())
19129 * if c_contact_alias: # <<<<<<<<<<<<<<
19130 * return c_contact_alias
19133 __pyx_1 = (__pyx_v_c_contact_alias != 0);
19136 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":99
19137 * self._get_structure())
19138 * if c_contact_alias:
19139 * return c_contact_alias # <<<<<<<<<<<<<<
19143 __pyx_2 = __Pyx_PyBytes_FromString(__pyx_v_c_contact_alias); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 99; __pyx_clineno = __LINE__; goto __pyx_L1;}
19151 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":101
19152 * return c_contact_alias
19154 * return None # <<<<<<<<<<<<<<
19155 * contact_alias = property(__get_contact_alias)
19158 Py_INCREF(Py_None);
19164 __pyx_r = Py_None; Py_INCREF(Py_None);
19167 Py_XDECREF(__pyx_2);
19168 __Pyx_AddTraceback("purple.Buddy.__get_contact_alias");
19174 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":104
19175 * contact_alias = property(__get_contact_alias)
19177 * def __get_local_alias(self): # <<<<<<<<<<<<<<
19178 * cdef char *c_local_alias = NULL
19179 * c_local_alias = <char *> blist.purple_buddy_get_local_alias( \
19182 static PyObject *__pyx_pf_6purple_5Buddy___get_local_alias(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
19183 static PyObject *__pyx_pf_6purple_5Buddy___get_local_alias(PyObject *__pyx_v_self, PyObject *unused) {
19184 char *__pyx_v_c_local_alias;
19187 PyObject *__pyx_2 = 0;
19189 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":105
19191 * def __get_local_alias(self):
19192 * cdef char *c_local_alias = NULL # <<<<<<<<<<<<<<
19193 * c_local_alias = <char *> blist.purple_buddy_get_local_alias( \
19194 * self._get_structure())
19196 __pyx_v_c_local_alias = NULL;
19199 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":107
19200 * cdef char *c_local_alias = NULL
19201 * c_local_alias = <char *> blist.purple_buddy_get_local_alias( \
19202 * self._get_structure()) # <<<<<<<<<<<<<<
19203 * if c_local_alias:
19204 * return c_local_alias
19206 __pyx_v_c_local_alias = ((char *)purple_buddy_get_local_alias(((struct __pyx_vtabstruct_6purple_Buddy *)((struct __pyx_obj_6purple_Buddy *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Buddy *)__pyx_v_self))));
19208 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":108
19209 * c_local_alias = <char *> blist.purple_buddy_get_local_alias( \
19210 * self._get_structure())
19211 * if c_local_alias: # <<<<<<<<<<<<<<
19212 * return c_local_alias
19215 __pyx_1 = (__pyx_v_c_local_alias != 0);
19218 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":109
19219 * self._get_structure())
19220 * if c_local_alias:
19221 * return c_local_alias # <<<<<<<<<<<<<<
19225 __pyx_2 = __Pyx_PyBytes_FromString(__pyx_v_c_local_alias); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 109; __pyx_clineno = __LINE__; goto __pyx_L1;}
19233 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":111
19234 * return c_local_alias
19236 * return None # <<<<<<<<<<<<<<
19237 * local_alias = property(__get_local_alias)
19240 Py_INCREF(Py_None);
19246 __pyx_r = Py_None; Py_INCREF(Py_None);
19249 Py_XDECREF(__pyx_2);
19250 __Pyx_AddTraceback("purple.Buddy.__get_local_alias");
19256 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":114
19257 * local_alias = property(__get_local_alias)
19259 * def __get_available(self): # <<<<<<<<<<<<<<
19260 * if self.__exists:
19261 * return status.purple_presence_is_available( \
19264 static PyObject *__pyx_pf_6purple_5Buddy___get_available(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
19265 static PyObject *__pyx_pf_6purple_5Buddy___get_available(PyObject *__pyx_v_self, PyObject *unused) {
19268 PyObject *__pyx_2 = 0;
19270 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":115
19272 * def __get_available(self):
19273 * if self.__exists: # <<<<<<<<<<<<<<
19274 * return status.purple_presence_is_available( \
19275 * blist.purple_buddy_get_presence(self._get_structure()))
19277 __pyx_1 = __Pyx_PyObject_IsTrue(((struct __pyx_obj_6purple_Buddy *)__pyx_v_self)->__exists); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 115; __pyx_clineno = __LINE__; goto __pyx_L1;}
19280 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":117
19281 * if self.__exists:
19282 * return status.purple_presence_is_available( \
19283 * blist.purple_buddy_get_presence(self._get_structure())) # <<<<<<<<<<<<<<
19287 __pyx_2 = PyInt_FromLong(purple_presence_is_available(purple_buddy_get_presence(((struct __pyx_vtabstruct_6purple_Buddy *)((struct __pyx_obj_6purple_Buddy *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Buddy *)__pyx_v_self))))); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 116; __pyx_clineno = __LINE__; goto __pyx_L1;}
19295 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":119
19296 * blist.purple_buddy_get_presence(self._get_structure()))
19298 * return None # <<<<<<<<<<<<<<
19299 * available = property(__get_available)
19302 Py_INCREF(Py_None);
19308 __pyx_r = Py_None; Py_INCREF(Py_None);
19311 Py_XDECREF(__pyx_2);
19312 __Pyx_AddTraceback("purple.Buddy.__get_available");
19318 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":122
19319 * available = property(__get_available)
19321 * def __get_online(self): # <<<<<<<<<<<<<<
19322 * if self.__exists:
19323 * return status.purple_presence_is_online( \
19326 static PyObject *__pyx_pf_6purple_5Buddy___get_online(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
19327 static PyObject *__pyx_pf_6purple_5Buddy___get_online(PyObject *__pyx_v_self, PyObject *unused) {
19330 PyObject *__pyx_2 = 0;
19332 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":123
19334 * def __get_online(self):
19335 * if self.__exists: # <<<<<<<<<<<<<<
19336 * return status.purple_presence_is_online( \
19337 * blist.purple_buddy_get_presence(self._get_structure()))
19339 __pyx_1 = __Pyx_PyObject_IsTrue(((struct __pyx_obj_6purple_Buddy *)__pyx_v_self)->__exists); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 123; __pyx_clineno = __LINE__; goto __pyx_L1;}
19342 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":125
19343 * if self.__exists:
19344 * return status.purple_presence_is_online( \
19345 * blist.purple_buddy_get_presence(self._get_structure())) # <<<<<<<<<<<<<<
19349 __pyx_2 = PyInt_FromLong(purple_presence_is_online(purple_buddy_get_presence(((struct __pyx_vtabstruct_6purple_Buddy *)((struct __pyx_obj_6purple_Buddy *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Buddy *)__pyx_v_self))))); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 124; __pyx_clineno = __LINE__; goto __pyx_L1;}
19357 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":127
19358 * blist.purple_buddy_get_presence(self._get_structure()))
19360 * return None # <<<<<<<<<<<<<<
19361 * online = property(__get_online)
19364 Py_INCREF(Py_None);
19370 __pyx_r = Py_None; Py_INCREF(Py_None);
19373 Py_XDECREF(__pyx_2);
19374 __Pyx_AddTraceback("purple.Buddy.__get_online");
19380 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":130
19381 * online = property(__get_online)
19383 * def __get_idle(self): # <<<<<<<<<<<<<<
19384 * if self.__exists:
19385 * return status.purple_presence_is_idle( \
19388 static PyObject *__pyx_pf_6purple_5Buddy___get_idle(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
19389 static PyObject *__pyx_pf_6purple_5Buddy___get_idle(PyObject *__pyx_v_self, PyObject *unused) {
19392 PyObject *__pyx_2 = 0;
19394 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":131
19396 * def __get_idle(self):
19397 * if self.__exists: # <<<<<<<<<<<<<<
19398 * return status.purple_presence_is_idle( \
19399 * blist.purple_buddy_get_presence(self._get_structure()))
19401 __pyx_1 = __Pyx_PyObject_IsTrue(((struct __pyx_obj_6purple_Buddy *)__pyx_v_self)->__exists); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 131; __pyx_clineno = __LINE__; goto __pyx_L1;}
19404 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":133
19405 * if self.__exists:
19406 * return status.purple_presence_is_idle( \
19407 * blist.purple_buddy_get_presence(self._get_structure())) # <<<<<<<<<<<<<<
19411 __pyx_2 = PyInt_FromLong(purple_presence_is_idle(purple_buddy_get_presence(((struct __pyx_vtabstruct_6purple_Buddy *)((struct __pyx_obj_6purple_Buddy *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Buddy *)__pyx_v_self))))); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 132; __pyx_clineno = __LINE__; goto __pyx_L1;}
19419 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":135
19420 * blist.purple_buddy_get_presence(self._get_structure()))
19422 * return None # <<<<<<<<<<<<<<
19423 * idle = property(__get_idle)
19426 Py_INCREF(Py_None);
19432 __pyx_r = Py_None; Py_INCREF(Py_None);
19435 Py_XDECREF(__pyx_2);
19436 __Pyx_AddTraceback("purple.Buddy.__get_idle");
19442 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":138
19443 * idle = property(__get_idle)
19445 * def __get_active_status(self): # <<<<<<<<<<<<<<
19446 * cdef status.PurpleStatus* c_status = NULL
19447 * cdef char *type = NULL
19450 static char __pyx_k_459[] = "type";
19451 static char __pyx_k_460[] = "name";
19452 static char __pyx_k_461[] = "message";
19454 static PyObject *__pyx_kp_459;
19455 static PyObject *__pyx_kp_460;
19456 static PyObject *__pyx_kp_461;
19459 static char __pyx_k_458[] = "message";
19461 static PyObject *__pyx_pf_6purple_5Buddy___get_active_status(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
19462 static PyObject *__pyx_pf_6purple_5Buddy___get_active_status(PyObject *__pyx_v_self, PyObject *unused) {
19463 PurpleStatus *__pyx_v_c_status;
19464 char *__pyx_v_type;
19465 char *__pyx_v_name;
19467 PyObject *__pyx_v_active;
19470 PyObject *__pyx_2 = 0;
19471 __pyx_v_active = Py_None; Py_INCREF(Py_None);
19473 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":139
19475 * def __get_active_status(self):
19476 * cdef status.PurpleStatus* c_status = NULL # <<<<<<<<<<<<<<
19477 * cdef char *type = NULL
19478 * cdef char *name = NULL
19480 __pyx_v_c_status = NULL;
19483 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":140
19484 * def __get_active_status(self):
19485 * cdef status.PurpleStatus* c_status = NULL
19486 * cdef char *type = NULL # <<<<<<<<<<<<<<
19487 * cdef char *name = NULL
19488 * cdef char *msg = NULL
19490 __pyx_v_type = NULL;
19493 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":141
19494 * cdef status.PurpleStatus* c_status = NULL
19495 * cdef char *type = NULL
19496 * cdef char *name = NULL # <<<<<<<<<<<<<<
19497 * cdef char *msg = NULL
19498 * if self.__exists:
19500 __pyx_v_name = NULL;
19503 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":142
19504 * cdef char *type = NULL
19505 * cdef char *name = NULL
19506 * cdef char *msg = NULL # <<<<<<<<<<<<<<
19507 * if self.__exists:
19510 __pyx_v_msg = NULL;
19513 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":143
19514 * cdef char *name = NULL
19515 * cdef char *msg = NULL
19516 * if self.__exists: # <<<<<<<<<<<<<<
19518 * c_status = status.purple_presence_get_active_status( \
19520 __pyx_1 = __Pyx_PyObject_IsTrue(((struct __pyx_obj_6purple_Buddy *)__pyx_v_self)->__exists); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 143; __pyx_clineno = __LINE__; goto __pyx_L1;}
19523 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":144
19524 * cdef char *msg = NULL
19525 * if self.__exists:
19526 * active = {} # <<<<<<<<<<<<<<
19527 * c_status = status.purple_presence_get_active_status( \
19528 * blist.purple_buddy_get_presence(self._get_structure()))
19530 __pyx_2 = PyDict_New(); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 144; __pyx_clineno = __LINE__; goto __pyx_L1;}
19531 Py_DECREF(__pyx_v_active);
19532 __pyx_v_active = ((PyObject *)__pyx_2);
19535 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":146
19537 * c_status = status.purple_presence_get_active_status( \
19538 * blist.purple_buddy_get_presence(self._get_structure())) # <<<<<<<<<<<<<<
19539 * type = <char *> status.purple_status_get_id(c_status)
19540 * name = <char *> status.purple_status_get_name(c_status)
19542 __pyx_v_c_status = purple_presence_get_active_status(purple_buddy_get_presence(((struct __pyx_vtabstruct_6purple_Buddy *)((struct __pyx_obj_6purple_Buddy *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Buddy *)__pyx_v_self))));
19544 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":147
19545 * c_status = status.purple_presence_get_active_status( \
19546 * blist.purple_buddy_get_presence(self._get_structure()))
19547 * type = <char *> status.purple_status_get_id(c_status) # <<<<<<<<<<<<<<
19548 * name = <char *> status.purple_status_get_name(c_status)
19549 * msg = <char *> status.purple_status_get_attr_string(c_status,
19551 __pyx_v_type = ((char *)purple_status_get_id(__pyx_v_c_status));
19553 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":148
19554 * blist.purple_buddy_get_presence(self._get_structure()))
19555 * type = <char *> status.purple_status_get_id(c_status)
19556 * name = <char *> status.purple_status_get_name(c_status) # <<<<<<<<<<<<<<
19557 * msg = <char *> status.purple_status_get_attr_string(c_status,
19560 __pyx_v_name = ((char *)purple_status_get_name(__pyx_v_c_status));
19562 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":150
19563 * name = <char *> status.purple_status_get_name(c_status)
19564 * msg = <char *> status.purple_status_get_attr_string(c_status,
19565 * "message") # <<<<<<<<<<<<<<
19567 * active['type'] = type
19569 __pyx_v_msg = ((char *)purple_status_get_attr_string(__pyx_v_c_status, __pyx_k_458));
19571 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":152
19574 * active['type'] = type # <<<<<<<<<<<<<<
19575 * active['name'] = name
19578 __pyx_2 = __Pyx_PyBytes_FromString(__pyx_v_type); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 152; __pyx_clineno = __LINE__; goto __pyx_L1;}
19579 if (PyObject_SetItem(__pyx_v_active, __pyx_kp_459, __pyx_2) < 0) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 152; __pyx_clineno = __LINE__; goto __pyx_L1;}
19580 Py_DECREF(__pyx_2); __pyx_2 = 0;
19582 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":153
19584 * active['type'] = type
19585 * active['name'] = name # <<<<<<<<<<<<<<
19587 * active['message'] = msg
19589 __pyx_2 = __Pyx_PyBytes_FromString(__pyx_v_name); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 153; __pyx_clineno = __LINE__; goto __pyx_L1;}
19590 if (PyObject_SetItem(__pyx_v_active, __pyx_kp_460, __pyx_2) < 0) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 153; __pyx_clineno = __LINE__; goto __pyx_L1;}
19591 Py_DECREF(__pyx_2); __pyx_2 = 0;
19593 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":154
19594 * active['type'] = type
19595 * active['name'] = name
19596 * if msg: # <<<<<<<<<<<<<<
19597 * active['message'] = msg
19600 __pyx_1 = (__pyx_v_msg != 0);
19603 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":155
19604 * active['name'] = name
19606 * active['message'] = msg # <<<<<<<<<<<<<<
19610 __pyx_2 = __Pyx_PyBytes_FromString(__pyx_v_msg); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 155; __pyx_clineno = __LINE__; goto __pyx_L1;}
19611 if (PyObject_SetItem(__pyx_v_active, __pyx_kp_461, __pyx_2) < 0) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 155; __pyx_clineno = __LINE__; goto __pyx_L1;}
19612 Py_DECREF(__pyx_2); __pyx_2 = 0;
19617 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":157
19618 * active['message'] = msg
19620 * return active # <<<<<<<<<<<<<<
19624 Py_INCREF(__pyx_v_active);
19625 __pyx_r = __pyx_v_active;
19631 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":159
19634 * return None # <<<<<<<<<<<<<<
19635 * active_status = property(__get_active_status)
19638 Py_INCREF(Py_None);
19644 __pyx_r = Py_None; Py_INCREF(Py_None);
19647 Py_XDECREF(__pyx_2);
19648 __Pyx_AddTraceback("purple.Buddy.__get_active_status");
19651 Py_DECREF(__pyx_v_active);
19655 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":162
19656 * active_status = property(__get_active_status)
19658 * def set_alias(self, alias): # <<<<<<<<<<<<<<
19659 * if self.__exists:
19660 * blist.purple_blist_alias_buddy(self._get_structure(), alias)
19663 static PyObject *__pyx_pf_6purple_5Buddy_set_alias(PyObject *__pyx_v_self, PyObject *__pyx_v_alias); /*proto*/
19664 static PyObject *__pyx_pf_6purple_5Buddy_set_alias(PyObject *__pyx_v_self, PyObject *__pyx_v_alias) {
19669 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":163
19671 * def set_alias(self, alias):
19672 * if self.__exists: # <<<<<<<<<<<<<<
19673 * blist.purple_blist_alias_buddy(self._get_structure(), alias)
19676 __pyx_1 = __Pyx_PyObject_IsTrue(((struct __pyx_obj_6purple_Buddy *)__pyx_v_self)->__exists); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L1;}
19679 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":164
19680 * def set_alias(self, alias):
19681 * if self.__exists:
19682 * blist.purple_blist_alias_buddy(self._get_structure(), alias) # <<<<<<<<<<<<<<
19686 __pyx_2 = __Pyx_PyBytes_AsString(__pyx_v_alias); if (unlikely((!__pyx_2) && PyErr_Occurred())) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 164; __pyx_clineno = __LINE__; goto __pyx_L1;}
19687 purple_blist_alias_buddy(((struct __pyx_vtabstruct_6purple_Buddy *)((struct __pyx_obj_6purple_Buddy *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Buddy *)__pyx_v_self)), __pyx_2);
19689 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":165
19690 * if self.__exists:
19691 * blist.purple_blist_alias_buddy(self._get_structure(), alias)
19692 * return True # <<<<<<<<<<<<<<
19696 Py_INCREF(Py_True);
19703 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":167
19706 * return False # <<<<<<<<<<<<<<
19708 * def set_group(self, group):
19710 Py_INCREF(Py_False);
19711 __pyx_r = Py_False;
19716 __pyx_r = Py_None; Py_INCREF(Py_None);
19719 __Pyx_AddTraceback("purple.Buddy.set_alias");
19725 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":169
19728 * def set_group(self, group): # <<<<<<<<<<<<<<
19729 * cdef blist.PurpleContact *c_contact = NULL
19730 * cdef blist.PurpleGroup *c_group = NULL
19733 static PyObject *__pyx_pf_6purple_5Buddy_set_group(PyObject *__pyx_v_self, PyObject *__pyx_v_group); /*proto*/
19734 static PyObject *__pyx_pf_6purple_5Buddy_set_group(PyObject *__pyx_v_self, PyObject *__pyx_v_group) {
19735 PurpleContact *__pyx_v_c_contact;
19736 PurpleGroup *__pyx_v_c_group;
19738 PyObject *__pyx_1 = 0;
19742 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":170
19744 * def set_group(self, group):
19745 * cdef blist.PurpleContact *c_contact = NULL # <<<<<<<<<<<<<<
19746 * cdef blist.PurpleGroup *c_group = NULL
19747 * if self.__exists and group:
19749 __pyx_v_c_contact = NULL;
19752 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":171
19753 * def set_group(self, group):
19754 * cdef blist.PurpleContact *c_contact = NULL
19755 * cdef blist.PurpleGroup *c_group = NULL # <<<<<<<<<<<<<<
19756 * if self.__exists and group:
19757 * c_group = blist.purple_find_group(group)
19759 __pyx_v_c_group = NULL;
19762 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":172
19763 * cdef blist.PurpleContact *c_contact = NULL
19764 * cdef blist.PurpleGroup *c_group = NULL
19765 * if self.__exists and group: # <<<<<<<<<<<<<<
19766 * c_group = blist.purple_find_group(group)
19767 * if c_group == NULL:
19769 __pyx_1 = ((struct __pyx_obj_6purple_Buddy *)__pyx_v_self)->__exists;
19770 Py_INCREF(__pyx_1);
19771 __pyx_2 = __Pyx_PyObject_IsTrue(__pyx_1); if (unlikely(__pyx_2 < 0)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 172; __pyx_clineno = __LINE__; goto __pyx_L1;}
19773 Py_DECREF(__pyx_1); __pyx_1 = 0;
19774 __pyx_1 = __pyx_v_group;
19775 Py_INCREF(__pyx_1);
19777 __pyx_2 = __Pyx_PyObject_IsTrue(__pyx_1); if (unlikely(__pyx_2 < 0)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 172; __pyx_clineno = __LINE__; goto __pyx_L1;}
19778 Py_DECREF(__pyx_1); __pyx_1 = 0;
19781 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":173
19782 * cdef blist.PurpleGroup *c_group = NULL
19783 * if self.__exists and group:
19784 * c_group = blist.purple_find_group(group) # <<<<<<<<<<<<<<
19785 * if c_group == NULL:
19786 * c_group = blist.purple_group_new(group)
19788 __pyx_3 = __Pyx_PyBytes_AsString(__pyx_v_group); if (unlikely((!__pyx_3) && PyErr_Occurred())) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 173; __pyx_clineno = __LINE__; goto __pyx_L1;}
19789 __pyx_v_c_group = purple_find_group(__pyx_3);
19791 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":174
19792 * if self.__exists and group:
19793 * c_group = blist.purple_find_group(group)
19794 * if c_group == NULL: # <<<<<<<<<<<<<<
19795 * c_group = blist.purple_group_new(group)
19798 __pyx_2 = (__pyx_v_c_group == NULL);
19801 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":175
19802 * c_group = blist.purple_find_group(group)
19803 * if c_group == NULL:
19804 * c_group = blist.purple_group_new(group) # <<<<<<<<<<<<<<
19806 * c_contact = blist.purple_buddy_get_contact(self._get_structure())
19808 __pyx_3 = __Pyx_PyBytes_AsString(__pyx_v_group); if (unlikely((!__pyx_3) && PyErr_Occurred())) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 175; __pyx_clineno = __LINE__; goto __pyx_L1;}
19809 __pyx_v_c_group = purple_group_new(__pyx_3);
19814 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":177
19815 * c_group = blist.purple_group_new(group)
19817 * c_contact = blist.purple_buddy_get_contact(self._get_structure()) # <<<<<<<<<<<<<<
19818 * blist.purple_blist_add_contact(c_contact, c_group, NULL)
19821 __pyx_v_c_contact = purple_buddy_get_contact(((struct __pyx_vtabstruct_6purple_Buddy *)((struct __pyx_obj_6purple_Buddy *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Buddy *)__pyx_v_self)));
19823 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":178
19825 * c_contact = blist.purple_buddy_get_contact(self._get_structure())
19826 * blist.purple_blist_add_contact(c_contact, c_group, NULL) # <<<<<<<<<<<<<<
19830 purple_blist_add_contact(__pyx_v_c_contact, __pyx_v_c_group, NULL);
19832 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":179
19833 * c_contact = blist.purple_buddy_get_contact(self._get_structure())
19834 * blist.purple_blist_add_contact(c_contact, c_group, NULL)
19835 * return True # <<<<<<<<<<<<<<
19839 Py_INCREF(Py_True);
19846 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":181
19849 * return False # <<<<<<<<<<<<<<
19851 Py_INCREF(Py_False);
19852 __pyx_r = Py_False;
19857 __pyx_r = Py_None; Py_INCREF(Py_None);
19860 Py_XDECREF(__pyx_1);
19861 __Pyx_AddTraceback("purple.Buddy.set_group");
19867 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":35
19868 * cdef object __exists
19870 * def __init__(self, type, account, name): # <<<<<<<<<<<<<<
19872 * "UNKNOWN": conversation.PURPLE_CONV_TYPE_UNKNOWN,
19875 static char __pyx_k_462[] = "UNKNOWN";
19876 static char __pyx_k_463[] = "IM";
19877 static char __pyx_k_464[] = "CHAT";
19878 static char __pyx_k_465[] = "MISC";
19879 static char __pyx_k_466[] = "ANY";
19881 static PyObject *__pyx_kp_462;
19882 static PyObject *__pyx_kp_463;
19883 static PyObject *__pyx_kp_464;
19884 static PyObject *__pyx_kp_465;
19885 static PyObject *__pyx_kp_466;
19889 static int __pyx_pf_6purple_12Conversation___init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
19890 static int __pyx_pf_6purple_12Conversation___init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
19891 PyObject *__pyx_v_type = 0;
19892 PyObject *__pyx_v_account = 0;
19893 PyObject *__pyx_v_name = 0;
19895 PyObject *__pyx_1 = 0;
19896 PyObject *__pyx_2 = 0;
19898 static char *__pyx_argnames[] = {"type","account","name",0};
19899 if (likely(!__pyx_kwds) && likely(PyTuple_GET_SIZE(__pyx_args) == 3)) {
19900 __pyx_v_type = PyTuple_GET_ITEM(__pyx_args, 0);
19901 __pyx_v_account = PyTuple_GET_ITEM(__pyx_args, 1);
19902 __pyx_v_name = PyTuple_GET_ITEM(__pyx_args, 2);
19905 if (unlikely(!PyArg_ParseTupleAndKeywords(__pyx_args, __pyx_kwds, "OOO", __pyx_argnames, &__pyx_v_type, &__pyx_v_account, &__pyx_v_name))) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 35; __pyx_clineno = __LINE__; goto __pyx_L2;}
19909 __Pyx_AddTraceback("purple.Conversation.__init__");
19913 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":41
19914 * "CHAT": conversation.PURPLE_CONV_TYPE_CHAT,
19915 * "MISC": conversation.PURPLE_CONV_TYPE_MISC,
19916 * "ANY": conversation.PURPLE_CONV_TYPE_ANY }[type] # <<<<<<<<<<<<<<
19917 * self.__account = account
19918 * self.__name = name
19920 __pyx_1 = PyDict_New(); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 36; __pyx_clineno = __LINE__; goto __pyx_L1;}
19922 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":37
19923 * def __init__(self, type, account, name):
19925 * "UNKNOWN": conversation.PURPLE_CONV_TYPE_UNKNOWN, # <<<<<<<<<<<<<<
19926 * "IM": conversation.PURPLE_CONV_TYPE_IM,
19927 * "CHAT": conversation.PURPLE_CONV_TYPE_CHAT,
19929 __pyx_2 = PyInt_FromLong(PURPLE_CONV_TYPE_UNKNOWN); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 37; __pyx_clineno = __LINE__; goto __pyx_L1;}
19930 if (PyDict_SetItem(__pyx_1, __pyx_kp_462, __pyx_2) < 0) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 36; __pyx_clineno = __LINE__; goto __pyx_L1;}
19931 Py_DECREF(__pyx_2); __pyx_2 = 0;
19933 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":38
19935 * "UNKNOWN": conversation.PURPLE_CONV_TYPE_UNKNOWN,
19936 * "IM": conversation.PURPLE_CONV_TYPE_IM, # <<<<<<<<<<<<<<
19937 * "CHAT": conversation.PURPLE_CONV_TYPE_CHAT,
19938 * "MISC": conversation.PURPLE_CONV_TYPE_MISC,
19940 __pyx_2 = PyInt_FromLong(PURPLE_CONV_TYPE_IM); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 38; __pyx_clineno = __LINE__; goto __pyx_L1;}
19941 if (PyDict_SetItem(__pyx_1, __pyx_kp_463, __pyx_2) < 0) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 36; __pyx_clineno = __LINE__; goto __pyx_L1;}
19942 Py_DECREF(__pyx_2); __pyx_2 = 0;
19944 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":39
19945 * "UNKNOWN": conversation.PURPLE_CONV_TYPE_UNKNOWN,
19946 * "IM": conversation.PURPLE_CONV_TYPE_IM,
19947 * "CHAT": conversation.PURPLE_CONV_TYPE_CHAT, # <<<<<<<<<<<<<<
19948 * "MISC": conversation.PURPLE_CONV_TYPE_MISC,
19949 * "ANY": conversation.PURPLE_CONV_TYPE_ANY }[type]
19951 __pyx_2 = PyInt_FromLong(PURPLE_CONV_TYPE_CHAT); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 39; __pyx_clineno = __LINE__; goto __pyx_L1;}
19952 if (PyDict_SetItem(__pyx_1, __pyx_kp_464, __pyx_2) < 0) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 36; __pyx_clineno = __LINE__; goto __pyx_L1;}
19953 Py_DECREF(__pyx_2); __pyx_2 = 0;
19955 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":40
19956 * "IM": conversation.PURPLE_CONV_TYPE_IM,
19957 * "CHAT": conversation.PURPLE_CONV_TYPE_CHAT,
19958 * "MISC": conversation.PURPLE_CONV_TYPE_MISC, # <<<<<<<<<<<<<<
19959 * "ANY": conversation.PURPLE_CONV_TYPE_ANY }[type]
19960 * self.__account = account
19962 __pyx_2 = PyInt_FromLong(PURPLE_CONV_TYPE_MISC); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 40; __pyx_clineno = __LINE__; goto __pyx_L1;}
19963 if (PyDict_SetItem(__pyx_1, __pyx_kp_465, __pyx_2) < 0) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 36; __pyx_clineno = __LINE__; goto __pyx_L1;}
19964 Py_DECREF(__pyx_2); __pyx_2 = 0;
19966 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":41
19967 * "CHAT": conversation.PURPLE_CONV_TYPE_CHAT,
19968 * "MISC": conversation.PURPLE_CONV_TYPE_MISC,
19969 * "ANY": conversation.PURPLE_CONV_TYPE_ANY }[type] # <<<<<<<<<<<<<<
19970 * self.__account = account
19971 * self.__name = name
19973 __pyx_2 = PyInt_FromLong(PURPLE_CONV_TYPE_ANY); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 41; __pyx_clineno = __LINE__; goto __pyx_L1;}
19974 if (PyDict_SetItem(__pyx_1, __pyx_kp_466, __pyx_2) < 0) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 36; __pyx_clineno = __LINE__; goto __pyx_L1;}
19975 Py_DECREF(__pyx_2); __pyx_2 = 0;
19976 __pyx_2 = PyObject_GetItem(((PyObject *)__pyx_1), __pyx_v_type); if (!__pyx_2) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 41; __pyx_clineno = __LINE__; goto __pyx_L1;}
19977 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
19979 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":36
19981 * def __init__(self, type, account, name):
19982 * self.__type = { # <<<<<<<<<<<<<<
19983 * "UNKNOWN": conversation.PURPLE_CONV_TYPE_UNKNOWN,
19984 * "IM": conversation.PURPLE_CONV_TYPE_IM,
19986 Py_DECREF(((struct __pyx_obj_6purple_Conversation *)__pyx_v_self)->__type);
19987 ((struct __pyx_obj_6purple_Conversation *)__pyx_v_self)->__type = __pyx_2;
19990 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":42
19991 * "MISC": conversation.PURPLE_CONV_TYPE_MISC,
19992 * "ANY": conversation.PURPLE_CONV_TYPE_ANY }[type]
19993 * self.__account = account # <<<<<<<<<<<<<<
19994 * self.__name = name
19997 Py_INCREF(__pyx_v_account);
19998 Py_DECREF(((struct __pyx_obj_6purple_Conversation *)__pyx_v_self)->__account);
19999 ((struct __pyx_obj_6purple_Conversation *)__pyx_v_self)->__account = __pyx_v_account;
20001 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":43
20002 * "ANY": conversation.PURPLE_CONV_TYPE_ANY }[type]
20003 * self.__account = account
20004 * self.__name = name # <<<<<<<<<<<<<<
20006 * if self._get_structure() != NULL:
20008 Py_INCREF(__pyx_v_name);
20009 Py_DECREF(((struct __pyx_obj_6purple_Conversation *)__pyx_v_self)->__name);
20010 ((struct __pyx_obj_6purple_Conversation *)__pyx_v_self)->__name = __pyx_v_name;
20012 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":45
20013 * self.__name = name
20015 * if self._get_structure() != NULL: # <<<<<<<<<<<<<<
20016 * self.__exists = True
20019 __pyx_3 = (((struct __pyx_vtabstruct_6purple_Conversation *)((struct __pyx_obj_6purple_Conversation *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Conversation *)__pyx_v_self)) != NULL);
20022 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":46
20024 * if self._get_structure() != NULL:
20025 * self.__exists = True # <<<<<<<<<<<<<<
20027 * self.__exists = False
20029 Py_INCREF(Py_True);
20030 Py_DECREF(((struct __pyx_obj_6purple_Conversation *)__pyx_v_self)->__exists);
20031 ((struct __pyx_obj_6purple_Conversation *)__pyx_v_self)->__exists = Py_True;
20036 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":48
20037 * self.__exists = True
20039 * self.__exists = False # <<<<<<<<<<<<<<
20041 * cdef conversation.PurpleConversation *_get_structure(self):
20043 Py_INCREF(Py_False);
20044 Py_DECREF(((struct __pyx_obj_6purple_Conversation *)__pyx_v_self)->__exists);
20045 ((struct __pyx_obj_6purple_Conversation *)__pyx_v_self)->__exists = Py_False;
20052 Py_XDECREF(__pyx_1);
20053 Py_XDECREF(__pyx_2);
20054 __Pyx_AddTraceback("purple.Conversation.__init__");
20060 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":50
20061 * self.__exists = False
20063 * cdef conversation.PurpleConversation *_get_structure(self): # <<<<<<<<<<<<<<
20064 * return conversation.purple_find_conversation_with_account( \
20065 * self.__type, self.__name, account.purple_accounts_find( \
20068 static PurpleConversation *__pyx_f_6purple_12Conversation__get_structure(struct __pyx_obj_6purple_Conversation *__pyx_v_self) {
20069 PurpleConversation *__pyx_r;
20070 PurpleConversationType __pyx_1;
20072 PyObject *__pyx_3 = 0;
20074 PyObject *__pyx_5 = 0;
20077 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":52
20078 * cdef conversation.PurpleConversation *_get_structure(self):
20079 * return conversation.purple_find_conversation_with_account( \
20080 * self.__type, self.__name, account.purple_accounts_find( \ # <<<<<<<<<<<<<<
20081 * self.__account.username, self.__account.protocol.id))
20084 __pyx_1 = ((PurpleConversationType)PyInt_AsLong(__pyx_v_self->__type)); if (unlikely(PyErr_Occurred())) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 52; __pyx_clineno = __LINE__; goto __pyx_L1;}
20085 __pyx_2 = __Pyx_PyBytes_AsString(__pyx_v_self->__name); if (unlikely((!__pyx_2) && PyErr_Occurred())) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 52; __pyx_clineno = __LINE__; goto __pyx_L1;}
20087 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":53
20088 * return conversation.purple_find_conversation_with_account( \
20089 * self.__type, self.__name, account.purple_accounts_find( \
20090 * self.__account.username, self.__account.protocol.id)) # <<<<<<<<<<<<<<
20092 * def __get_exists(self):
20094 __pyx_3 = PyObject_GetAttr(__pyx_v_self->__account, __pyx_kp_username); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 53; __pyx_clineno = __LINE__; goto __pyx_L1;}
20095 __pyx_4 = __Pyx_PyBytes_AsString(__pyx_3); if (unlikely((!__pyx_4) && PyErr_Occurred())) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 53; __pyx_clineno = __LINE__; goto __pyx_L1;}
20096 Py_DECREF(__pyx_3); __pyx_3 = 0;
20097 __pyx_3 = PyObject_GetAttr(__pyx_v_self->__account, __pyx_kp_protocol); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 53; __pyx_clineno = __LINE__; goto __pyx_L1;}
20098 __pyx_5 = PyObject_GetAttr(__pyx_3, __pyx_kp_id); if (unlikely(!__pyx_5)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 53; __pyx_clineno = __LINE__; goto __pyx_L1;}
20099 Py_DECREF(__pyx_3); __pyx_3 = 0;
20100 __pyx_6 = __Pyx_PyBytes_AsString(__pyx_5); if (unlikely((!__pyx_6) && PyErr_Occurred())) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 53; __pyx_clineno = __LINE__; goto __pyx_L1;}
20101 Py_DECREF(__pyx_5); __pyx_5 = 0;
20102 __pyx_r = purple_find_conversation_with_account(__pyx_1, __pyx_2, purple_accounts_find(__pyx_4, __pyx_6));
20108 Py_XDECREF(__pyx_3);
20109 Py_XDECREF(__pyx_5);
20110 __Pyx_WriteUnraisable("purple.Conversation._get_structure");
20116 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":55
20117 * self.__account.username, self.__account.protocol.id))
20119 * def __get_exists(self): # <<<<<<<<<<<<<<
20120 * return self.__exists
20121 * exists = property(__get_exists)
20124 static PyObject *__pyx_pf_6purple_12Conversation___get_exists(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
20125 static PyObject *__pyx_pf_6purple_12Conversation___get_exists(PyObject *__pyx_v_self, PyObject *unused) {
20128 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":56
20130 * def __get_exists(self):
20131 * return self.__exists # <<<<<<<<<<<<<<
20132 * exists = property(__get_exists)
20135 Py_INCREF(((struct __pyx_obj_6purple_Conversation *)__pyx_v_self)->__exists);
20136 __pyx_r = ((struct __pyx_obj_6purple_Conversation *)__pyx_v_self)->__exists;
20139 __pyx_r = Py_None; Py_INCREF(Py_None);
20144 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":59
20145 * exists = property(__get_exists)
20147 * def __get_account(self): # <<<<<<<<<<<<<<
20148 * if self.__exists:
20149 * return self.__account
20152 static PyObject *__pyx_pf_6purple_12Conversation___get_account(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
20153 static PyObject *__pyx_pf_6purple_12Conversation___get_account(PyObject *__pyx_v_self, PyObject *unused) {
20157 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":60
20159 * def __get_account(self):
20160 * if self.__exists: # <<<<<<<<<<<<<<
20161 * return self.__account
20164 __pyx_1 = __Pyx_PyObject_IsTrue(((struct __pyx_obj_6purple_Conversation *)__pyx_v_self)->__exists); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 60; __pyx_clineno = __LINE__; goto __pyx_L1;}
20167 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":61
20168 * def __get_account(self):
20169 * if self.__exists:
20170 * return self.__account # <<<<<<<<<<<<<<
20174 Py_INCREF(((struct __pyx_obj_6purple_Conversation *)__pyx_v_self)->__account);
20175 __pyx_r = ((struct __pyx_obj_6purple_Conversation *)__pyx_v_self)->__account;
20181 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":63
20182 * return self.__account
20184 * return None # <<<<<<<<<<<<<<
20185 * account = property(__get_account)
20188 Py_INCREF(Py_None);
20194 __pyx_r = Py_None; Py_INCREF(Py_None);
20197 __Pyx_AddTraceback("purple.Conversation.__get_account");
20203 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":66
20204 * account = property(__get_account)
20206 * def __get_name(self): # <<<<<<<<<<<<<<
20207 * if self.__exists:
20208 * return <char *> conversation.purple_conversation_get_name( \
20211 static PyObject *__pyx_pf_6purple_12Conversation___get_name(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
20212 static PyObject *__pyx_pf_6purple_12Conversation___get_name(PyObject *__pyx_v_self, PyObject *unused) {
20215 PyObject *__pyx_2 = 0;
20217 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":67
20219 * def __get_name(self):
20220 * if self.__exists: # <<<<<<<<<<<<<<
20221 * return <char *> conversation.purple_conversation_get_name( \
20222 * self._get_structure())
20224 __pyx_1 = __Pyx_PyObject_IsTrue(((struct __pyx_obj_6purple_Conversation *)__pyx_v_self)->__exists); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 67; __pyx_clineno = __LINE__; goto __pyx_L1;}
20227 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":69
20228 * if self.__exists:
20229 * return <char *> conversation.purple_conversation_get_name( \
20230 * self._get_structure()) # <<<<<<<<<<<<<<
20234 __pyx_2 = __Pyx_PyBytes_FromString(((char *)purple_conversation_get_name(((struct __pyx_vtabstruct_6purple_Conversation *)((struct __pyx_obj_6purple_Conversation *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Conversation *)__pyx_v_self))))); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 68; __pyx_clineno = __LINE__; goto __pyx_L1;}
20242 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":71
20243 * self._get_structure())
20245 * return None # <<<<<<<<<<<<<<
20246 * name = property(__get_name)
20249 Py_INCREF(Py_None);
20255 __pyx_r = Py_None; Py_INCREF(Py_None);
20258 Py_XDECREF(__pyx_2);
20259 __Pyx_AddTraceback("purple.Conversation.__get_name");
20265 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":74
20266 * name = property(__get_name)
20268 * def new(self): # <<<<<<<<<<<<<<
20270 * Creates a new conversation.
20273 static PyObject *__pyx_pf_6purple_12Conversation_new(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
20274 static char __pyx_doc_6purple_12Conversation_new[] = "\n Creates a new conversation.\n\n @return True if successful, False if conversation already exists\n ";
20275 static PyObject *__pyx_pf_6purple_12Conversation_new(PyObject *__pyx_v_self, PyObject *unused) {
20279 PyObject *__pyx_3 = 0;
20281 PyObject *__pyx_5 = 0;
20285 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":80
20286 * @return True if successful, False if conversation already exists
20288 * if self.__exists: # <<<<<<<<<<<<<<
20292 __pyx_1 = __Pyx_PyObject_IsTrue(((struct __pyx_obj_6purple_Conversation *)__pyx_v_self)->__exists); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 80; __pyx_clineno = __LINE__; goto __pyx_L1;}
20295 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":81
20297 * if self.__exists:
20298 * return False # <<<<<<<<<<<<<<
20300 * conversation.purple_conversation_new(self.__type, \
20302 Py_INCREF(Py_False);
20303 __pyx_r = Py_False;
20309 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":83
20312 * conversation.purple_conversation_new(self.__type, \ # <<<<<<<<<<<<<<
20313 * account.purple_accounts_find(self.__account.username, \
20314 * self.__account.protocol.id), self.__name)
20316 __pyx_2 = __pyx_PyInt_int(((struct __pyx_obj_6purple_Conversation *)__pyx_v_self)->__type); if (unlikely((__pyx_2 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 83; __pyx_clineno = __LINE__; goto __pyx_L1;}
20318 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":84
20320 * conversation.purple_conversation_new(self.__type, \
20321 * account.purple_accounts_find(self.__account.username, \ # <<<<<<<<<<<<<<
20322 * self.__account.protocol.id), self.__name)
20323 * self.__exists = True
20325 __pyx_3 = PyObject_GetAttr(((struct __pyx_obj_6purple_Conversation *)__pyx_v_self)->__account, __pyx_kp_username); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 84; __pyx_clineno = __LINE__; goto __pyx_L1;}
20326 __pyx_4 = __Pyx_PyBytes_AsString(__pyx_3); if (unlikely((!__pyx_4) && PyErr_Occurred())) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 84; __pyx_clineno = __LINE__; goto __pyx_L1;}
20327 Py_DECREF(__pyx_3); __pyx_3 = 0;
20329 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":85
20330 * conversation.purple_conversation_new(self.__type, \
20331 * account.purple_accounts_find(self.__account.username, \
20332 * self.__account.protocol.id), self.__name) # <<<<<<<<<<<<<<
20333 * self.__exists = True
20336 __pyx_3 = PyObject_GetAttr(((struct __pyx_obj_6purple_Conversation *)__pyx_v_self)->__account, __pyx_kp_protocol); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 85; __pyx_clineno = __LINE__; goto __pyx_L1;}
20337 __pyx_5 = PyObject_GetAttr(__pyx_3, __pyx_kp_id); if (unlikely(!__pyx_5)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 85; __pyx_clineno = __LINE__; goto __pyx_L1;}
20338 Py_DECREF(__pyx_3); __pyx_3 = 0;
20339 __pyx_6 = __Pyx_PyBytes_AsString(__pyx_5); if (unlikely((!__pyx_6) && PyErr_Occurred())) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 85; __pyx_clineno = __LINE__; goto __pyx_L1;}
20340 Py_DECREF(__pyx_5); __pyx_5 = 0;
20341 __pyx_7 = __Pyx_PyBytes_AsString(((struct __pyx_obj_6purple_Conversation *)__pyx_v_self)->__name); if (unlikely((!__pyx_7) && PyErr_Occurred())) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 85; __pyx_clineno = __LINE__; goto __pyx_L1;}
20342 purple_conversation_new(__pyx_2, purple_accounts_find(__pyx_4, __pyx_6), __pyx_7);
20344 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":86
20345 * account.purple_accounts_find(self.__account.username, \
20346 * self.__account.protocol.id), self.__name)
20347 * self.__exists = True # <<<<<<<<<<<<<<
20351 Py_INCREF(Py_True);
20352 Py_DECREF(((struct __pyx_obj_6purple_Conversation *)__pyx_v_self)->__exists);
20353 ((struct __pyx_obj_6purple_Conversation *)__pyx_v_self)->__exists = Py_True;
20355 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":87
20356 * self.__account.protocol.id), self.__name)
20357 * self.__exists = True
20358 * return True # <<<<<<<<<<<<<<
20360 * def destroy(self):
20362 Py_INCREF(Py_True);
20368 __pyx_r = Py_None; Py_INCREF(Py_None);
20371 Py_XDECREF(__pyx_3);
20372 Py_XDECREF(__pyx_5);
20373 __Pyx_AddTraceback("purple.Conversation.new");
20379 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":89
20382 * def destroy(self): # <<<<<<<<<<<<<<
20384 * Destroys a conversation.
20387 static PyObject *__pyx_pf_6purple_12Conversation_destroy(PyObject *__pyx_v_self, PyObject *unused); /*proto*/
20388 static char __pyx_doc_6purple_12Conversation_destroy[] = "\n Destroys a conversation.\n\n @return True if successful, False if conversation doesn\'t exists\n ";
20389 static PyObject *__pyx_pf_6purple_12Conversation_destroy(PyObject *__pyx_v_self, PyObject *unused) {
20393 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":95
20394 * @return True if successful, False if conversation doesn't exists
20396 * if self.__exists: # <<<<<<<<<<<<<<
20397 * conversation.purple_conversation_destroy(self._get_structure())
20398 * self.__exists = False
20400 __pyx_1 = __Pyx_PyObject_IsTrue(((struct __pyx_obj_6purple_Conversation *)__pyx_v_self)->__exists); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 95; __pyx_clineno = __LINE__; goto __pyx_L1;}
20403 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":96
20405 * if self.__exists:
20406 * conversation.purple_conversation_destroy(self._get_structure()) # <<<<<<<<<<<<<<
20407 * self.__exists = False
20410 purple_conversation_destroy(((struct __pyx_vtabstruct_6purple_Conversation *)((struct __pyx_obj_6purple_Conversation *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Conversation *)__pyx_v_self)));
20412 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":97
20413 * if self.__exists:
20414 * conversation.purple_conversation_destroy(self._get_structure())
20415 * self.__exists = False # <<<<<<<<<<<<<<
20419 Py_INCREF(Py_False);
20420 Py_DECREF(((struct __pyx_obj_6purple_Conversation *)__pyx_v_self)->__exists);
20421 ((struct __pyx_obj_6purple_Conversation *)__pyx_v_self)->__exists = Py_False;
20423 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":98
20424 * conversation.purple_conversation_destroy(self._get_structure())
20425 * self.__exists = False
20426 * return True # <<<<<<<<<<<<<<
20430 Py_INCREF(Py_True);
20437 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":100
20440 * return False # <<<<<<<<<<<<<<
20442 * def set_ui_ops(self, cbs):
20444 Py_INCREF(Py_False);
20445 __pyx_r = Py_False;
20450 __pyx_r = Py_None; Py_INCREF(Py_None);
20453 __Pyx_AddTraceback("purple.Conversation.destroy");
20459 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":102
20462 * def set_ui_ops(self, cbs): # <<<<<<<<<<<<<<
20464 * Sets UI operations for a conversation.
20467 static PyObject *__pyx_pf_6purple_12Conversation_set_ui_ops(PyObject *__pyx_v_self, PyObject *__pyx_v_cbs); /*proto*/
20468 static char __pyx_doc_6purple_12Conversation_set_ui_ops[] = "\n Sets UI operations for a conversation.\n\n @return True if sucessful, False otherwise\n ";
20469 static PyObject *__pyx_pf_6purple_12Conversation_set_ui_ops(PyObject *__pyx_v_self, PyObject *__pyx_v_cbs) {
20470 PurpleConversationUiOps __pyx_v_c_conv_ui_ops;
20473 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":111
20474 * cdef conversation.PurpleConversationUiOps c_conv_ui_ops
20476 * c_conv_ui_ops.create_conversation = NULL # <<<<<<<<<<<<<<
20477 * c_conv_ui_ops.destroy_conversation = NULL
20478 * c_conv_ui_ops.write_chat = NULL
20480 __pyx_v_c_conv_ui_ops.create_conversation = NULL;
20482 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":112
20484 * c_conv_ui_ops.create_conversation = NULL
20485 * c_conv_ui_ops.destroy_conversation = NULL # <<<<<<<<<<<<<<
20486 * c_conv_ui_ops.write_chat = NULL
20487 * c_conv_ui_ops.write_im = NULL
20489 __pyx_v_c_conv_ui_ops.destroy_conversation = NULL;
20491 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":113
20492 * c_conv_ui_ops.create_conversation = NULL
20493 * c_conv_ui_ops.destroy_conversation = NULL
20494 * c_conv_ui_ops.write_chat = NULL # <<<<<<<<<<<<<<
20495 * c_conv_ui_ops.write_im = NULL
20496 * c_conv_ui_ops.write_conv = NULL
20498 __pyx_v_c_conv_ui_ops.write_chat = NULL;
20500 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":114
20501 * c_conv_ui_ops.destroy_conversation = NULL
20502 * c_conv_ui_ops.write_chat = NULL
20503 * c_conv_ui_ops.write_im = NULL # <<<<<<<<<<<<<<
20504 * c_conv_ui_ops.write_conv = NULL
20505 * c_conv_ui_ops.chat_add_users = NULL
20507 __pyx_v_c_conv_ui_ops.write_im = NULL;
20509 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":115
20510 * c_conv_ui_ops.write_chat = NULL
20511 * c_conv_ui_ops.write_im = NULL
20512 * c_conv_ui_ops.write_conv = NULL # <<<<<<<<<<<<<<
20513 * c_conv_ui_ops.chat_add_users = NULL
20514 * c_conv_ui_ops.chat_rename_user = NULL
20516 __pyx_v_c_conv_ui_ops.write_conv = NULL;
20518 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":116
20519 * c_conv_ui_ops.write_im = NULL
20520 * c_conv_ui_ops.write_conv = NULL
20521 * c_conv_ui_ops.chat_add_users = NULL # <<<<<<<<<<<<<<
20522 * c_conv_ui_ops.chat_rename_user = NULL
20523 * c_conv_ui_ops.chat_remove_users = NULL
20525 __pyx_v_c_conv_ui_ops.chat_add_users = NULL;
20527 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":117
20528 * c_conv_ui_ops.write_conv = NULL
20529 * c_conv_ui_ops.chat_add_users = NULL
20530 * c_conv_ui_ops.chat_rename_user = NULL # <<<<<<<<<<<<<<
20531 * c_conv_ui_ops.chat_remove_users = NULL
20532 * c_conv_ui_ops.chat_update_user = NULL
20534 __pyx_v_c_conv_ui_ops.chat_rename_user = NULL;
20536 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":118
20537 * c_conv_ui_ops.chat_add_users = NULL
20538 * c_conv_ui_ops.chat_rename_user = NULL
20539 * c_conv_ui_ops.chat_remove_users = NULL # <<<<<<<<<<<<<<
20540 * c_conv_ui_ops.chat_update_user = NULL
20541 * c_conv_ui_ops.present = NULL
20543 __pyx_v_c_conv_ui_ops.chat_remove_users = NULL;
20545 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":119
20546 * c_conv_ui_ops.chat_rename_user = NULL
20547 * c_conv_ui_ops.chat_remove_users = NULL
20548 * c_conv_ui_ops.chat_update_user = NULL # <<<<<<<<<<<<<<
20549 * c_conv_ui_ops.present = NULL
20550 * c_conv_ui_ops.has_focus = NULL
20552 __pyx_v_c_conv_ui_ops.chat_update_user = NULL;
20554 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":120
20555 * c_conv_ui_ops.chat_remove_users = NULL
20556 * c_conv_ui_ops.chat_update_user = NULL
20557 * c_conv_ui_ops.present = NULL # <<<<<<<<<<<<<<
20558 * c_conv_ui_ops.has_focus = NULL
20559 * c_conv_ui_ops.custom_smiley_add = NULL
20561 __pyx_v_c_conv_ui_ops.present = NULL;
20563 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":121
20564 * c_conv_ui_ops.chat_update_user = NULL
20565 * c_conv_ui_ops.present = NULL
20566 * c_conv_ui_ops.has_focus = NULL # <<<<<<<<<<<<<<
20567 * c_conv_ui_ops.custom_smiley_add = NULL
20568 * c_conv_ui_ops.custom_smiley_write = NULL
20570 __pyx_v_c_conv_ui_ops.has_focus = NULL;
20572 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":122
20573 * c_conv_ui_ops.present = NULL
20574 * c_conv_ui_ops.has_focus = NULL
20575 * c_conv_ui_ops.custom_smiley_add = NULL # <<<<<<<<<<<<<<
20576 * c_conv_ui_ops.custom_smiley_write = NULL
20577 * c_conv_ui_ops.custom_smiley_close = NULL
20579 __pyx_v_c_conv_ui_ops.custom_smiley_add = NULL;
20581 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":123
20582 * c_conv_ui_ops.has_focus = NULL
20583 * c_conv_ui_ops.custom_smiley_add = NULL
20584 * c_conv_ui_ops.custom_smiley_write = NULL # <<<<<<<<<<<<<<
20585 * c_conv_ui_ops.custom_smiley_close = NULL
20586 * c_conv_ui_ops.send_confirm = NULL
20588 __pyx_v_c_conv_ui_ops.custom_smiley_write = NULL;
20590 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":124
20591 * c_conv_ui_ops.custom_smiley_add = NULL
20592 * c_conv_ui_ops.custom_smiley_write = NULL
20593 * c_conv_ui_ops.custom_smiley_close = NULL # <<<<<<<<<<<<<<
20594 * c_conv_ui_ops.send_confirm = NULL
20597 __pyx_v_c_conv_ui_ops.custom_smiley_close = NULL;
20599 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":125
20600 * c_conv_ui_ops.custom_smiley_write = NULL
20601 * c_conv_ui_ops.custom_smiley_close = NULL
20602 * c_conv_ui_ops.send_confirm = NULL # <<<<<<<<<<<<<<
20604 * conversation.purple_conversation_set_ui_ops(self._get_structure(), \
20606 __pyx_v_c_conv_ui_ops.send_confirm = NULL;
20608 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":128
20610 * conversation.purple_conversation_set_ui_ops(self._get_structure(), \
20611 * &c_conv_ui_ops) # <<<<<<<<<<<<<<
20615 purple_conversation_set_ui_ops(((struct __pyx_vtabstruct_6purple_Conversation *)((struct __pyx_obj_6purple_Conversation *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Conversation *)__pyx_v_self)), (&__pyx_v_c_conv_ui_ops));
20617 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":129
20618 * conversation.purple_conversation_set_ui_ops(self._get_structure(), \
20620 * return True # <<<<<<<<<<<<<<
20622 * def im_send(self, message):
20624 Py_INCREF(Py_True);
20628 __pyx_r = Py_None; Py_INCREF(Py_None);
20633 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":131
20636 * def im_send(self, message): # <<<<<<<<<<<<<<
20638 * Sends a message to this IM conversation.
20641 static PyObject *__pyx_pf_6purple_12Conversation_im_send(PyObject *__pyx_v_self, PyObject *__pyx_v_message); /*proto*/
20642 static char __pyx_doc_6purple_12Conversation_im_send[] = "\n Sends a message to this IM conversation.\n\n @return True if successful, False if conversation is not IM or conversation doesn\'t exists\n ";
20643 static PyObject *__pyx_pf_6purple_12Conversation_im_send(PyObject *__pyx_v_self, PyObject *__pyx_v_message) {
20645 PyObject *__pyx_1 = 0;
20647 PyObject *__pyx_3 = 0;
20650 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":137
20651 * @return True if successful, False if conversation is not IM or conversation doesn't exists
20653 * if self.__exists and self.__type == conversation.PURPLE_CONV_TYPE_IM: # <<<<<<<<<<<<<<
20654 * conversation.purple_conv_im_send( \
20655 * conversation.purple_conversation_get_im_data( \
20657 __pyx_1 = ((struct __pyx_obj_6purple_Conversation *)__pyx_v_self)->__exists;
20658 Py_INCREF(__pyx_1);
20659 __pyx_2 = __Pyx_PyObject_IsTrue(__pyx_1); if (unlikely(__pyx_2 < 0)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 137; __pyx_clineno = __LINE__; goto __pyx_L1;}
20661 Py_DECREF(__pyx_1); __pyx_1 = 0;
20662 __pyx_3 = PyInt_FromLong(PURPLE_CONV_TYPE_IM); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 137; __pyx_clineno = __LINE__; goto __pyx_L1;}
20663 __pyx_1 = PyObject_RichCompare(((struct __pyx_obj_6purple_Conversation *)__pyx_v_self)->__type, __pyx_3, Py_EQ); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 137; __pyx_clineno = __LINE__; goto __pyx_L1;}
20664 Py_DECREF(__pyx_3); __pyx_3 = 0;
20666 __pyx_2 = __Pyx_PyObject_IsTrue(__pyx_1); if (unlikely(__pyx_2 < 0)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 137; __pyx_clineno = __LINE__; goto __pyx_L1;}
20667 Py_DECREF(__pyx_1); __pyx_1 = 0;
20670 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":140
20671 * conversation.purple_conv_im_send( \
20672 * conversation.purple_conversation_get_im_data( \
20673 * self._get_structure()), message) # <<<<<<<<<<<<<<
20677 __pyx_4 = __Pyx_PyBytes_AsString(__pyx_v_message); if (unlikely((!__pyx_4) && PyErr_Occurred())) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 140; __pyx_clineno = __LINE__; goto __pyx_L1;}
20678 purple_conv_im_send(purple_conversation_get_im_data(((struct __pyx_vtabstruct_6purple_Conversation *)((struct __pyx_obj_6purple_Conversation *)__pyx_v_self)->__pyx_vtab)->_get_structure(((struct __pyx_obj_6purple_Conversation *)__pyx_v_self))), __pyx_4);
20680 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":141
20681 * conversation.purple_conversation_get_im_data( \
20682 * self._get_structure()), message)
20683 * return True # <<<<<<<<<<<<<<
20687 Py_INCREF(Py_True);
20694 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":143
20697 * return False # <<<<<<<<<<<<<<
20699 Py_INCREF(Py_False);
20700 __pyx_r = Py_False;
20705 __pyx_r = Py_None; Py_INCREF(Py_None);
20708 Py_XDECREF(__pyx_1);
20709 Py_XDECREF(__pyx_3);
20710 __Pyx_AddTraceback("purple.Conversation.im_send");
20716 static __Pyx_StringTabEntry __pyx_string_tab[] = {
20717 {&__pyx_kp___init__, __pyx_k___init__, sizeof(__pyx_k___init__), 0, 1, 1},
20718 {&__pyx_kp_destroy, __pyx_k_destroy, sizeof(__pyx_k_destroy), 0, 1, 1},
20719 {&__pyx_kp___get_ui_name, __pyx_k___get_ui_name, sizeof(__pyx_k___get_ui_name), 0, 1, 1},
20720 {&__pyx_kp_ui_name, __pyx_k_ui_name, sizeof(__pyx_k_ui_name), 1, 1, 1},
20721 {&__pyx_kp_1, __pyx_k_1, sizeof(__pyx_k_1), 0, 1, 1},
20722 {&__pyx_kp_purple_init, __pyx_k_purple_init, sizeof(__pyx_k_purple_init), 0, 1, 1},
20723 {&__pyx_kp_add_callback, __pyx_k_add_callback, sizeof(__pyx_k_add_callback), 0, 1, 1},
20724 {&__pyx_kp_signal_connect, __pyx_k_signal_connect, sizeof(__pyx_k_signal_connect), 0, 1, 1},
20725 {&__pyx_kp_accounts_get_all, __pyx_k_accounts_get_all, sizeof(__pyx_k_accounts_get_all), 0, 1, 1},
20726 {&__pyx_kp_2, __pyx_k_2, sizeof(__pyx_k_2), 0, 1, 1},
20727 {&__pyx_kp_protocols_get_all, __pyx_k_protocols_get_all, sizeof(__pyx_k_protocols_get_all), 0, 1, 1},
20728 {&__pyx_kp___get_exists, __pyx_k___get_exists, sizeof(__pyx_k___get_exists), 0, 1, 1},
20729 {&__pyx_kp_exists, __pyx_k_exists, sizeof(__pyx_k_exists), 1, 1, 1},
20730 {&__pyx_kp___get_id, __pyx_k___get_id, sizeof(__pyx_k___get_id), 0, 1, 1},
20731 {&__pyx_kp_id, __pyx_k_id, sizeof(__pyx_k_id), 1, 1, 1},
20732 {&__pyx_kp___get_name, __pyx_k___get_name, sizeof(__pyx_k___get_name), 0, 1, 1},
20733 {&__pyx_kp_name, __pyx_k_name, sizeof(__pyx_k_name), 1, 1, 1},
20734 {&__pyx_kp_3, __pyx_k_3, sizeof(__pyx_k_3), 0, 1, 1},
20735 {&__pyx_kp_options_labels, __pyx_k_options_labels, sizeof(__pyx_k_options_labels), 1, 1, 1},
20736 {&__pyx_kp_4, __pyx_k_4, sizeof(__pyx_k_4), 0, 1, 1},
20737 {&__pyx_kp_options_values, __pyx_k_options_values, sizeof(__pyx_k_options_values), 1, 1, 1},
20738 {&__pyx_kp_get_NONE, __pyx_k_get_NONE, sizeof(__pyx_k_get_NONE), 0, 1, 1},
20739 {&__pyx_kp_NONE, __pyx_k_NONE, sizeof(__pyx_k_NONE), 1, 1, 1},
20740 {&__pyx_kp_get_USE_GLOBAL, __pyx_k_get_USE_GLOBAL, sizeof(__pyx_k_get_USE_GLOBAL), 0, 1, 1},
20741 {&__pyx_kp_USE_GLOBAL, __pyx_k_USE_GLOBAL, sizeof(__pyx_k_USE_GLOBAL), 1, 1, 1},
20742 {&__pyx_kp_get_HTTP, __pyx_k_get_HTTP, sizeof(__pyx_k_get_HTTP), 0, 1, 1},
20743 {&__pyx_kp_HTTP, __pyx_k_HTTP, sizeof(__pyx_k_HTTP), 1, 1, 1},
20744 {&__pyx_kp_5, __pyx_k_5, sizeof(__pyx_k_5), 0, 1, 1},
20745 {&__pyx_kp_6, __pyx_k_6, sizeof(__pyx_k_6), 0, 1, 1},
20746 {&__pyx_kp_get_USE_ENVVAR, __pyx_k_get_USE_ENVVAR, sizeof(__pyx_k_get_USE_ENVVAR), 0, 1, 1},
20747 {&__pyx_kp_USE_ENVVAR, __pyx_k_USE_ENVVAR, sizeof(__pyx_k_USE_ENVVAR), 1, 1, 1},
20748 {&__pyx_kp_set_type, __pyx_k_set_type, sizeof(__pyx_k_set_type), 0, 1, 1},
20749 {&__pyx_kp_set_host, __pyx_k_set_host, sizeof(__pyx_k_set_host), 0, 1, 1},
20750 {&__pyx_kp_set_port, __pyx_k_set_port, sizeof(__pyx_k_set_port), 0, 1, 1},
20751 {&__pyx_kp_set_username, __pyx_k_set_username, sizeof(__pyx_k_set_username), 0, 1, 1},
20752 {&__pyx_kp_set_password, __pyx_k_set_password, sizeof(__pyx_k_set_password), 0, 1, 1},
20753 {&__pyx_kp_get_types, __pyx_k_get_types, sizeof(__pyx_k_get_types), 0, 1, 1},
20754 {&__pyx_kp_set_info, __pyx_k_set_info, sizeof(__pyx_k_set_info), 0, 1, 1},
20755 {&__pyx_kp___is_connected, __pyx_k___is_connected, sizeof(__pyx_k___is_connected), 0, 1, 1},
20756 {&__pyx_kp_is_connected, __pyx_k_is_connected, sizeof(__pyx_k_is_connected), 1, 1, 1},
20757 {&__pyx_kp___is_connecting, __pyx_k___is_connecting, sizeof(__pyx_k___is_connecting), 0, 1, 1},
20758 {&__pyx_kp_is_connecting, __pyx_k_is_connecting, sizeof(__pyx_k_is_connecting), 1, 1, 1},
20759 {&__pyx_kp___is_disconnected, __pyx_k___is_disconnected, sizeof(__pyx_k___is_disconnected), 0, 1, 1},
20760 {&__pyx_kp_is_disconnected, __pyx_k_is_disconnected, sizeof(__pyx_k_is_disconnected), 1, 1, 1},
20761 {&__pyx_kp___get_core, __pyx_k___get_core, sizeof(__pyx_k___get_core), 0, 1, 1},
20762 {&__pyx_kp_core, __pyx_k_core, sizeof(__pyx_k_core), 1, 1, 1},
20763 {&__pyx_kp___get_username, __pyx_k___get_username, sizeof(__pyx_k___get_username), 0, 1, 1},
20764 {&__pyx_kp_username, __pyx_k_username, sizeof(__pyx_k_username), 1, 1, 1},
20765 {&__pyx_kp___get_protocol, __pyx_k___get_protocol, sizeof(__pyx_k___get_protocol), 0, 1, 1},
20766 {&__pyx_kp_protocol, __pyx_k_protocol, sizeof(__pyx_k_protocol), 1, 1, 1},
20767 {&__pyx_kp_7, __pyx_k_7, sizeof(__pyx_k_7), 0, 1, 1},
20768 {&__pyx_kp_protocol_options, __pyx_k_protocol_options, sizeof(__pyx_k_protocol_options), 1, 1, 1},
20769 {&__pyx_kp___get_password, __pyx_k___get_password, sizeof(__pyx_k___get_password), 0, 1, 1},
20770 {&__pyx_kp_password, __pyx_k_password, sizeof(__pyx_k_password), 1, 1, 1},
20771 {&__pyx_kp___get_alias, __pyx_k___get_alias, sizeof(__pyx_k___get_alias), 0, 1, 1},
20772 {&__pyx_kp_alias, __pyx_k_alias, sizeof(__pyx_k_alias), 1, 1, 1},
20773 {&__pyx_kp___get_user_info, __pyx_k___get_user_info, sizeof(__pyx_k___get_user_info), 0, 1, 1},
20774 {&__pyx_kp_user_info, __pyx_k_user_info, sizeof(__pyx_k_user_info), 1, 1, 1},
20775 {&__pyx_kp_8, __pyx_k_8, sizeof(__pyx_k_8), 0, 1, 1},
20776 {&__pyx_kp_remember_password, __pyx_k_remember_password, sizeof(__pyx_k_remember_password), 1, 1, 1},
20777 {&__pyx_kp___get_enabled, __pyx_k___get_enabled, sizeof(__pyx_k___get_enabled), 0, 1, 1},
20778 {&__pyx_kp_enabled, __pyx_k_enabled, sizeof(__pyx_k_enabled), 1, 1, 1},
20779 {&__pyx_kp___get_status_types, __pyx_k___get_status_types, sizeof(__pyx_k___get_status_types), 0, 1, 1},
20780 {&__pyx_kp_status_types, __pyx_k_status_types, sizeof(__pyx_k_status_types), 1, 1, 1},
20781 {&__pyx_kp___get_active_status, __pyx_k___get_active_status, sizeof(__pyx_k___get_active_status), 0, 1, 1},
20782 {&__pyx_kp_active_status, __pyx_k_active_status, sizeof(__pyx_k_active_status), 1, 1, 1},
20783 {&__pyx_kp_set_protocol, __pyx_k_set_protocol, sizeof(__pyx_k_set_protocol), 0, 1, 1},
20784 {&__pyx_kp_9, __pyx_k_9, sizeof(__pyx_k_9), 0, 1, 1},
20785 {&__pyx_kp_set_alias, __pyx_k_set_alias, sizeof(__pyx_k_set_alias), 0, 1, 1},
20786 {&__pyx_kp_set_user_info, __pyx_k_set_user_info, sizeof(__pyx_k_set_user_info), 0, 1, 1},
20787 {&__pyx_kp_10, __pyx_k_10, sizeof(__pyx_k_10), 0, 1, 1},
20788 {&__pyx_kp_set_enabled, __pyx_k_set_enabled, sizeof(__pyx_k_set_enabled), 0, 1, 1},
20789 {&__pyx_kp_new, __pyx_k_new, sizeof(__pyx_k_new), 0, 1, 1},
20790 {&__pyx_kp_remove, __pyx_k_remove, sizeof(__pyx_k_remove), 0, 1, 1},
20791 {&__pyx_kp_connect, __pyx_k_connect, sizeof(__pyx_k_connect), 0, 1, 1},
20792 {&__pyx_kp_disconnect, __pyx_k_disconnect, sizeof(__pyx_k_disconnect), 0, 1, 1},
20793 {&__pyx_kp_add_buddy, __pyx_k_add_buddy, sizeof(__pyx_k_add_buddy), 0, 1, 1},
20794 {&__pyx_kp_remove_buddy, __pyx_k_remove_buddy, sizeof(__pyx_k_remove_buddy), 0, 1, 1},
20795 {&__pyx_kp_get_buddies_online, __pyx_k_get_buddies_online, sizeof(__pyx_k_get_buddies_online), 0, 1, 1},
20796 {&__pyx_kp_get_buddies, __pyx_k_get_buddies, sizeof(__pyx_k_get_buddies), 0, 1, 1},
20797 {&__pyx_kp_request_add_buddy, __pyx_k_request_add_buddy, sizeof(__pyx_k_request_add_buddy), 0, 1, 1},
20798 {&__pyx_kp_set_active_status, __pyx_k_set_active_status, sizeof(__pyx_k_set_active_status), 0, 1, 1},
20799 {&__pyx_kp_set_status_message, __pyx_k_set_status_message, sizeof(__pyx_k_set_status_message), 0, 1, 1},
20800 {&__pyx_kp___get_account, __pyx_k___get_account, sizeof(__pyx_k___get_account), 0, 1, 1},
20801 {&__pyx_kp_account, __pyx_k_account, sizeof(__pyx_k_account), 1, 1, 1},
20802 {&__pyx_kp___get_group, __pyx_k___get_group, sizeof(__pyx_k___get_group), 0, 1, 1},
20803 {&__pyx_kp_group, __pyx_k_group, sizeof(__pyx_k_group), 1, 1, 1},
20804 {&__pyx_kp___get_server_alias, __pyx_k___get_server_alias, sizeof(__pyx_k___get_server_alias), 0, 1, 1},
20805 {&__pyx_kp_server_alias, __pyx_k_server_alias, sizeof(__pyx_k_server_alias), 1, 1, 1},
20806 {&__pyx_kp___get_contact_alias, __pyx_k___get_contact_alias, sizeof(__pyx_k___get_contact_alias), 0, 1, 1},
20807 {&__pyx_kp_contact_alias, __pyx_k_contact_alias, sizeof(__pyx_k_contact_alias), 1, 1, 1},
20808 {&__pyx_kp___get_local_alias, __pyx_k___get_local_alias, sizeof(__pyx_k___get_local_alias), 0, 1, 1},
20809 {&__pyx_kp_local_alias, __pyx_k_local_alias, sizeof(__pyx_k_local_alias), 1, 1, 1},
20810 {&__pyx_kp___get_available, __pyx_k___get_available, sizeof(__pyx_k___get_available), 0, 1, 1},
20811 {&__pyx_kp_available, __pyx_k_available, sizeof(__pyx_k_available), 1, 1, 1},
20812 {&__pyx_kp___get_online, __pyx_k___get_online, sizeof(__pyx_k___get_online), 0, 1, 1},
20813 {&__pyx_kp_online, __pyx_k_online, sizeof(__pyx_k_online), 1, 1, 1},
20814 {&__pyx_kp___get_idle, __pyx_k___get_idle, sizeof(__pyx_k___get_idle), 0, 1, 1},
20815 {&__pyx_kp_idle, __pyx_k_idle, sizeof(__pyx_k_idle), 1, 1, 1},
20816 {&__pyx_kp_set_group, __pyx_k_set_group, sizeof(__pyx_k_set_group), 0, 1, 1},
20817 {&__pyx_kp_set_ui_ops, __pyx_k_set_ui_ops, sizeof(__pyx_k_set_ui_ops), 0, 1, 1},
20818 {&__pyx_kp_im_send, __pyx_k_im_send, sizeof(__pyx_k_im_send), 0, 1, 1},
20819 {&__pyx_kp_ecore, __pyx_k_ecore, sizeof(__pyx_k_ecore), 1, 1, 1},
20820 {&__pyx_kp_account_cbs, __pyx_k_account_cbs, sizeof(__pyx_k_account_cbs), 1, 1, 1},
20821 {&__pyx_kp_blist_cbs, __pyx_k_blist_cbs, sizeof(__pyx_k_blist_cbs), 1, 1, 1},
20822 {&__pyx_kp_connection_cbs, __pyx_k_connection_cbs, sizeof(__pyx_k_connection_cbs), 1, 1, 1},
20823 {&__pyx_kp_conversation_cbs, __pyx_k_conversation_cbs, sizeof(__pyx_k_conversation_cbs), 1, 1, 1},
20824 {&__pyx_kp_notify_cbs, __pyx_k_notify_cbs, sizeof(__pyx_k_notify_cbs), 1, 1, 1},
20825 {&__pyx_kp_request_cbs, __pyx_k_request_cbs, sizeof(__pyx_k_request_cbs), 1, 1, 1},
20826 {&__pyx_kp_signal_cbs, __pyx_k_signal_cbs, sizeof(__pyx_k_signal_cbs), 1, 1, 1},
20827 {&__pyx_kp_property, __pyx_k_property, sizeof(__pyx_k_property), 1, 1, 1},
20828 {&__pyx_kp_has_key, __pyx_k_has_key, sizeof(__pyx_k_has_key), 1, 1, 1},
20829 {&__pyx_kp_14, __pyx_k_14, sizeof(__pyx_k_14), 0, 0, 0},
20830 {&__pyx_kp_15, __pyx_k_15, sizeof(__pyx_k_15), 0, 0, 0},
20831 {&__pyx_kp_19, __pyx_k_19, sizeof(__pyx_k_19), 0, 0, 0},
20832 {&__pyx_kp_20, __pyx_k_20, sizeof(__pyx_k_20), 0, 0, 0},
20833 {&__pyx_kp_24, __pyx_k_24, sizeof(__pyx_k_24), 0, 0, 0},
20834 {&__pyx_kp_25, __pyx_k_25, sizeof(__pyx_k_25), 0, 0, 0},
20835 {&__pyx_kp_29, __pyx_k_29, sizeof(__pyx_k_29), 0, 0, 0},
20836 {&__pyx_kp_30, __pyx_k_30, sizeof(__pyx_k_30), 0, 0, 0},
20837 {&__pyx_kp_call_authorize_cb, __pyx_k_call_authorize_cb, sizeof(__pyx_k_call_authorize_cb), 0, 1, 1},
20838 {&__pyx_kp_call_deny_cb, __pyx_k_call_deny_cb, sizeof(__pyx_k_call_deny_cb), 0, 1, 1},
20839 {&__pyx_kp_34, __pyx_k_34, sizeof(__pyx_k_34), 0, 0, 0},
20840 {&__pyx_kp_35, __pyx_k_35, sizeof(__pyx_k_35), 0, 0, 0},
20841 {&__pyx_kp_39, __pyx_k_39, sizeof(__pyx_k_39), 0, 0, 0},
20842 {&__pyx_kp_40, __pyx_k_40, sizeof(__pyx_k_40), 0, 0, 0},
20843 {&__pyx_kp_41, __pyx_k_41, sizeof(__pyx_k_41), 0, 0, 0},
20844 {&__pyx_kp_45, __pyx_k_45, sizeof(__pyx_k_45), 0, 0, 0},
20845 {&__pyx_kp_46, __pyx_k_46, sizeof(__pyx_k_46), 0, 0, 0},
20846 {&__pyx_kp_47, __pyx_k_47, sizeof(__pyx_k_47), 0, 0, 0},
20847 {&__pyx_kp_48, __pyx_k_48, sizeof(__pyx_k_48), 0, 0, 0},
20848 {&__pyx_kp_49, __pyx_k_49, sizeof(__pyx_k_49), 0, 0, 0},
20849 {&__pyx_kp_50, __pyx_k_50, sizeof(__pyx_k_50), 0, 0, 0},
20850 {&__pyx_kp_54, __pyx_k_54, sizeof(__pyx_k_54), 0, 1, 0},
20851 {&__pyx_kp_55, __pyx_k_55, sizeof(__pyx_k_55), 0, 1, 0},
20852 {&__pyx_kp_56, __pyx_k_56, sizeof(__pyx_k_56), 0, 0, 0},
20853 {&__pyx_kp_60, __pyx_k_60, sizeof(__pyx_k_60), 0, 1, 0},
20854 {&__pyx_kp_61, __pyx_k_61, sizeof(__pyx_k_61), 0, 1, 0},
20855 {&__pyx_kp_62, __pyx_k_62, sizeof(__pyx_k_62), 0, 1, 0},
20856 {&__pyx_kp_63, __pyx_k_63, sizeof(__pyx_k_63), 0, 1, 0},
20857 {&__pyx_kp_64, __pyx_k_64, sizeof(__pyx_k_64), 0, 1, 0},
20858 {&__pyx_kp_65, __pyx_k_65, sizeof(__pyx_k_65), 0, 1, 0},
20859 {&__pyx_kp_69, __pyx_k_69, sizeof(__pyx_k_69), 0, 1, 0},
20860 {&__pyx_kp_70, __pyx_k_70, sizeof(__pyx_k_70), 0, 1, 0},
20861 {&__pyx_kp_71, __pyx_k_71, sizeof(__pyx_k_71), 0, 1, 0},
20862 {&__pyx_kp_72, __pyx_k_72, sizeof(__pyx_k_72), 0, 1, 0},
20863 {&__pyx_kp_73, __pyx_k_73, sizeof(__pyx_k_73), 0, 1, 0},
20864 {&__pyx_kp_74, __pyx_k_74, sizeof(__pyx_k_74), 0, 1, 0},
20865 {&__pyx_kp_78, __pyx_k_78, sizeof(__pyx_k_78), 0, 1, 0},
20866 {&__pyx_kp_79, __pyx_k_79, sizeof(__pyx_k_79), 0, 1, 0},
20867 {&__pyx_kp_80, __pyx_k_80, sizeof(__pyx_k_80), 0, 0, 0},
20868 {&__pyx_kp_84, __pyx_k_84, sizeof(__pyx_k_84), 0, 0, 0},
20869 {&__pyx_kp_85, __pyx_k_85, sizeof(__pyx_k_85), 0, 0, 0},
20870 {&__pyx_kp_86, __pyx_k_86, sizeof(__pyx_k_86), 0, 0, 0},
20871 {&__pyx_kp_90, __pyx_k_90, sizeof(__pyx_k_90), 0, 0, 0},
20872 {&__pyx_kp_91, __pyx_k_91, sizeof(__pyx_k_91), 0, 0, 0},
20873 {&__pyx_kp_95, __pyx_k_95, sizeof(__pyx_k_95), 0, 0, 0},
20874 {&__pyx_kp_96, __pyx_k_96, sizeof(__pyx_k_96), 0, 0, 0},
20875 {&__pyx_kp_97, __pyx_k_97, sizeof(__pyx_k_97), 0, 0, 0},
20876 {&__pyx_kp_101, __pyx_k_101, sizeof(__pyx_k_101), 0, 0, 0},
20877 {&__pyx_kp_102, __pyx_k_102, sizeof(__pyx_k_102), 0, 0, 0},
20878 {&__pyx_kp_103, __pyx_k_103, sizeof(__pyx_k_103), 0, 0, 0},
20879 {&__pyx_kp_107, __pyx_k_107, sizeof(__pyx_k_107), 0, 0, 0},
20880 {&__pyx_kp_108, __pyx_k_108, sizeof(__pyx_k_108), 0, 0, 0},
20881 {&__pyx_kp_112, __pyx_k_112, sizeof(__pyx_k_112), 0, 1, 0},
20882 {&__pyx_kp_113, __pyx_k_113, sizeof(__pyx_k_113), 0, 1, 0},
20883 {&__pyx_kp_114, __pyx_k_114, sizeof(__pyx_k_114), 0, 0, 0},
20884 {&__pyx_kp_118, __pyx_k_118, sizeof(__pyx_k_118), 0, 1, 0},
20885 {&__pyx_kp_119, __pyx_k_119, sizeof(__pyx_k_119), 0, 1, 0},
20886 {&__pyx_kp_120, __pyx_k_120, sizeof(__pyx_k_120), 0, 0, 0},
20887 {&__pyx_kp_124, __pyx_k_124, sizeof(__pyx_k_124), 0, 1, 0},
20888 {&__pyx_kp_125, __pyx_k_125, sizeof(__pyx_k_125), 0, 1, 0},
20889 {&__pyx_kp_126, __pyx_k_126, sizeof(__pyx_k_126), 0, 0, 0},
20890 {&__pyx_kp_130, __pyx_k_130, sizeof(__pyx_k_130), 0, 0, 0},
20891 {&__pyx_kp_131, __pyx_k_131, sizeof(__pyx_k_131), 0, 0, 0},
20892 {&__pyx_kp_135, __pyx_k_135, sizeof(__pyx_k_135), 0, 0, 0},
20893 {&__pyx_kp_136, __pyx_k_136, sizeof(__pyx_k_136), 0, 0, 0},
20894 {&__pyx_kp_140, __pyx_k_140, sizeof(__pyx_k_140), 0, 0, 0},
20895 {&__pyx_kp_141, __pyx_k_141, sizeof(__pyx_k_141), 0, 0, 0},
20896 {&__pyx_kp_145, __pyx_k_145, sizeof(__pyx_k_145), 0, 0, 0},
20897 {&__pyx_kp_146, __pyx_k_146, sizeof(__pyx_k_146), 0, 0, 0},
20898 {&__pyx_kp_147, __pyx_k_147, sizeof(__pyx_k_147), 0, 0, 0},
20899 {&__pyx_kp_148, __pyx_k_148, sizeof(__pyx_k_148), 0, 0, 0},
20900 {&__pyx_kp_149, __pyx_k_149, sizeof(__pyx_k_149), 0, 0, 0},
20901 {&__pyx_kp_150, __pyx_k_150, sizeof(__pyx_k_150), 0, 0, 0},
20902 {&__pyx_kp_151, __pyx_k_151, sizeof(__pyx_k_151), 0, 0, 0},
20903 {&__pyx_kp_152, __pyx_k_152, sizeof(__pyx_k_152), 0, 0, 0},
20904 {&__pyx_kp_153, __pyx_k_153, sizeof(__pyx_k_153), 0, 0, 0},
20905 {&__pyx_kp_154, __pyx_k_154, sizeof(__pyx_k_154), 0, 0, 0},
20906 {&__pyx_kp_155, __pyx_k_155, sizeof(__pyx_k_155), 0, 0, 0},
20907 {&__pyx_kp_156, __pyx_k_156, sizeof(__pyx_k_156), 0, 0, 0},
20908 {&__pyx_kp_157, __pyx_k_157, sizeof(__pyx_k_157), 0, 0, 0},
20909 {&__pyx_kp_158, __pyx_k_158, sizeof(__pyx_k_158), 0, 0, 0},
20910 {&__pyx_kp_159, __pyx_k_159, sizeof(__pyx_k_159), 0, 0, 0},
20911 {&__pyx_kp_160, __pyx_k_160, sizeof(__pyx_k_160), 0, 0, 0},
20912 {&__pyx_kp_161, __pyx_k_161, sizeof(__pyx_k_161), 0, 0, 0},
20913 {&__pyx_kp_162, __pyx_k_162, sizeof(__pyx_k_162), 0, 0, 0},
20914 {&__pyx_kp_163, __pyx_k_163, sizeof(__pyx_k_163), 0, 0, 0},
20915 {&__pyx_kp_167, __pyx_k_167, sizeof(__pyx_k_167), 0, 0, 0},
20916 {&__pyx_kp_168, __pyx_k_168, sizeof(__pyx_k_168), 0, 0, 0},
20917 {&__pyx_kp_172, __pyx_k_172, sizeof(__pyx_k_172), 0, 0, 0},
20918 {&__pyx_kp_173, __pyx_k_173, sizeof(__pyx_k_173), 0, 0, 0},
20919 {&__pyx_kp_174, __pyx_k_174, sizeof(__pyx_k_174), 0, 0, 0},
20920 {&__pyx_kp_178, __pyx_k_178, sizeof(__pyx_k_178), 0, 0, 0},
20921 {&__pyx_kp_179, __pyx_k_179, sizeof(__pyx_k_179), 0, 0, 0},
20922 {&__pyx_kp_180, __pyx_k_180, sizeof(__pyx_k_180), 0, 0, 0},
20923 {&__pyx_kp_184, __pyx_k_184, sizeof(__pyx_k_184), 0, 0, 0},
20924 {&__pyx_kp_185, __pyx_k_185, sizeof(__pyx_k_185), 0, 1, 0},
20925 {&__pyx_kp_186, __pyx_k_186, sizeof(__pyx_k_186), 0, 1, 0},
20926 {&__pyx_kp_187, __pyx_k_187, sizeof(__pyx_k_187), 0, 0, 0},
20927 {&__pyx_kp_188, __pyx_k_188, sizeof(__pyx_k_188), 0, 0, 0},
20928 {&__pyx_kp_192, __pyx_k_192, sizeof(__pyx_k_192), 0, 0, 0},
20929 {&__pyx_kp_193, __pyx_k_193, sizeof(__pyx_k_193), 0, 0, 0},
20930 {&__pyx_kp_194, __pyx_k_194, sizeof(__pyx_k_194), 0, 0, 0},
20931 {&__pyx_kp_198, __pyx_k_198, sizeof(__pyx_k_198), 0, 0, 0},
20932 {&__pyx_kp_199, __pyx_k_199, sizeof(__pyx_k_199), 0, 0, 0},
20933 {&__pyx_kp_200, __pyx_k_200, sizeof(__pyx_k_200), 0, 0, 0},
20934 {&__pyx_kp_204, __pyx_k_204, sizeof(__pyx_k_204), 0, 0, 0},
20935 {&__pyx_kp_205, __pyx_k_205, sizeof(__pyx_k_205), 0, 0, 0},
20936 {&__pyx_kp_206, __pyx_k_206, sizeof(__pyx_k_206), 0, 0, 0},
20937 {&__pyx_kp_210, __pyx_k_210, sizeof(__pyx_k_210), 0, 0, 0},
20938 {&__pyx_kp_211, __pyx_k_211, sizeof(__pyx_k_211), 0, 0, 0},
20939 {&__pyx_kp_212, __pyx_k_212, sizeof(__pyx_k_212), 0, 0, 0},
20940 {&__pyx_kp_216, __pyx_k_216, sizeof(__pyx_k_216), 0, 0, 0},
20941 {&__pyx_kp_217, __pyx_k_217, sizeof(__pyx_k_217), 0, 0, 0},
20942 {&__pyx_kp_218, __pyx_k_218, sizeof(__pyx_k_218), 0, 0, 0},
20943 {&__pyx_kp_222, __pyx_k_222, sizeof(__pyx_k_222), 0, 1, 0},
20944 {&__pyx_kp_223, __pyx_k_223, sizeof(__pyx_k_223), 0, 1, 0},
20945 {&__pyx_kp_224, __pyx_k_224, sizeof(__pyx_k_224), 0, 0, 0},
20946 {&__pyx_kp_228, __pyx_k_228, sizeof(__pyx_k_228), 0, 0, 0},
20947 {&__pyx_kp_229, __pyx_k_229, sizeof(__pyx_k_229), 0, 0, 0},
20948 {&__pyx_kp_230, __pyx_k_230, sizeof(__pyx_k_230), 0, 0, 0},
20949 {&__pyx_kp_234, __pyx_k_234, sizeof(__pyx_k_234), 0, 0, 0},
20950 {&__pyx_kp_235, __pyx_k_235, sizeof(__pyx_k_235), 0, 0, 0},
20951 {&__pyx_kp_236, __pyx_k_236, sizeof(__pyx_k_236), 0, 0, 0},
20952 {&__pyx_kp_240, __pyx_k_240, sizeof(__pyx_k_240), 0, 0, 0},
20953 {&__pyx_kp_241, __pyx_k_241, sizeof(__pyx_k_241), 0, 0, 0},
20954 {&__pyx_kp_242, __pyx_k_242, sizeof(__pyx_k_242), 0, 0, 0},
20955 {&__pyx_kp_246, __pyx_k_246, sizeof(__pyx_k_246), 0, 0, 0},
20956 {&__pyx_kp_247, __pyx_k_247, sizeof(__pyx_k_247), 0, 0, 0},
20957 {&__pyx_kp_248, __pyx_k_248, sizeof(__pyx_k_248), 0, 0, 0},
20958 {&__pyx_kp_252, __pyx_k_252, sizeof(__pyx_k_252), 0, 0, 0},
20959 {&__pyx_kp_253, __pyx_k_253, sizeof(__pyx_k_253), 0, 0, 0},
20960 {&__pyx_kp_254, __pyx_k_254, sizeof(__pyx_k_254), 0, 0, 0},
20961 {&__pyx_kp_258, __pyx_k_258, sizeof(__pyx_k_258), 0, 0, 0},
20962 {&__pyx_kp_259, __pyx_k_259, sizeof(__pyx_k_259), 0, 0, 0},
20963 {&__pyx_kp_260, __pyx_k_260, sizeof(__pyx_k_260), 0, 0, 0},
20964 {&__pyx_kp_264, __pyx_k_264, sizeof(__pyx_k_264), 0, 0, 0},
20965 {&__pyx_kp_265, __pyx_k_265, sizeof(__pyx_k_265), 0, 0, 0},
20966 {&__pyx_kp_266, __pyx_k_266, sizeof(__pyx_k_266), 0, 0, 0},
20967 {&__pyx_kp_270, __pyx_k_270, sizeof(__pyx_k_270), 0, 0, 0},
20968 {&__pyx_kp_271, __pyx_k_271, sizeof(__pyx_k_271), 0, 0, 0},
20969 {&__pyx_kp_272, __pyx_k_272, sizeof(__pyx_k_272), 0, 0, 0},
20970 {&__pyx_kp_276, __pyx_k_276, sizeof(__pyx_k_276), 0, 0, 0},
20971 {&__pyx_kp_277, __pyx_k_277, sizeof(__pyx_k_277), 0, 0, 0},
20972 {&__pyx_kp_278, __pyx_k_278, sizeof(__pyx_k_278), 0, 0, 0},
20973 {&__pyx_kp_282, __pyx_k_282, sizeof(__pyx_k_282), 0, 0, 0},
20974 {&__pyx_kp_283, __pyx_k_283, sizeof(__pyx_k_283), 0, 0, 0},
20975 {&__pyx_kp_284, __pyx_k_284, sizeof(__pyx_k_284), 0, 0, 0},
20976 {&__pyx_kp_288, __pyx_k_288, sizeof(__pyx_k_288), 0, 0, 0},
20977 {&__pyx_kp_289, __pyx_k_289, sizeof(__pyx_k_289), 0, 0, 0},
20978 {&__pyx_kp_290, __pyx_k_290, sizeof(__pyx_k_290), 0, 0, 0},
20979 {&__pyx_kp_294, __pyx_k_294, sizeof(__pyx_k_294), 0, 0, 0},
20980 {&__pyx_kp_295, __pyx_k_295, sizeof(__pyx_k_295), 0, 0, 0},
20981 {&__pyx_kp_296, __pyx_k_296, sizeof(__pyx_k_296), 0, 0, 0},
20982 {&__pyx_kp_300, __pyx_k_300, sizeof(__pyx_k_300), 0, 0, 0},
20983 {&__pyx_kp_301, __pyx_k_301, sizeof(__pyx_k_301), 0, 0, 0},
20984 {&__pyx_kp_302, __pyx_k_302, sizeof(__pyx_k_302), 0, 0, 0},
20985 {&__pyx_kp_306, __pyx_k_306, sizeof(__pyx_k_306), 0, 0, 0},
20986 {&__pyx_kp_307, __pyx_k_307, sizeof(__pyx_k_307), 0, 0, 0},
20987 {&__pyx_kp_308, __pyx_k_308, sizeof(__pyx_k_308), 0, 0, 0},
20988 {&__pyx_kp_312, __pyx_k_312, sizeof(__pyx_k_312), 0, 0, 0},
20989 {&__pyx_kp_313, __pyx_k_313, sizeof(__pyx_k_313), 0, 0, 0},
20990 {&__pyx_kp_314, __pyx_k_314, sizeof(__pyx_k_314), 0, 0, 0},
20991 {&__pyx_kp_318, __pyx_k_318, sizeof(__pyx_k_318), 0, 0, 0},
20992 {&__pyx_kp_319, __pyx_k_319, sizeof(__pyx_k_319), 0, 0, 0},
20993 {&__pyx_kp_320, __pyx_k_320, sizeof(__pyx_k_320), 0, 0, 0},
20994 {&__pyx_kp_324, __pyx_k_324, sizeof(__pyx_k_324), 0, 0, 0},
20995 {&__pyx_kp_325, __pyx_k_325, sizeof(__pyx_k_325), 0, 0, 0},
20996 {&__pyx_kp_326, __pyx_k_326, sizeof(__pyx_k_326), 0, 0, 0},
20997 {&__pyx_kp_330, __pyx_k_330, sizeof(__pyx_k_330), 0, 0, 0},
20998 {&__pyx_kp_331, __pyx_k_331, sizeof(__pyx_k_331), 0, 0, 0},
20999 {&__pyx_kp_332, __pyx_k_332, sizeof(__pyx_k_332), 0, 0, 0},
21000 {&__pyx_kp_336, __pyx_k_336, sizeof(__pyx_k_336), 0, 0, 0},
21001 {&__pyx_kp_337, __pyx_k_337, sizeof(__pyx_k_337), 0, 0, 0},
21002 {&__pyx_kp_338, __pyx_k_338, sizeof(__pyx_k_338), 0, 0, 0},
21003 {&__pyx_kp_342, __pyx_k_342, sizeof(__pyx_k_342), 0, 0, 0},
21004 {&__pyx_kp_343, __pyx_k_343, sizeof(__pyx_k_343), 0, 0, 0},
21005 {&__pyx_kp_344, __pyx_k_344, sizeof(__pyx_k_344), 0, 0, 0},
21006 {&__pyx_kp_348, __pyx_k_348, sizeof(__pyx_k_348), 0, 0, 0},
21007 {&__pyx_kp_349, __pyx_k_349, sizeof(__pyx_k_349), 0, 0, 0},
21008 {&__pyx_kp_350, __pyx_k_350, sizeof(__pyx_k_350), 0, 0, 0},
21009 {&__pyx_kp_351, __pyx_k_351, sizeof(__pyx_k_351), 0, 0, 0},
21010 {&__pyx_kp_352, __pyx_k_352, sizeof(__pyx_k_352), 0, 0, 0},
21011 {&__pyx_kp_353, __pyx_k_353, sizeof(__pyx_k_353), 0, 0, 0},
21012 {&__pyx_kp_354, __pyx_k_354, sizeof(__pyx_k_354), 0, 0, 0},
21013 {&__pyx_kp_355, __pyx_k_355, sizeof(__pyx_k_355), 0, 0, 0},
21014 {&__pyx_kp_356, __pyx_k_356, sizeof(__pyx_k_356), 0, 0, 0},
21015 {&__pyx_kp_357, __pyx_k_357, sizeof(__pyx_k_357), 0, 0, 0},
21016 {&__pyx_kp_358, __pyx_k_358, sizeof(__pyx_k_358), 0, 0, 0},
21017 {&__pyx_kp_359, __pyx_k_359, sizeof(__pyx_k_359), 0, 0, 0},
21018 {&__pyx_kp_360, __pyx_k_360, sizeof(__pyx_k_360), 0, 0, 0},
21019 {&__pyx_kp_361, __pyx_k_361, sizeof(__pyx_k_361), 0, 0, 0},
21020 {&__pyx_kp_362, __pyx_k_362, sizeof(__pyx_k_362), 0, 0, 0},
21021 {&__pyx_kp_363, __pyx_k_363, sizeof(__pyx_k_363), 0, 0, 0},
21022 {&__pyx_kp_364, __pyx_k_364, sizeof(__pyx_k_364), 0, 0, 0},
21023 {&__pyx_kp_365, __pyx_k_365, sizeof(__pyx_k_365), 0, 0, 0},
21024 {&__pyx_kp_366, __pyx_k_366, sizeof(__pyx_k_366), 0, 0, 0},
21025 {&__pyx_kp_367, __pyx_k_367, sizeof(__pyx_k_367), 0, 0, 0},
21026 {&__pyx_kp_368, __pyx_k_368, sizeof(__pyx_k_368), 0, 0, 0},
21027 {&__pyx_kp_369, __pyx_k_369, sizeof(__pyx_k_369), 0, 0, 0},
21028 {&__pyx_kp_370, __pyx_k_370, sizeof(__pyx_k_370), 0, 0, 0},
21029 {&__pyx_kp_371, __pyx_k_371, sizeof(__pyx_k_371), 0, 0, 0},
21030 {&__pyx_kp_372, __pyx_k_372, sizeof(__pyx_k_372), 0, 0, 0},
21031 {&__pyx_kp_373, __pyx_k_373, sizeof(__pyx_k_373), 0, 0, 0},
21032 {&__pyx_kp_374, __pyx_k_374, sizeof(__pyx_k_374), 0, 0, 0},
21033 {&__pyx_kp_375, __pyx_k_375, sizeof(__pyx_k_375), 0, 0, 0},
21034 {&__pyx_kp_376, __pyx_k_376, sizeof(__pyx_k_376), 0, 0, 0},
21035 {&__pyx_kp_377, __pyx_k_377, sizeof(__pyx_k_377), 0, 0, 0},
21036 {&__pyx_kp_378, __pyx_k_378, sizeof(__pyx_k_378), 0, 0, 0},
21037 {&__pyx_kp_379, __pyx_k_379, sizeof(__pyx_k_379), 0, 0, 0},
21038 {&__pyx_kp_380, __pyx_k_380, sizeof(__pyx_k_380), 0, 0, 0},
21039 {&__pyx_kp_381, __pyx_k_381, sizeof(__pyx_k_381), 0, 0, 0},
21040 {&__pyx_kp_timer_add, __pyx_k_timer_add, sizeof(__pyx_k_timer_add), 1, 1, 1},
21041 {&__pyx_kp_c_ui_info, __pyx_k_c_ui_info, sizeof(__pyx_k_c_ui_info), 1, 1, 1},
21042 {&__pyx_kp_405, __pyx_k_405, sizeof(__pyx_k_405), 0, 1, 0},
21043 {&__pyx_kp_406, __pyx_k_406, sizeof(__pyx_k_406), 0, 1, 0},
21044 {&__pyx_kp_407, __pyx_k_407, sizeof(__pyx_k_407), 0, 1, 0},
21045 {&__pyx_kp_408, __pyx_k_408, sizeof(__pyx_k_408), 0, 1, 0},
21046 {&__pyx_kp_409, __pyx_k_409, sizeof(__pyx_k_409), 0, 1, 0},
21047 {&__pyx_kp_410, __pyx_k_410, sizeof(__pyx_k_410), 0, 1, 0},
21048 {&__pyx_kp_412, __pyx_k_412, sizeof(__pyx_k_412), 0, 0, 0},
21049 {&__pyx_kp_414, __pyx_k_414, sizeof(__pyx_k_414), 0, 0, 0},
21050 {&__pyx_kp_416, __pyx_k_416, sizeof(__pyx_k_416), 0, 0, 0},
21051 {&__pyx_kp_418, __pyx_k_418, sizeof(__pyx_k_418), 0, 0, 0},
21052 {&__pyx_kp_420, __pyx_k_420, sizeof(__pyx_k_420), 0, 0, 0},
21053 {&__pyx_kp_422, __pyx_k_422, sizeof(__pyx_k_422), 0, 0, 0},
21054 {&__pyx_kp_424, __pyx_k_424, sizeof(__pyx_k_424), 0, 0, 0},
21055 {&__pyx_kp_append, __pyx_k_append, sizeof(__pyx_k_append), 1, 1, 1},
21056 {&__pyx_kp_bool, __pyx_k_bool, sizeof(__pyx_k_bool), 1, 1, 1},
21057 {&__pyx_kp_427, __pyx_k_427, sizeof(__pyx_k_427), 0, 1, 0},
21058 {&__pyx_kp_428, __pyx_k_428, sizeof(__pyx_k_428), 0, 1, 0},
21059 {&__pyx_kp_429, __pyx_k_429, sizeof(__pyx_k_429), 0, 1, 0},
21060 {&__pyx_kp_430, __pyx_k_430, sizeof(__pyx_k_430), 0, 1, 0},
21061 {&__pyx_kp_431, __pyx_k_431, sizeof(__pyx_k_431), 0, 1, 0},
21062 {&__pyx_kp_432, __pyx_k_432, sizeof(__pyx_k_432), 0, 1, 0},
21063 {&__pyx_kp_keys, __pyx_k_keys, sizeof(__pyx_k_keys), 1, 1, 1},
21064 {&__pyx_kp_433, __pyx_k_433, sizeof(__pyx_k_433), 0, 1, 0},
21065 {&__pyx_kp_434, __pyx_k_434, sizeof(__pyx_k_434), 0, 1, 0},
21066 {&__pyx_kp_435, __pyx_k_435, sizeof(__pyx_k_435), 0, 1, 0},
21067 {&__pyx_kp_436, __pyx_k_436, sizeof(__pyx_k_436), 0, 1, 0},
21068 {&__pyx_kp_437, __pyx_k_437, sizeof(__pyx_k_437), 0, 1, 0},
21069 {&__pyx_kp_438, __pyx_k_438, sizeof(__pyx_k_438), 0, 1, 0},
21070 {&__pyx_kp_439, __pyx_k_439, sizeof(__pyx_k_439), 0, 1, 0},
21071 {&__pyx_kp_440, __pyx_k_440, sizeof(__pyx_k_440), 0, 1, 0},
21072 {&__pyx_kp_441, __pyx_k_441, sizeof(__pyx_k_441), 0, 1, 0},
21073 {&__pyx_kp_442, __pyx_k_442, sizeof(__pyx_k_442), 0, 1, 0},
21074 {&__pyx_kp_443, __pyx_k_443, sizeof(__pyx_k_443), 0, 1, 0},
21075 {&__pyx_kp_444, __pyx_k_444, sizeof(__pyx_k_444), 0, 1, 0},
21076 {&__pyx_kp_445, __pyx_k_445, sizeof(__pyx_k_445), 0, 1, 0},
21077 {&__pyx_kp_446, __pyx_k_446, sizeof(__pyx_k_446), 0, 1, 0},
21078 {&__pyx_kp_447, __pyx_k_447, sizeof(__pyx_k_447), 0, 1, 0},
21079 {&__pyx_kp_448, __pyx_k_448, sizeof(__pyx_k_448), 0, 1, 0},
21080 {&__pyx_kp_451, __pyx_k_451, sizeof(__pyx_k_451), 0, 1, 0},
21081 {&__pyx_kp_452, __pyx_k_452, sizeof(__pyx_k_452), 0, 1, 0},
21082 {&__pyx_kp_453, __pyx_k_453, sizeof(__pyx_k_453), 0, 1, 0},
21083 {&__pyx_kp_457, __pyx_k_457, sizeof(__pyx_k_457), 0, 0, 0},
21084 {&__pyx_kp_459, __pyx_k_459, sizeof(__pyx_k_459), 0, 1, 0},
21085 {&__pyx_kp_460, __pyx_k_460, sizeof(__pyx_k_460), 0, 1, 0},
21086 {&__pyx_kp_461, __pyx_k_461, sizeof(__pyx_k_461), 0, 1, 0},
21087 {&__pyx_kp_462, __pyx_k_462, sizeof(__pyx_k_462), 0, 1, 0},
21088 {&__pyx_kp_463, __pyx_k_463, sizeof(__pyx_k_463), 0, 1, 0},
21089 {&__pyx_kp_464, __pyx_k_464, sizeof(__pyx_k_464), 0, 1, 0},
21090 {&__pyx_kp_465, __pyx_k_465, sizeof(__pyx_k_465), 0, 1, 0},
21091 {&__pyx_kp_466, __pyx_k_466, sizeof(__pyx_k_466), 0, 1, 0},
21094 static struct __pyx_vtabstruct_6purple_Purple __pyx_vtable_6purple_Purple;
21096 static PyObject *__pyx_tp_new_6purple_Purple(PyTypeObject *t, PyObject *a, PyObject *k) {
21097 struct __pyx_obj_6purple_Purple *p;
21098 PyObject *o = (*t->tp_alloc)(t, 0);
21100 p = ((struct __pyx_obj_6purple_Purple *)o);
21101 *(struct __pyx_vtabstruct_6purple_Purple **)&p->__pyx_vtab = __pyx_vtabptr_6purple_Purple;
21105 static void __pyx_tp_dealloc_6purple_Purple(PyObject *o) {
21106 (*Py_TYPE(o)->tp_free)(o);
21109 static struct PyMethodDef __pyx_methods_6purple_Purple[] = {
21110 {"destroy", (PyCFunction)__pyx_pf_6purple_6Purple_destroy, METH_NOARGS, 0},
21111 {"__get_ui_name", (PyCFunction)__pyx_pf_6purple_6Purple___get_ui_name, METH_NOARGS, 0},
21112 {"__glib_iteration_when_idle", (PyCFunction)__pyx_pf_6purple_6Purple___glib_iteration_when_idle, METH_NOARGS, 0},
21113 {"purple_init", (PyCFunction)__pyx_pf_6purple_6Purple_purple_init, METH_NOARGS, __pyx_doc_6purple_6Purple_purple_init},
21114 {"add_callback", (PyCFunction)__pyx_pf_6purple_6Purple_add_callback, METH_VARARGS|METH_KEYWORDS, __pyx_doc_6purple_6Purple_add_callback},
21115 {"signal_connect", (PyCFunction)__pyx_pf_6purple_6Purple_signal_connect, METH_VARARGS|METH_KEYWORDS, 0},
21116 {"accounts_get_all", (PyCFunction)__pyx_pf_6purple_6Purple_accounts_get_all, METH_NOARGS, 0},
21117 {"accounts_get_all_active", (PyCFunction)__pyx_pf_6purple_6Purple_accounts_get_all_active, METH_NOARGS, 0},
21118 {"protocols_get_all", (PyCFunction)__pyx_pf_6purple_6Purple_protocols_get_all, METH_NOARGS, 0},
21122 static PyNumberMethods __pyx_tp_as_number_Purple = {
21126 #if PY_MAJOR_VERSION < 3
21129 0, /*nb_remainder*/
21142 #if PY_MAJOR_VERSION < 3
21148 #if PY_MAJOR_VERSION < 3
21151 #if PY_MAJOR_VERSION < 3
21154 0, /*nb_inplace_add*/
21155 0, /*nb_inplace_subtract*/
21156 0, /*nb_inplace_multiply*/
21157 #if PY_MAJOR_VERSION < 3
21158 0, /*nb_inplace_divide*/
21160 0, /*nb_inplace_remainder*/
21161 0, /*nb_inplace_power*/
21162 0, /*nb_inplace_lshift*/
21163 0, /*nb_inplace_rshift*/
21164 0, /*nb_inplace_and*/
21165 0, /*nb_inplace_xor*/
21166 0, /*nb_inplace_or*/
21167 0, /*nb_floor_divide*/
21168 0, /*nb_true_divide*/
21169 0, /*nb_inplace_floor_divide*/
21170 0, /*nb_inplace_true_divide*/
21171 #if (PY_MAJOR_VERSION >= 3) || (Py_TPFLAGS_DEFAULT & Py_TPFLAGS_HAVE_INDEX)
21176 static PySequenceMethods __pyx_tp_as_sequence_Purple = {
21183 0, /*sq_ass_slice*/
21185 0, /*sq_inplace_concat*/
21186 0, /*sq_inplace_repeat*/
21189 static PyMappingMethods __pyx_tp_as_mapping_Purple = {
21191 0, /*mp_subscript*/
21192 0, /*mp_ass_subscript*/
21195 static PyBufferProcs __pyx_tp_as_buffer_Purple = {
21196 #if PY_MAJOR_VERSION < 3
21197 0, /*bf_getreadbuffer*/
21199 #if PY_MAJOR_VERSION < 3
21200 0, /*bf_getwritebuffer*/
21202 #if PY_MAJOR_VERSION < 3
21203 0, /*bf_getsegcount*/
21205 #if PY_MAJOR_VERSION < 3
21206 0, /*bf_getcharbuffer*/
21208 #if (PY_MAJOR_VERSION >= 3) || (Py_TPFLAGS_DEFAULT & Py_TPFLAGS_HAVE_NEWBUFFER)
21209 0, /*bf_getbuffer*/
21211 #if (PY_MAJOR_VERSION >= 3) || (Py_TPFLAGS_DEFAULT & Py_TPFLAGS_HAVE_NEWBUFFER)
21212 0, /*bf_releasebuffer*/
21216 PyTypeObject __pyx_type_6purple_Purple = {
21217 PyVarObject_HEAD_INIT(0, 0)
21218 "purple.Purple", /*tp_name*/
21219 sizeof(struct __pyx_obj_6purple_Purple), /*tp_basicsize*/
21221 __pyx_tp_dealloc_6purple_Purple, /*tp_dealloc*/
21227 &__pyx_tp_as_number_Purple, /*tp_as_number*/
21228 &__pyx_tp_as_sequence_Purple, /*tp_as_sequence*/
21229 &__pyx_tp_as_mapping_Purple, /*tp_as_mapping*/
21235 &__pyx_tp_as_buffer_Purple, /*tp_as_buffer*/
21236 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_BASETYPE, /*tp_flags*/
21237 " Purple class.\n\n @param debug_enabled: Toggle debug messages.\n @param default_path: Full path for libpurple user files.\n ", /*tp_doc*/
21240 0, /*tp_richcompare*/
21241 0, /*tp_weaklistoffset*/
21244 __pyx_methods_6purple_Purple, /*tp_methods*/
21249 0, /*tp_descr_get*/
21250 0, /*tp_descr_set*/
21251 0, /*tp_dictoffset*/
21252 __pyx_pf_6purple_6Purple___init__, /*tp_init*/
21254 __pyx_tp_new_6purple_Purple, /*tp_new*/
21260 0, /*tp_subclasses*/
21263 static struct __pyx_vtabstruct_6purple_Protocol __pyx_vtable_6purple_Protocol;
21265 static PyObject *__pyx_tp_new_6purple_Protocol(PyTypeObject *t, PyObject *a, PyObject *k) {
21266 struct __pyx_obj_6purple_Protocol *p;
21267 PyObject *o = (*t->tp_alloc)(t, 0);
21269 p = ((struct __pyx_obj_6purple_Protocol *)o);
21270 *(struct __pyx_vtabstruct_6purple_Protocol **)&p->__pyx_vtab = __pyx_vtabptr_6purple_Protocol;
21271 p->__id = Py_None; Py_INCREF(Py_None);
21272 p->__exists = Py_None; Py_INCREF(Py_None);
21276 static void __pyx_tp_dealloc_6purple_Protocol(PyObject *o) {
21277 struct __pyx_obj_6purple_Protocol *p = (struct __pyx_obj_6purple_Protocol *)o;
21278 Py_XDECREF(p->__id);
21279 Py_XDECREF(p->__exists);
21280 (*Py_TYPE(o)->tp_free)(o);
21283 static int __pyx_tp_traverse_6purple_Protocol(PyObject *o, visitproc v, void *a) {
21285 struct __pyx_obj_6purple_Protocol *p = (struct __pyx_obj_6purple_Protocol *)o;
21287 e = (*v)(p->__id, a); if (e) return e;
21290 e = (*v)(p->__exists, a); if (e) return e;
21295 static int __pyx_tp_clear_6purple_Protocol(PyObject *o) {
21296 struct __pyx_obj_6purple_Protocol *p = (struct __pyx_obj_6purple_Protocol *)o;
21298 tmp = ((PyObject*)p->__id);
21299 p->__id = Py_None; Py_INCREF(Py_None);
21301 tmp = ((PyObject*)p->__exists);
21302 p->__exists = Py_None; Py_INCREF(Py_None);
21307 static struct PyMethodDef __pyx_methods_6purple_Protocol[] = {
21308 {"__get_exists", (PyCFunction)__pyx_pf_6purple_8Protocol___get_exists, METH_NOARGS, 0},
21309 {"__get_id", (PyCFunction)__pyx_pf_6purple_8Protocol___get_id, METH_NOARGS, 0},
21310 {"__get_name", (PyCFunction)__pyx_pf_6purple_8Protocol___get_name, METH_NOARGS, 0},
21311 {"__get_options_labels", (PyCFunction)__pyx_pf_6purple_8Protocol___get_options_labels, METH_NOARGS, 0},
21312 {"__get_options_values", (PyCFunction)__pyx_pf_6purple_8Protocol___get_options_values, METH_NOARGS, 0},
21316 static PyNumberMethods __pyx_tp_as_number_Protocol = {
21320 #if PY_MAJOR_VERSION < 3
21323 0, /*nb_remainder*/
21336 #if PY_MAJOR_VERSION < 3
21342 #if PY_MAJOR_VERSION < 3
21345 #if PY_MAJOR_VERSION < 3
21348 0, /*nb_inplace_add*/
21349 0, /*nb_inplace_subtract*/
21350 0, /*nb_inplace_multiply*/
21351 #if PY_MAJOR_VERSION < 3
21352 0, /*nb_inplace_divide*/
21354 0, /*nb_inplace_remainder*/
21355 0, /*nb_inplace_power*/
21356 0, /*nb_inplace_lshift*/
21357 0, /*nb_inplace_rshift*/
21358 0, /*nb_inplace_and*/
21359 0, /*nb_inplace_xor*/
21360 0, /*nb_inplace_or*/
21361 0, /*nb_floor_divide*/
21362 0, /*nb_true_divide*/
21363 0, /*nb_inplace_floor_divide*/
21364 0, /*nb_inplace_true_divide*/
21365 #if (PY_MAJOR_VERSION >= 3) || (Py_TPFLAGS_DEFAULT & Py_TPFLAGS_HAVE_INDEX)
21370 static PySequenceMethods __pyx_tp_as_sequence_Protocol = {
21377 0, /*sq_ass_slice*/
21379 0, /*sq_inplace_concat*/
21380 0, /*sq_inplace_repeat*/
21383 static PyMappingMethods __pyx_tp_as_mapping_Protocol = {
21385 0, /*mp_subscript*/
21386 0, /*mp_ass_subscript*/
21389 static PyBufferProcs __pyx_tp_as_buffer_Protocol = {
21390 #if PY_MAJOR_VERSION < 3
21391 0, /*bf_getreadbuffer*/
21393 #if PY_MAJOR_VERSION < 3
21394 0, /*bf_getwritebuffer*/
21396 #if PY_MAJOR_VERSION < 3
21397 0, /*bf_getsegcount*/
21399 #if PY_MAJOR_VERSION < 3
21400 0, /*bf_getcharbuffer*/
21402 #if (PY_MAJOR_VERSION >= 3) || (Py_TPFLAGS_DEFAULT & Py_TPFLAGS_HAVE_NEWBUFFER)
21403 0, /*bf_getbuffer*/
21405 #if (PY_MAJOR_VERSION >= 3) || (Py_TPFLAGS_DEFAULT & Py_TPFLAGS_HAVE_NEWBUFFER)
21406 0, /*bf_releasebuffer*/
21410 PyTypeObject __pyx_type_6purple_Protocol = {
21411 PyVarObject_HEAD_INIT(0, 0)
21412 "purple.Protocol", /*tp_name*/
21413 sizeof(struct __pyx_obj_6purple_Protocol), /*tp_basicsize*/
21415 __pyx_tp_dealloc_6purple_Protocol, /*tp_dealloc*/
21421 &__pyx_tp_as_number_Protocol, /*tp_as_number*/
21422 &__pyx_tp_as_sequence_Protocol, /*tp_as_sequence*/
21423 &__pyx_tp_as_mapping_Protocol, /*tp_as_mapping*/
21429 &__pyx_tp_as_buffer_Protocol, /*tp_as_buffer*/
21430 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
21431 "\n Protocol class\n @param id\n ", /*tp_doc*/
21432 __pyx_tp_traverse_6purple_Protocol, /*tp_traverse*/
21433 __pyx_tp_clear_6purple_Protocol, /*tp_clear*/
21434 0, /*tp_richcompare*/
21435 0, /*tp_weaklistoffset*/
21438 __pyx_methods_6purple_Protocol, /*tp_methods*/
21443 0, /*tp_descr_get*/
21444 0, /*tp_descr_set*/
21445 0, /*tp_dictoffset*/
21446 __pyx_pf_6purple_8Protocol___init__, /*tp_init*/
21448 __pyx_tp_new_6purple_Protocol, /*tp_new*/
21454 0, /*tp_subclasses*/
21458 static PyObject *__pyx_tp_new_6purple_ProxyInfoType(PyTypeObject *t, PyObject *a, PyObject *k) {
21459 PyObject *o = (*t->tp_alloc)(t, 0);
21464 static void __pyx_tp_dealloc_6purple_ProxyInfoType(PyObject *o) {
21465 (*Py_TYPE(o)->tp_free)(o);
21468 static struct PyMethodDef __pyx_methods_6purple_ProxyInfoType[] = {
21469 {"get_NONE", (PyCFunction)__pyx_pf_6purple_13ProxyInfoType_get_NONE, METH_NOARGS, 0},
21470 {"get_USE_GLOBAL", (PyCFunction)__pyx_pf_6purple_13ProxyInfoType_get_USE_GLOBAL, METH_NOARGS, 0},
21471 {"get_HTTP", (PyCFunction)__pyx_pf_6purple_13ProxyInfoType_get_HTTP, METH_NOARGS, 0},
21472 {"get_SOCKS4", (PyCFunction)__pyx_pf_6purple_13ProxyInfoType_get_SOCKS4, METH_NOARGS, 0},
21473 {"get_SOCKS5", (PyCFunction)__pyx_pf_6purple_13ProxyInfoType_get_SOCKS5, METH_NOARGS, 0},
21474 {"get_USE_ENVVAR", (PyCFunction)__pyx_pf_6purple_13ProxyInfoType_get_USE_ENVVAR, METH_NOARGS, 0},
21478 static PyNumberMethods __pyx_tp_as_number_ProxyInfoType = {
21482 #if PY_MAJOR_VERSION < 3
21485 0, /*nb_remainder*/
21498 #if PY_MAJOR_VERSION < 3
21504 #if PY_MAJOR_VERSION < 3
21507 #if PY_MAJOR_VERSION < 3
21510 0, /*nb_inplace_add*/
21511 0, /*nb_inplace_subtract*/
21512 0, /*nb_inplace_multiply*/
21513 #if PY_MAJOR_VERSION < 3
21514 0, /*nb_inplace_divide*/
21516 0, /*nb_inplace_remainder*/
21517 0, /*nb_inplace_power*/
21518 0, /*nb_inplace_lshift*/
21519 0, /*nb_inplace_rshift*/
21520 0, /*nb_inplace_and*/
21521 0, /*nb_inplace_xor*/
21522 0, /*nb_inplace_or*/
21523 0, /*nb_floor_divide*/
21524 0, /*nb_true_divide*/
21525 0, /*nb_inplace_floor_divide*/
21526 0, /*nb_inplace_true_divide*/
21527 #if (PY_MAJOR_VERSION >= 3) || (Py_TPFLAGS_DEFAULT & Py_TPFLAGS_HAVE_INDEX)
21532 static PySequenceMethods __pyx_tp_as_sequence_ProxyInfoType = {
21539 0, /*sq_ass_slice*/
21541 0, /*sq_inplace_concat*/
21542 0, /*sq_inplace_repeat*/
21545 static PyMappingMethods __pyx_tp_as_mapping_ProxyInfoType = {
21547 0, /*mp_subscript*/
21548 0, /*mp_ass_subscript*/
21551 static PyBufferProcs __pyx_tp_as_buffer_ProxyInfoType = {
21552 #if PY_MAJOR_VERSION < 3
21553 0, /*bf_getreadbuffer*/
21555 #if PY_MAJOR_VERSION < 3
21556 0, /*bf_getwritebuffer*/
21558 #if PY_MAJOR_VERSION < 3
21559 0, /*bf_getsegcount*/
21561 #if PY_MAJOR_VERSION < 3
21562 0, /*bf_getcharbuffer*/
21564 #if (PY_MAJOR_VERSION >= 3) || (Py_TPFLAGS_DEFAULT & Py_TPFLAGS_HAVE_NEWBUFFER)
21565 0, /*bf_getbuffer*/
21567 #if (PY_MAJOR_VERSION >= 3) || (Py_TPFLAGS_DEFAULT & Py_TPFLAGS_HAVE_NEWBUFFER)
21568 0, /*bf_releasebuffer*/
21572 PyTypeObject __pyx_type_6purple_ProxyInfoType = {
21573 PyVarObject_HEAD_INIT(0, 0)
21574 "purple.ProxyInfoType", /*tp_name*/
21575 sizeof(struct __pyx_obj_6purple_ProxyInfoType), /*tp_basicsize*/
21577 __pyx_tp_dealloc_6purple_ProxyInfoType, /*tp_dealloc*/
21583 &__pyx_tp_as_number_ProxyInfoType, /*tp_as_number*/
21584 &__pyx_tp_as_sequence_ProxyInfoType, /*tp_as_sequence*/
21585 &__pyx_tp_as_mapping_ProxyInfoType, /*tp_as_mapping*/
21591 &__pyx_tp_as_buffer_ProxyInfoType, /*tp_as_buffer*/
21592 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_BASETYPE, /*tp_flags*/
21596 0, /*tp_richcompare*/
21597 0, /*tp_weaklistoffset*/
21600 __pyx_methods_6purple_ProxyInfoType, /*tp_methods*/
21605 0, /*tp_descr_get*/
21606 0, /*tp_descr_set*/
21607 0, /*tp_dictoffset*/
21608 __pyx_pf_6purple_13ProxyInfoType___init__, /*tp_init*/
21610 __pyx_tp_new_6purple_ProxyInfoType, /*tp_new*/
21616 0, /*tp_subclasses*/
21620 static PyObject *__pyx_tp_new_6purple_ProxyInfo(PyTypeObject *t, PyObject *a, PyObject *k) {
21621 struct __pyx_obj_6purple_ProxyInfo *p;
21622 PyObject *o = (*t->tp_alloc)(t, 0);
21624 p = ((struct __pyx_obj_6purple_ProxyInfo *)o);
21625 p->types = Py_None; Py_INCREF(Py_None);
21629 static void __pyx_tp_dealloc_6purple_ProxyInfo(PyObject *o) {
21630 struct __pyx_obj_6purple_ProxyInfo *p = (struct __pyx_obj_6purple_ProxyInfo *)o;
21631 Py_XDECREF(p->types);
21632 (*Py_TYPE(o)->tp_free)(o);
21635 static int __pyx_tp_traverse_6purple_ProxyInfo(PyObject *o, visitproc v, void *a) {
21637 struct __pyx_obj_6purple_ProxyInfo *p = (struct __pyx_obj_6purple_ProxyInfo *)o;
21639 e = (*v)(p->types, a); if (e) return e;
21644 static int __pyx_tp_clear_6purple_ProxyInfo(PyObject *o) {
21645 struct __pyx_obj_6purple_ProxyInfo *p = (struct __pyx_obj_6purple_ProxyInfo *)o;
21647 tmp = ((PyObject*)p->types);
21648 p->types = Py_None; Py_INCREF(Py_None);
21653 static struct PyMethodDef __pyx_methods_6purple_ProxyInfo[] = {
21654 {"set_type", (PyCFunction)__pyx_pf_6purple_9ProxyInfo_set_type, METH_O, 0},
21655 {"set_host", (PyCFunction)__pyx_pf_6purple_9ProxyInfo_set_host, METH_O, 0},
21656 {"set_port", (PyCFunction)__pyx_pf_6purple_9ProxyInfo_set_port, METH_O, 0},
21657 {"set_username", (PyCFunction)__pyx_pf_6purple_9ProxyInfo_set_username, METH_O, 0},
21658 {"set_password", (PyCFunction)__pyx_pf_6purple_9ProxyInfo_set_password, METH_O, 0},
21659 {"get_types", (PyCFunction)__pyx_pf_6purple_9ProxyInfo_get_types, METH_NOARGS, 0},
21660 {"set_info", (PyCFunction)__pyx_pf_6purple_9ProxyInfo_set_info, METH_VARARGS|METH_KEYWORDS, __pyx_doc_6purple_9ProxyInfo_set_info},
21664 static PyNumberMethods __pyx_tp_as_number_ProxyInfo = {
21668 #if PY_MAJOR_VERSION < 3
21671 0, /*nb_remainder*/
21684 #if PY_MAJOR_VERSION < 3
21690 #if PY_MAJOR_VERSION < 3
21693 #if PY_MAJOR_VERSION < 3
21696 0, /*nb_inplace_add*/
21697 0, /*nb_inplace_subtract*/
21698 0, /*nb_inplace_multiply*/
21699 #if PY_MAJOR_VERSION < 3
21700 0, /*nb_inplace_divide*/
21702 0, /*nb_inplace_remainder*/
21703 0, /*nb_inplace_power*/
21704 0, /*nb_inplace_lshift*/
21705 0, /*nb_inplace_rshift*/
21706 0, /*nb_inplace_and*/
21707 0, /*nb_inplace_xor*/
21708 0, /*nb_inplace_or*/
21709 0, /*nb_floor_divide*/
21710 0, /*nb_true_divide*/
21711 0, /*nb_inplace_floor_divide*/
21712 0, /*nb_inplace_true_divide*/
21713 #if (PY_MAJOR_VERSION >= 3) || (Py_TPFLAGS_DEFAULT & Py_TPFLAGS_HAVE_INDEX)
21718 static PySequenceMethods __pyx_tp_as_sequence_ProxyInfo = {
21725 0, /*sq_ass_slice*/
21727 0, /*sq_inplace_concat*/
21728 0, /*sq_inplace_repeat*/
21731 static PyMappingMethods __pyx_tp_as_mapping_ProxyInfo = {
21733 0, /*mp_subscript*/
21734 0, /*mp_ass_subscript*/
21737 static PyBufferProcs __pyx_tp_as_buffer_ProxyInfo = {
21738 #if PY_MAJOR_VERSION < 3
21739 0, /*bf_getreadbuffer*/
21741 #if PY_MAJOR_VERSION < 3
21742 0, /*bf_getwritebuffer*/
21744 #if PY_MAJOR_VERSION < 3
21745 0, /*bf_getsegcount*/
21747 #if PY_MAJOR_VERSION < 3
21748 0, /*bf_getcharbuffer*/
21750 #if (PY_MAJOR_VERSION >= 3) || (Py_TPFLAGS_DEFAULT & Py_TPFLAGS_HAVE_NEWBUFFER)
21751 0, /*bf_getbuffer*/
21753 #if (PY_MAJOR_VERSION >= 3) || (Py_TPFLAGS_DEFAULT & Py_TPFLAGS_HAVE_NEWBUFFER)
21754 0, /*bf_releasebuffer*/
21758 PyTypeObject __pyx_type_6purple_ProxyInfo = {
21759 PyVarObject_HEAD_INIT(0, 0)
21760 "purple.ProxyInfo", /*tp_name*/
21761 sizeof(struct __pyx_obj_6purple_ProxyInfo), /*tp_basicsize*/
21763 __pyx_tp_dealloc_6purple_ProxyInfo, /*tp_dealloc*/
21769 &__pyx_tp_as_number_ProxyInfo, /*tp_as_number*/
21770 &__pyx_tp_as_sequence_ProxyInfo, /*tp_as_sequence*/
21771 &__pyx_tp_as_mapping_ProxyInfo, /*tp_as_mapping*/
21777 &__pyx_tp_as_buffer_ProxyInfo, /*tp_as_buffer*/
21778 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
21780 __pyx_tp_traverse_6purple_ProxyInfo, /*tp_traverse*/
21781 __pyx_tp_clear_6purple_ProxyInfo, /*tp_clear*/
21782 0, /*tp_richcompare*/
21783 0, /*tp_weaklistoffset*/
21786 __pyx_methods_6purple_ProxyInfo, /*tp_methods*/
21791 0, /*tp_descr_get*/
21792 0, /*tp_descr_set*/
21793 0, /*tp_dictoffset*/
21794 __pyx_pf_6purple_9ProxyInfo___init__, /*tp_init*/
21796 __pyx_tp_new_6purple_ProxyInfo, /*tp_new*/
21802 0, /*tp_subclasses*/
21805 static struct __pyx_vtabstruct_6purple_Account __pyx_vtable_6purple_Account;
21807 static PyObject *__pyx_tp_new_6purple_Account(PyTypeObject *t, PyObject *a, PyObject *k) {
21808 struct __pyx_obj_6purple_Account *p;
21809 PyObject *o = (*t->tp_alloc)(t, 0);
21811 p = ((struct __pyx_obj_6purple_Account *)o);
21812 *(struct __pyx_vtabstruct_6purple_Account **)&p->__pyx_vtab = __pyx_vtabptr_6purple_Account;
21813 p->__username = Py_None; Py_INCREF(Py_None);
21814 p->__protocol = Py_None; Py_INCREF(Py_None);
21815 p->__core = Py_None; Py_INCREF(Py_None);
21816 p->__exists = Py_None; Py_INCREF(Py_None);
21820 static void __pyx_tp_dealloc_6purple_Account(PyObject *o) {
21821 struct __pyx_obj_6purple_Account *p = (struct __pyx_obj_6purple_Account *)o;
21822 Py_XDECREF(p->__username);
21823 Py_XDECREF(p->__protocol);
21824 Py_XDECREF(p->__core);
21825 Py_XDECREF(p->__exists);
21826 (*Py_TYPE(o)->tp_free)(o);
21829 static int __pyx_tp_traverse_6purple_Account(PyObject *o, visitproc v, void *a) {
21831 struct __pyx_obj_6purple_Account *p = (struct __pyx_obj_6purple_Account *)o;
21832 if (p->__username) {
21833 e = (*v)(p->__username, a); if (e) return e;
21835 if (p->__protocol) {
21836 e = (*v)(p->__protocol, a); if (e) return e;
21839 e = (*v)(p->__core, a); if (e) return e;
21842 e = (*v)(p->__exists, a); if (e) return e;
21847 static int __pyx_tp_clear_6purple_Account(PyObject *o) {
21848 struct __pyx_obj_6purple_Account *p = (struct __pyx_obj_6purple_Account *)o;
21850 tmp = ((PyObject*)p->__username);
21851 p->__username = Py_None; Py_INCREF(Py_None);
21853 tmp = ((PyObject*)p->__protocol);
21854 p->__protocol = Py_None; Py_INCREF(Py_None);
21856 tmp = ((PyObject*)p->__core);
21857 p->__core = Py_None; Py_INCREF(Py_None);
21859 tmp = ((PyObject*)p->__exists);
21860 p->__exists = Py_None; Py_INCREF(Py_None);
21865 static struct PyMethodDef __pyx_methods_6purple_Account[] = {
21866 {"__is_connected", (PyCFunction)__pyx_pf_6purple_7Account___is_connected, METH_NOARGS, 0},
21867 {"__is_connecting", (PyCFunction)__pyx_pf_6purple_7Account___is_connecting, METH_NOARGS, 0},
21868 {"__is_disconnected", (PyCFunction)__pyx_pf_6purple_7Account___is_disconnected, METH_NOARGS, 0},
21869 {"__get_core", (PyCFunction)__pyx_pf_6purple_7Account___get_core, METH_NOARGS, 0},
21870 {"__get_exists", (PyCFunction)__pyx_pf_6purple_7Account___get_exists, METH_NOARGS, 0},
21871 {"__get_username", (PyCFunction)__pyx_pf_6purple_7Account___get_username, METH_NOARGS, 0},
21872 {"__get_protocol", (PyCFunction)__pyx_pf_6purple_7Account___get_protocol, METH_NOARGS, 0},
21873 {"_get_protocol_options", (PyCFunction)__pyx_pf_6purple_7Account__get_protocol_options, METH_NOARGS, __pyx_doc_6purple_7Account__get_protocol_options},
21874 {"__get_password", (PyCFunction)__pyx_pf_6purple_7Account___get_password, METH_NOARGS, 0},
21875 {"__get_alias", (PyCFunction)__pyx_pf_6purple_7Account___get_alias, METH_NOARGS, 0},
21876 {"__get_user_info", (PyCFunction)__pyx_pf_6purple_7Account___get_user_info, METH_NOARGS, 0},
21877 {"__get_remember_password", (PyCFunction)__pyx_pf_6purple_7Account___get_remember_password, METH_NOARGS, 0},
21878 {"__get_enabled", (PyCFunction)__pyx_pf_6purple_7Account___get_enabled, METH_NOARGS, 0},
21879 {"__get_status_types", (PyCFunction)__pyx_pf_6purple_7Account___get_status_types, METH_NOARGS, 0},
21880 {"__get_active_status", (PyCFunction)__pyx_pf_6purple_7Account___get_active_status, METH_NOARGS, 0},
21881 {"set_username", (PyCFunction)__pyx_pf_6purple_7Account_set_username, METH_O, __pyx_doc_6purple_7Account_set_username},
21882 {"set_protocol", (PyCFunction)__pyx_pf_6purple_7Account_set_protocol, METH_O, __pyx_doc_6purple_7Account_set_protocol},
21883 {"set_protocol_options", (PyCFunction)__pyx_pf_6purple_7Account_set_protocol_options, METH_O, __pyx_doc_6purple_7Account_set_protocol_options},
21884 {"set_password", (PyCFunction)__pyx_pf_6purple_7Account_set_password, METH_O, __pyx_doc_6purple_7Account_set_password},
21885 {"set_alias", (PyCFunction)__pyx_pf_6purple_7Account_set_alias, METH_O, __pyx_doc_6purple_7Account_set_alias},
21886 {"set_user_info", (PyCFunction)__pyx_pf_6purple_7Account_set_user_info, METH_O, __pyx_doc_6purple_7Account_set_user_info},
21887 {"set_remember_password", (PyCFunction)__pyx_pf_6purple_7Account_set_remember_password, METH_O, __pyx_doc_6purple_7Account_set_remember_password},
21888 {"set_enabled", (PyCFunction)__pyx_pf_6purple_7Account_set_enabled, METH_O, __pyx_doc_6purple_7Account_set_enabled},
21889 {"new", (PyCFunction)__pyx_pf_6purple_7Account_new, METH_NOARGS, __pyx_doc_6purple_7Account_new},
21890 {"remove", (PyCFunction)__pyx_pf_6purple_7Account_remove, METH_NOARGS, __pyx_doc_6purple_7Account_remove},
21891 {"connect", (PyCFunction)__pyx_pf_6purple_7Account_connect, METH_NOARGS, __pyx_doc_6purple_7Account_connect},
21892 {"disconnect", (PyCFunction)__pyx_pf_6purple_7Account_disconnect, METH_NOARGS, __pyx_doc_6purple_7Account_disconnect},
21893 {"add_buddy", (PyCFunction)__pyx_pf_6purple_7Account_add_buddy, METH_VARARGS|METH_KEYWORDS, __pyx_doc_6purple_7Account_add_buddy},
21894 {"remove_buddy", (PyCFunction)__pyx_pf_6purple_7Account_remove_buddy, METH_O, __pyx_doc_6purple_7Account_remove_buddy},
21895 {"get_buddies_online", (PyCFunction)__pyx_pf_6purple_7Account_get_buddies_online, METH_NOARGS, 0},
21896 {"get_buddies", (PyCFunction)__pyx_pf_6purple_7Account_get_buddies, METH_NOARGS, 0},
21897 {"request_add_buddy", (PyCFunction)__pyx_pf_6purple_7Account_request_add_buddy, METH_VARARGS|METH_KEYWORDS, 0},
21898 {"set_active_status", (PyCFunction)__pyx_pf_6purple_7Account_set_active_status, METH_VARARGS|METH_KEYWORDS, 0},
21899 {"set_status_message", (PyCFunction)__pyx_pf_6purple_7Account_set_status_message, METH_VARARGS|METH_KEYWORDS, 0},
21903 static PyNumberMethods __pyx_tp_as_number_Account = {
21907 #if PY_MAJOR_VERSION < 3
21910 0, /*nb_remainder*/
21923 #if PY_MAJOR_VERSION < 3
21929 #if PY_MAJOR_VERSION < 3
21932 #if PY_MAJOR_VERSION < 3
21935 0, /*nb_inplace_add*/
21936 0, /*nb_inplace_subtract*/
21937 0, /*nb_inplace_multiply*/
21938 #if PY_MAJOR_VERSION < 3
21939 0, /*nb_inplace_divide*/
21941 0, /*nb_inplace_remainder*/
21942 0, /*nb_inplace_power*/
21943 0, /*nb_inplace_lshift*/
21944 0, /*nb_inplace_rshift*/
21945 0, /*nb_inplace_and*/
21946 0, /*nb_inplace_xor*/
21947 0, /*nb_inplace_or*/
21948 0, /*nb_floor_divide*/
21949 0, /*nb_true_divide*/
21950 0, /*nb_inplace_floor_divide*/
21951 0, /*nb_inplace_true_divide*/
21952 #if (PY_MAJOR_VERSION >= 3) || (Py_TPFLAGS_DEFAULT & Py_TPFLAGS_HAVE_INDEX)
21957 static PySequenceMethods __pyx_tp_as_sequence_Account = {
21964 0, /*sq_ass_slice*/
21966 0, /*sq_inplace_concat*/
21967 0, /*sq_inplace_repeat*/
21970 static PyMappingMethods __pyx_tp_as_mapping_Account = {
21972 0, /*mp_subscript*/
21973 0, /*mp_ass_subscript*/
21976 static PyBufferProcs __pyx_tp_as_buffer_Account = {
21977 #if PY_MAJOR_VERSION < 3
21978 0, /*bf_getreadbuffer*/
21980 #if PY_MAJOR_VERSION < 3
21981 0, /*bf_getwritebuffer*/
21983 #if PY_MAJOR_VERSION < 3
21984 0, /*bf_getsegcount*/
21986 #if PY_MAJOR_VERSION < 3
21987 0, /*bf_getcharbuffer*/
21989 #if (PY_MAJOR_VERSION >= 3) || (Py_TPFLAGS_DEFAULT & Py_TPFLAGS_HAVE_NEWBUFFER)
21990 0, /*bf_getbuffer*/
21992 #if (PY_MAJOR_VERSION >= 3) || (Py_TPFLAGS_DEFAULT & Py_TPFLAGS_HAVE_NEWBUFFER)
21993 0, /*bf_releasebuffer*/
21997 PyTypeObject __pyx_type_6purple_Account = {
21998 PyVarObject_HEAD_INIT(0, 0)
21999 "purple.Account", /*tp_name*/
22000 sizeof(struct __pyx_obj_6purple_Account), /*tp_basicsize*/
22002 __pyx_tp_dealloc_6purple_Account, /*tp_dealloc*/
22008 &__pyx_tp_as_number_Account, /*tp_as_number*/
22009 &__pyx_tp_as_sequence_Account, /*tp_as_sequence*/
22010 &__pyx_tp_as_mapping_Account, /*tp_as_mapping*/
22016 &__pyx_tp_as_buffer_Account, /*tp_as_buffer*/
22017 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
22018 "\n Account class\n @param username\n @param protocol Protocol class instance\n @param core Purple class instance\n ", /*tp_doc*/
22019 __pyx_tp_traverse_6purple_Account, /*tp_traverse*/
22020 __pyx_tp_clear_6purple_Account, /*tp_clear*/
22021 0, /*tp_richcompare*/
22022 0, /*tp_weaklistoffset*/
22025 __pyx_methods_6purple_Account, /*tp_methods*/
22030 0, /*tp_descr_get*/
22031 0, /*tp_descr_set*/
22032 0, /*tp_dictoffset*/
22033 __pyx_pf_6purple_7Account___init__, /*tp_init*/
22035 __pyx_tp_new_6purple_Account, /*tp_new*/
22041 0, /*tp_subclasses*/
22044 static struct __pyx_vtabstruct_6purple_Buddy __pyx_vtable_6purple_Buddy;
22046 static PyObject *__pyx_tp_new_6purple_Buddy(PyTypeObject *t, PyObject *a, PyObject *k) {
22047 struct __pyx_obj_6purple_Buddy *p;
22048 PyObject *o = (*t->tp_alloc)(t, 0);
22050 p = ((struct __pyx_obj_6purple_Buddy *)o);
22051 *(struct __pyx_vtabstruct_6purple_Buddy **)&p->__pyx_vtab = __pyx_vtabptr_6purple_Buddy;
22052 p->__account = Py_None; Py_INCREF(Py_None);
22053 p->__name = Py_None; Py_INCREF(Py_None);
22054 p->__exists = Py_None; Py_INCREF(Py_None);
22058 static void __pyx_tp_dealloc_6purple_Buddy(PyObject *o) {
22059 struct __pyx_obj_6purple_Buddy *p = (struct __pyx_obj_6purple_Buddy *)o;
22060 Py_XDECREF(p->__account);
22061 Py_XDECREF(p->__name);
22062 Py_XDECREF(p->__exists);
22063 (*Py_TYPE(o)->tp_free)(o);
22066 static int __pyx_tp_traverse_6purple_Buddy(PyObject *o, visitproc v, void *a) {
22068 struct __pyx_obj_6purple_Buddy *p = (struct __pyx_obj_6purple_Buddy *)o;
22069 if (p->__account) {
22070 e = (*v)(p->__account, a); if (e) return e;
22073 e = (*v)(p->__name, a); if (e) return e;
22076 e = (*v)(p->__exists, a); if (e) return e;
22081 static int __pyx_tp_clear_6purple_Buddy(PyObject *o) {
22082 struct __pyx_obj_6purple_Buddy *p = (struct __pyx_obj_6purple_Buddy *)o;
22084 tmp = ((PyObject*)p->__account);
22085 p->__account = Py_None; Py_INCREF(Py_None);
22087 tmp = ((PyObject*)p->__name);
22088 p->__name = Py_None; Py_INCREF(Py_None);
22090 tmp = ((PyObject*)p->__exists);
22091 p->__exists = Py_None; Py_INCREF(Py_None);
22096 static struct PyMethodDef __pyx_methods_6purple_Buddy[] = {
22097 {"__get_exists", (PyCFunction)__pyx_pf_6purple_5Buddy___get_exists, METH_NOARGS, 0},
22098 {"__get_name", (PyCFunction)__pyx_pf_6purple_5Buddy___get_name, METH_NOARGS, 0},
22099 {"__get_account", (PyCFunction)__pyx_pf_6purple_5Buddy___get_account, METH_NOARGS, 0},
22100 {"__get_alias", (PyCFunction)__pyx_pf_6purple_5Buddy___get_alias, METH_NOARGS, 0},
22101 {"__get_group", (PyCFunction)__pyx_pf_6purple_5Buddy___get_group, METH_NOARGS, 0},
22102 {"__get_server_alias", (PyCFunction)__pyx_pf_6purple_5Buddy___get_server_alias, METH_NOARGS, 0},
22103 {"__get_contact_alias", (PyCFunction)__pyx_pf_6purple_5Buddy___get_contact_alias, METH_NOARGS, 0},
22104 {"__get_local_alias", (PyCFunction)__pyx_pf_6purple_5Buddy___get_local_alias, METH_NOARGS, 0},
22105 {"__get_available", (PyCFunction)__pyx_pf_6purple_5Buddy___get_available, METH_NOARGS, 0},
22106 {"__get_online", (PyCFunction)__pyx_pf_6purple_5Buddy___get_online, METH_NOARGS, 0},
22107 {"__get_idle", (PyCFunction)__pyx_pf_6purple_5Buddy___get_idle, METH_NOARGS, 0},
22108 {"__get_active_status", (PyCFunction)__pyx_pf_6purple_5Buddy___get_active_status, METH_NOARGS, 0},
22109 {"set_alias", (PyCFunction)__pyx_pf_6purple_5Buddy_set_alias, METH_O, 0},
22110 {"set_group", (PyCFunction)__pyx_pf_6purple_5Buddy_set_group, METH_O, 0},
22114 static PyNumberMethods __pyx_tp_as_number_Buddy = {
22118 #if PY_MAJOR_VERSION < 3
22121 0, /*nb_remainder*/
22134 #if PY_MAJOR_VERSION < 3
22140 #if PY_MAJOR_VERSION < 3
22143 #if PY_MAJOR_VERSION < 3
22146 0, /*nb_inplace_add*/
22147 0, /*nb_inplace_subtract*/
22148 0, /*nb_inplace_multiply*/
22149 #if PY_MAJOR_VERSION < 3
22150 0, /*nb_inplace_divide*/
22152 0, /*nb_inplace_remainder*/
22153 0, /*nb_inplace_power*/
22154 0, /*nb_inplace_lshift*/
22155 0, /*nb_inplace_rshift*/
22156 0, /*nb_inplace_and*/
22157 0, /*nb_inplace_xor*/
22158 0, /*nb_inplace_or*/
22159 0, /*nb_floor_divide*/
22160 0, /*nb_true_divide*/
22161 0, /*nb_inplace_floor_divide*/
22162 0, /*nb_inplace_true_divide*/
22163 #if (PY_MAJOR_VERSION >= 3) || (Py_TPFLAGS_DEFAULT & Py_TPFLAGS_HAVE_INDEX)
22168 static PySequenceMethods __pyx_tp_as_sequence_Buddy = {
22175 0, /*sq_ass_slice*/
22177 0, /*sq_inplace_concat*/
22178 0, /*sq_inplace_repeat*/
22181 static PyMappingMethods __pyx_tp_as_mapping_Buddy = {
22183 0, /*mp_subscript*/
22184 0, /*mp_ass_subscript*/
22187 static PyBufferProcs __pyx_tp_as_buffer_Buddy = {
22188 #if PY_MAJOR_VERSION < 3
22189 0, /*bf_getreadbuffer*/
22191 #if PY_MAJOR_VERSION < 3
22192 0, /*bf_getwritebuffer*/
22194 #if PY_MAJOR_VERSION < 3
22195 0, /*bf_getsegcount*/
22197 #if PY_MAJOR_VERSION < 3
22198 0, /*bf_getcharbuffer*/
22200 #if (PY_MAJOR_VERSION >= 3) || (Py_TPFLAGS_DEFAULT & Py_TPFLAGS_HAVE_NEWBUFFER)
22201 0, /*bf_getbuffer*/
22203 #if (PY_MAJOR_VERSION >= 3) || (Py_TPFLAGS_DEFAULT & Py_TPFLAGS_HAVE_NEWBUFFER)
22204 0, /*bf_releasebuffer*/
22208 PyTypeObject __pyx_type_6purple_Buddy = {
22209 PyVarObject_HEAD_INIT(0, 0)
22210 "purple.Buddy", /*tp_name*/
22211 sizeof(struct __pyx_obj_6purple_Buddy), /*tp_basicsize*/
22213 __pyx_tp_dealloc_6purple_Buddy, /*tp_dealloc*/
22219 &__pyx_tp_as_number_Buddy, /*tp_as_number*/
22220 &__pyx_tp_as_sequence_Buddy, /*tp_as_sequence*/
22221 &__pyx_tp_as_mapping_Buddy, /*tp_as_mapping*/
22227 &__pyx_tp_as_buffer_Buddy, /*tp_as_buffer*/
22228 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
22229 "\n Buddy class\n @param name\n @param account\n ", /*tp_doc*/
22230 __pyx_tp_traverse_6purple_Buddy, /*tp_traverse*/
22231 __pyx_tp_clear_6purple_Buddy, /*tp_clear*/
22232 0, /*tp_richcompare*/
22233 0, /*tp_weaklistoffset*/
22236 __pyx_methods_6purple_Buddy, /*tp_methods*/
22241 0, /*tp_descr_get*/
22242 0, /*tp_descr_set*/
22243 0, /*tp_dictoffset*/
22244 __pyx_pf_6purple_5Buddy___init__, /*tp_init*/
22246 __pyx_tp_new_6purple_Buddy, /*tp_new*/
22252 0, /*tp_subclasses*/
22255 static struct __pyx_vtabstruct_6purple_Conversation __pyx_vtable_6purple_Conversation;
22257 static PyObject *__pyx_tp_new_6purple_Conversation(PyTypeObject *t, PyObject *a, PyObject *k) {
22258 struct __pyx_obj_6purple_Conversation *p;
22259 PyObject *o = (*t->tp_alloc)(t, 0);
22261 p = ((struct __pyx_obj_6purple_Conversation *)o);
22262 *(struct __pyx_vtabstruct_6purple_Conversation **)&p->__pyx_vtab = __pyx_vtabptr_6purple_Conversation;
22263 p->__account = Py_None; Py_INCREF(Py_None);
22264 p->__name = Py_None; Py_INCREF(Py_None);
22265 p->__type = Py_None; Py_INCREF(Py_None);
22266 p->__exists = Py_None; Py_INCREF(Py_None);
22270 static void __pyx_tp_dealloc_6purple_Conversation(PyObject *o) {
22271 struct __pyx_obj_6purple_Conversation *p = (struct __pyx_obj_6purple_Conversation *)o;
22272 Py_XDECREF(p->__account);
22273 Py_XDECREF(p->__name);
22274 Py_XDECREF(p->__type);
22275 Py_XDECREF(p->__exists);
22276 (*Py_TYPE(o)->tp_free)(o);
22279 static int __pyx_tp_traverse_6purple_Conversation(PyObject *o, visitproc v, void *a) {
22281 struct __pyx_obj_6purple_Conversation *p = (struct __pyx_obj_6purple_Conversation *)o;
22282 if (p->__account) {
22283 e = (*v)(p->__account, a); if (e) return e;
22286 e = (*v)(p->__name, a); if (e) return e;
22289 e = (*v)(p->__type, a); if (e) return e;
22292 e = (*v)(p->__exists, a); if (e) return e;
22297 static int __pyx_tp_clear_6purple_Conversation(PyObject *o) {
22298 struct __pyx_obj_6purple_Conversation *p = (struct __pyx_obj_6purple_Conversation *)o;
22300 tmp = ((PyObject*)p->__account);
22301 p->__account = Py_None; Py_INCREF(Py_None);
22303 tmp = ((PyObject*)p->__name);
22304 p->__name = Py_None; Py_INCREF(Py_None);
22306 tmp = ((PyObject*)p->__type);
22307 p->__type = Py_None; Py_INCREF(Py_None);
22309 tmp = ((PyObject*)p->__exists);
22310 p->__exists = Py_None; Py_INCREF(Py_None);
22315 static struct PyMethodDef __pyx_methods_6purple_Conversation[] = {
22316 {"__get_exists", (PyCFunction)__pyx_pf_6purple_12Conversation___get_exists, METH_NOARGS, 0},
22317 {"__get_account", (PyCFunction)__pyx_pf_6purple_12Conversation___get_account, METH_NOARGS, 0},
22318 {"__get_name", (PyCFunction)__pyx_pf_6purple_12Conversation___get_name, METH_NOARGS, 0},
22319 {"new", (PyCFunction)__pyx_pf_6purple_12Conversation_new, METH_NOARGS, __pyx_doc_6purple_12Conversation_new},
22320 {"destroy", (PyCFunction)__pyx_pf_6purple_12Conversation_destroy, METH_NOARGS, __pyx_doc_6purple_12Conversation_destroy},
22321 {"set_ui_ops", (PyCFunction)__pyx_pf_6purple_12Conversation_set_ui_ops, METH_O, __pyx_doc_6purple_12Conversation_set_ui_ops},
22322 {"im_send", (PyCFunction)__pyx_pf_6purple_12Conversation_im_send, METH_O, __pyx_doc_6purple_12Conversation_im_send},
22326 static PyNumberMethods __pyx_tp_as_number_Conversation = {
22330 #if PY_MAJOR_VERSION < 3
22333 0, /*nb_remainder*/
22346 #if PY_MAJOR_VERSION < 3
22352 #if PY_MAJOR_VERSION < 3
22355 #if PY_MAJOR_VERSION < 3
22358 0, /*nb_inplace_add*/
22359 0, /*nb_inplace_subtract*/
22360 0, /*nb_inplace_multiply*/
22361 #if PY_MAJOR_VERSION < 3
22362 0, /*nb_inplace_divide*/
22364 0, /*nb_inplace_remainder*/
22365 0, /*nb_inplace_power*/
22366 0, /*nb_inplace_lshift*/
22367 0, /*nb_inplace_rshift*/
22368 0, /*nb_inplace_and*/
22369 0, /*nb_inplace_xor*/
22370 0, /*nb_inplace_or*/
22371 0, /*nb_floor_divide*/
22372 0, /*nb_true_divide*/
22373 0, /*nb_inplace_floor_divide*/
22374 0, /*nb_inplace_true_divide*/
22375 #if (PY_MAJOR_VERSION >= 3) || (Py_TPFLAGS_DEFAULT & Py_TPFLAGS_HAVE_INDEX)
22380 static PySequenceMethods __pyx_tp_as_sequence_Conversation = {
22387 0, /*sq_ass_slice*/
22389 0, /*sq_inplace_concat*/
22390 0, /*sq_inplace_repeat*/
22393 static PyMappingMethods __pyx_tp_as_mapping_Conversation = {
22395 0, /*mp_subscript*/
22396 0, /*mp_ass_subscript*/
22399 static PyBufferProcs __pyx_tp_as_buffer_Conversation = {
22400 #if PY_MAJOR_VERSION < 3
22401 0, /*bf_getreadbuffer*/
22403 #if PY_MAJOR_VERSION < 3
22404 0, /*bf_getwritebuffer*/
22406 #if PY_MAJOR_VERSION < 3
22407 0, /*bf_getsegcount*/
22409 #if PY_MAJOR_VERSION < 3
22410 0, /*bf_getcharbuffer*/
22412 #if (PY_MAJOR_VERSION >= 3) || (Py_TPFLAGS_DEFAULT & Py_TPFLAGS_HAVE_NEWBUFFER)
22413 0, /*bf_getbuffer*/
22415 #if (PY_MAJOR_VERSION >= 3) || (Py_TPFLAGS_DEFAULT & Py_TPFLAGS_HAVE_NEWBUFFER)
22416 0, /*bf_releasebuffer*/
22420 PyTypeObject __pyx_type_6purple_Conversation = {
22421 PyVarObject_HEAD_INIT(0, 0)
22422 "purple.Conversation", /*tp_name*/
22423 sizeof(struct __pyx_obj_6purple_Conversation), /*tp_basicsize*/
22425 __pyx_tp_dealloc_6purple_Conversation, /*tp_dealloc*/
22431 &__pyx_tp_as_number_Conversation, /*tp_as_number*/
22432 &__pyx_tp_as_sequence_Conversation, /*tp_as_sequence*/
22433 &__pyx_tp_as_mapping_Conversation, /*tp_as_mapping*/
22439 &__pyx_tp_as_buffer_Conversation, /*tp_as_buffer*/
22440 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
22441 "\n Conversation class\n @param type UNKNOWN, IM, CHAT, MISC, ANY\n @param account Your account\n @param name Buddy name\n ", /*tp_doc*/
22442 __pyx_tp_traverse_6purple_Conversation, /*tp_traverse*/
22443 __pyx_tp_clear_6purple_Conversation, /*tp_clear*/
22444 0, /*tp_richcompare*/
22445 0, /*tp_weaklistoffset*/
22448 __pyx_methods_6purple_Conversation, /*tp_methods*/
22453 0, /*tp_descr_get*/
22454 0, /*tp_descr_set*/
22455 0, /*tp_dictoffset*/
22456 __pyx_pf_6purple_12Conversation___init__, /*tp_init*/
22458 __pyx_tp_new_6purple_Conversation, /*tp_new*/
22464 0, /*tp_subclasses*/
22468 static struct PyMethodDef __pyx_methods[] = {
22469 {"call_authorize_cb", (PyCFunction)__pyx_pf_6purple_call_authorize_cb, METH_NOARGS, 0},
22470 {"call_deny_cb", (PyCFunction)__pyx_pf_6purple_call_deny_cb, METH_NOARGS, 0},
22471 {"markup_strip_html", (PyCFunction)__pyx_pf_6purple_markup_strip_html, METH_O, 0},
22475 static void __pyx_init_filenames(void); /*proto*/
22477 PyMODINIT_FUNC initpurple(void); /*proto*/
22478 PyMODINIT_FUNC initpurple(void) {
22479 PyObject *__pyx_1 = 0;
22480 PyObject *__pyx_2 = 0;
22481 __pyx_empty_tuple = PyTuple_New(0); if (unlikely(!__pyx_empty_tuple)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 20; __pyx_clineno = __LINE__; goto __pyx_L1;}
22482 /*--- Libary function declarations ---*/
22483 __pyx_init_filenames();
22484 /*--- Module creation code ---*/
22485 __pyx_m = Py_InitModule4("purple", __pyx_methods, 0, 0, PYTHON_API_VERSION);
22486 if (!__pyx_m) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 20; __pyx_clineno = __LINE__; goto __pyx_L1;};
22487 Py_INCREF(__pyx_m);
22488 __pyx_b = PyImport_AddModule(__Pyx_BUILTIN_MODULE_NAME);
22489 if (!__pyx_b) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 20; __pyx_clineno = __LINE__; goto __pyx_L1;};
22490 if (PyObject_SetAttrString(__pyx_m, "__builtins__", __pyx_b) < 0) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 20; __pyx_clineno = __LINE__; goto __pyx_L1;};
22491 /*--- Intern code ---*/
22492 __pyx_int_0 = PyInt_FromLong(0); if (unlikely(!__pyx_int_0)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 20; __pyx_clineno = __LINE__; goto __pyx_L1;};
22493 __pyx_int_1 = PyInt_FromLong(1); if (unlikely(!__pyx_int_1)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 20; __pyx_clineno = __LINE__; goto __pyx_L1;};
22494 __pyx_int_2 = PyInt_FromLong(2); if (unlikely(!__pyx_int_2)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 20; __pyx_clineno = __LINE__; goto __pyx_L1;};
22495 __pyx_int_3 = PyInt_FromLong(3); if (unlikely(!__pyx_int_3)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 20; __pyx_clineno = __LINE__; goto __pyx_L1;};
22496 __pyx_int_4 = PyInt_FromLong(4); if (unlikely(!__pyx_int_4)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 20; __pyx_clineno = __LINE__; goto __pyx_L1;};
22497 __pyx_int_5 = PyInt_FromLong(5); if (unlikely(!__pyx_int_5)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 20; __pyx_clineno = __LINE__; goto __pyx_L1;};
22498 __pyx_int_6 = PyInt_FromLong(6); if (unlikely(!__pyx_int_6)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 20; __pyx_clineno = __LINE__; goto __pyx_L1;};
22499 __pyx_int_7 = PyInt_FromLong(7); if (unlikely(!__pyx_int_7)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 20; __pyx_clineno = __LINE__; goto __pyx_L1;};
22500 __pyx_int_8 = PyInt_FromLong(8); if (unlikely(!__pyx_int_8)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 20; __pyx_clineno = __LINE__; goto __pyx_L1;};
22501 __pyx_int_9 = PyInt_FromLong(9); if (unlikely(!__pyx_int_9)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 20; __pyx_clineno = __LINE__; goto __pyx_L1;};
22502 __pyx_int_10 = PyInt_FromLong(10); if (unlikely(!__pyx_int_10)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 20; __pyx_clineno = __LINE__; goto __pyx_L1;};
22503 __pyx_int_11 = PyInt_FromLong(11); if (unlikely(!__pyx_int_11)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 20; __pyx_clineno = __LINE__; goto __pyx_L1;};
22504 __pyx_int_12 = PyInt_FromLong(12); if (unlikely(!__pyx_int_12)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 20; __pyx_clineno = __LINE__; goto __pyx_L1;};
22505 __pyx_int_13 = PyInt_FromLong(13); if (unlikely(!__pyx_int_13)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 20; __pyx_clineno = __LINE__; goto __pyx_L1;};
22506 __pyx_int_14 = PyInt_FromLong(14); if (unlikely(!__pyx_int_14)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 20; __pyx_clineno = __LINE__; goto __pyx_L1;};
22507 __pyx_int_15 = PyInt_FromLong(15); if (unlikely(!__pyx_int_15)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 20; __pyx_clineno = __LINE__; goto __pyx_L1;};
22508 __pyx_int_16 = PyInt_FromLong(16); if (unlikely(!__pyx_int_16)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 20; __pyx_clineno = __LINE__; goto __pyx_L1;};
22509 /*--- String init code ---*/
22510 if (__Pyx_InitStrings(__pyx_string_tab) < 0) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 20; __pyx_clineno = __LINE__; goto __pyx_L1;};
22511 /*--- Builtin init code ---*/
22512 __pyx_builtin_property = __Pyx_GetName(__pyx_b, __pyx_kp_property); if (!__pyx_builtin_property) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 96; __pyx_clineno = __LINE__; goto __pyx_L1;}
22513 __pyx_builtin_bool = __Pyx_GetName(__pyx_b, __pyx_kp_bool); if (!__pyx_builtin_bool) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 136; __pyx_clineno = __LINE__; goto __pyx_L1;}
22514 __pyx_skip_dispatch = 0;
22515 /*--- Global init code ---*/
22516 /*--- Function export code ---*/
22517 /*--- Type init code ---*/
22518 __pyx_vtabptr_6purple_Purple = &__pyx_vtable_6purple_Purple;
22519 *(void(**)(void))&__pyx_vtable_6purple_Purple.__core_ui_ops_ui_prefs_init = (void(*)(void))__pyx_f_6purple_6Purple___core_ui_ops_ui_prefs_init;
22520 *(void(**)(void))&__pyx_vtable_6purple_Purple.__core_ui_ops_debug_init = (void(*)(void))__pyx_f_6purple_6Purple___core_ui_ops_debug_init;
22521 *(void(**)(void))&__pyx_vtable_6purple_Purple.__core_ui_ops_ui_init = (void(*)(void))__pyx_f_6purple_6Purple___core_ui_ops_ui_init;
22522 *(void(**)(void))&__pyx_vtable_6purple_Purple.__core_ui_ops_quit = (void(*)(void))__pyx_f_6purple_6Purple___core_ui_ops_quit;
22523 *(void(**)(void))&__pyx_vtable_6purple_Purple.__core_ui_ops_get_ui_info = (void(*)(void))__pyx_f_6purple_6Purple___core_ui_ops_get_ui_info;
22524 if (PyType_Ready(&__pyx_type_6purple_Purple) < 0) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 61; __pyx_clineno = __LINE__; goto __pyx_L1;}
22525 if (__Pyx_SetVtable(__pyx_type_6purple_Purple.tp_dict, __pyx_vtabptr_6purple_Purple) < 0) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 61; __pyx_clineno = __LINE__; goto __pyx_L1;}
22526 if (PyObject_SetAttrString(__pyx_m, "Purple", (PyObject *)&__pyx_type_6purple_Purple) < 0) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 61; __pyx_clineno = __LINE__; goto __pyx_L1;}
22527 __pyx_ptype_6purple_Purple = &__pyx_type_6purple_Purple;
22528 __pyx_vtabptr_6purple_Protocol = &__pyx_vtable_6purple_Protocol;
22529 *(void(**)(void))&__pyx_vtable_6purple_Protocol._get_structure = (void(*)(void))__pyx_f_6purple_8Protocol__get_structure;
22530 if (PyType_Ready(&__pyx_type_6purple_Protocol) < 0) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 22; __pyx_clineno = __LINE__; goto __pyx_L1;}
22531 if (__Pyx_SetVtable(__pyx_type_6purple_Protocol.tp_dict, __pyx_vtabptr_6purple_Protocol) < 0) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 22; __pyx_clineno = __LINE__; goto __pyx_L1;}
22532 if (PyObject_SetAttrString(__pyx_m, "Protocol", (PyObject *)&__pyx_type_6purple_Protocol) < 0) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 22; __pyx_clineno = __LINE__; goto __pyx_L1;}
22533 __pyx_ptype_6purple_Protocol = &__pyx_type_6purple_Protocol;
22534 if (PyType_Ready(&__pyx_type_6purple_ProxyInfoType) < 0) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 22; __pyx_clineno = __LINE__; goto __pyx_L1;}
22535 if (PyObject_SetAttrString(__pyx_m, "ProxyInfoType", (PyObject *)&__pyx_type_6purple_ProxyInfoType) < 0) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 22; __pyx_clineno = __LINE__; goto __pyx_L1;}
22536 __pyx_ptype_6purple_ProxyInfoType = &__pyx_type_6purple_ProxyInfoType;
22537 if (PyType_Ready(&__pyx_type_6purple_ProxyInfo) < 0) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 56; __pyx_clineno = __LINE__; goto __pyx_L1;}
22538 if (PyObject_SetAttrString(__pyx_m, "ProxyInfo", (PyObject *)&__pyx_type_6purple_ProxyInfo) < 0) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 56; __pyx_clineno = __LINE__; goto __pyx_L1;}
22539 __pyx_ptype_6purple_ProxyInfo = &__pyx_type_6purple_ProxyInfo;
22540 __pyx_vtabptr_6purple_Account = &__pyx_vtable_6purple_Account;
22541 *(void(**)(void))&__pyx_vtable_6purple_Account._get_structure = (void(*)(void))__pyx_f_6purple_7Account__get_structure;
22542 if (PyType_Ready(&__pyx_type_6purple_Account) < 0) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 22; __pyx_clineno = __LINE__; goto __pyx_L1;}
22543 if (__Pyx_SetVtable(__pyx_type_6purple_Account.tp_dict, __pyx_vtabptr_6purple_Account) < 0) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 22; __pyx_clineno = __LINE__; goto __pyx_L1;}
22544 if (PyObject_SetAttrString(__pyx_m, "Account", (PyObject *)&__pyx_type_6purple_Account) < 0) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 22; __pyx_clineno = __LINE__; goto __pyx_L1;}
22545 __pyx_ptype_6purple_Account = &__pyx_type_6purple_Account;
22546 __pyx_vtabptr_6purple_Buddy = &__pyx_vtable_6purple_Buddy;
22547 *(void(**)(void))&__pyx_vtable_6purple_Buddy._get_structure = (void(*)(void))__pyx_f_6purple_5Buddy__get_structure;
22548 if (PyType_Ready(&__pyx_type_6purple_Buddy) < 0) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 22; __pyx_clineno = __LINE__; goto __pyx_L1;}
22549 if (__Pyx_SetVtable(__pyx_type_6purple_Buddy.tp_dict, __pyx_vtabptr_6purple_Buddy) < 0) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 22; __pyx_clineno = __LINE__; goto __pyx_L1;}
22550 if (PyObject_SetAttrString(__pyx_m, "Buddy", (PyObject *)&__pyx_type_6purple_Buddy) < 0) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 22; __pyx_clineno = __LINE__; goto __pyx_L1;}
22551 __pyx_ptype_6purple_Buddy = &__pyx_type_6purple_Buddy;
22552 __pyx_vtabptr_6purple_Conversation = &__pyx_vtable_6purple_Conversation;
22553 *(void(**)(void))&__pyx_vtable_6purple_Conversation._get_structure = (void(*)(void))__pyx_f_6purple_12Conversation__get_structure;
22554 if (PyType_Ready(&__pyx_type_6purple_Conversation) < 0) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 22; __pyx_clineno = __LINE__; goto __pyx_L1;}
22555 if (__Pyx_SetVtable(__pyx_type_6purple_Conversation.tp_dict, __pyx_vtabptr_6purple_Conversation) < 0) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 22; __pyx_clineno = __LINE__; goto __pyx_L1;}
22556 if (PyObject_SetAttrString(__pyx_m, "Conversation", (PyObject *)&__pyx_type_6purple_Conversation) < 0) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 22; __pyx_clineno = __LINE__; goto __pyx_L1;}
22557 __pyx_ptype_6purple_Conversation = &__pyx_type_6purple_Conversation;
22558 /*--- Type import code ---*/
22559 /*--- Function import code ---*/
22560 /*--- Execution code ---*/
22562 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":25
22563 * glib.guint glib_input_add(glib.gint fd, eventloop.PurpleInputCondition condition, eventloop.PurpleInputFunction function, glib.gpointer data)
22565 * import ecore # <<<<<<<<<<<<<<
22567 * cdef glib.GHashTable *c_ui_info
22569 __pyx_1 = __Pyx_Import(__pyx_kp_ecore, 0); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 25; __pyx_clineno = __LINE__; goto __pyx_L1;}
22570 if (PyObject_SetAttr(__pyx_m, __pyx_kp_ecore, __pyx_1) < 0) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 25; __pyx_clineno = __LINE__; goto __pyx_L1;}
22571 Py_DECREF(__pyx_1); __pyx_1 = 0;
22573 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":29
22574 * cdef glib.GHashTable *c_ui_info
22576 * c_ui_info = NULL # <<<<<<<<<<<<<<
22578 * cdef char *c_ui_name
22580 __pyx_v_6purple_c_ui_info = NULL;
22582 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":25
22583 * ctypedef char const_char "const char"
22585 * account_cbs = {} # <<<<<<<<<<<<<<
22587 * cdef account.PurpleAccountRequestAuthorizationCb c_request_authorize_authorize_cb = NULL
22589 __pyx_1 = PyDict_New(); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 25; __pyx_clineno = __LINE__; goto __pyx_L1;}
22590 if (PyObject_SetAttr(__pyx_m, __pyx_kp_account_cbs, ((PyObject *)__pyx_1)) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 25; __pyx_clineno = __LINE__; goto __pyx_L1;}
22591 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
22593 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":27
22596 * cdef account.PurpleAccountRequestAuthorizationCb c_request_authorize_authorize_cb = NULL # <<<<<<<<<<<<<<
22597 * cdef account.PurpleAccountRequestAuthorizationCb c_request_authorize_deny_cb = NULL
22598 * cdef void *c_request_authorize_user_data = NULL
22600 __pyx_v_6purple_c_request_authorize_authorize_cb = NULL;
22603 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":28
22605 * cdef account.PurpleAccountRequestAuthorizationCb c_request_authorize_authorize_cb = NULL
22606 * cdef account.PurpleAccountRequestAuthorizationCb c_request_authorize_deny_cb = NULL # <<<<<<<<<<<<<<
22607 * cdef void *c_request_authorize_user_data = NULL
22610 __pyx_v_6purple_c_request_authorize_deny_cb = NULL;
22613 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account_cbs.pxd":29
22614 * cdef account.PurpleAccountRequestAuthorizationCb c_request_authorize_authorize_cb = NULL
22615 * cdef account.PurpleAccountRequestAuthorizationCb c_request_authorize_deny_cb = NULL
22616 * cdef void *c_request_authorize_user_data = NULL # <<<<<<<<<<<<<<
22618 * def call_authorize_cb():
22620 __pyx_v_6purple_c_request_authorize_user_data = NULL;
22623 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/blist_cbs.pxd":25
22624 * ctypedef char const_char "const char"
22626 * blist_cbs = {} # <<<<<<<<<<<<<<
22628 * cdef void __group_node_cb(blist.PurpleBlistNode *node, object callback):
22630 __pyx_1 = PyDict_New(); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 25; __pyx_clineno = __LINE__; goto __pyx_L1;}
22631 if (PyObject_SetAttr(__pyx_m, __pyx_kp_blist_cbs, ((PyObject *)__pyx_1)) < 0) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 25; __pyx_clineno = __LINE__; goto __pyx_L1;}
22632 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
22634 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/connection_cbs.pxd":22
22637 * cdef extern from *: # <<<<<<<<<<<<<<
22638 * ctypedef char const_char "const char"
22641 __pyx_1 = PyDict_New(); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 25; __pyx_clineno = __LINE__; goto __pyx_L1;}
22642 if (PyObject_SetAttr(__pyx_m, __pyx_kp_connection_cbs, ((PyObject *)__pyx_1)) < 0) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 25; __pyx_clineno = __LINE__; goto __pyx_L1;}
22643 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
22645 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation_cbs.pxd":27
22646 * ctypedef long int time_t
22648 * conversation_cbs = {} # <<<<<<<<<<<<<<
22650 * cdef void create_conversation(conversation.PurpleConversation *conv):
22652 __pyx_1 = PyDict_New(); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 27; __pyx_clineno = __LINE__; goto __pyx_L1;}
22653 if (PyObject_SetAttr(__pyx_m, __pyx_kp_conversation_cbs, ((PyObject *)__pyx_1)) < 0) {__pyx_filename = __pyx_f[3]; __pyx_lineno = 27; __pyx_clineno = __LINE__; goto __pyx_L1;}
22654 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
22656 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/notify_cbs.pxd":26
22657 * ctypedef int size_t
22659 * notify_cbs = {} # <<<<<<<<<<<<<<
22661 * cdef void *notify_message(notify.PurpleNotifyMsgType type, \
22663 __pyx_1 = PyDict_New(); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 26; __pyx_clineno = __LINE__; goto __pyx_L1;}
22664 if (PyObject_SetAttr(__pyx_m, __pyx_kp_notify_cbs, ((PyObject *)__pyx_1)) < 0) {__pyx_filename = __pyx_f[4]; __pyx_lineno = 26; __pyx_clineno = __LINE__; goto __pyx_L1;}
22665 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
22667 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/request_cbs.pxd":27
22668 * ctypedef void* va_list
22670 * request_cbs = {} # <<<<<<<<<<<<<<
22672 * cdef void *request_input(const_char *title, const_char *primary, \
22674 __pyx_1 = PyDict_New(); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 27; __pyx_clineno = __LINE__; goto __pyx_L1;}
22675 if (PyObject_SetAttr(__pyx_m, __pyx_kp_request_cbs, ((PyObject *)__pyx_1)) < 0) {__pyx_filename = __pyx_f[5]; __pyx_lineno = 27; __pyx_clineno = __LINE__; goto __pyx_L1;}
22676 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
22678 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/signal_cbs.pxd":22
22681 * signal_cbs = {} # <<<<<<<<<<<<<<
22683 * cdef extern from *:
22685 __pyx_1 = PyDict_New(); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 22; __pyx_clineno = __LINE__; goto __pyx_L1;}
22686 if (PyObject_SetAttr(__pyx_m, __pyx_kp_signal_cbs, ((PyObject *)__pyx_1)) < 0) {__pyx_filename = __pyx_f[6]; __pyx_lineno = 22; __pyx_clineno = __LINE__; goto __pyx_L1;}
22687 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
22689 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/purple.pyx":96
22691 * return str(c_ui_name)
22692 * ui_name = property(__get_ui_name) # <<<<<<<<<<<<<<
22694 * cdef void __core_ui_ops_ui_prefs_init(self):
22696 __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_6purple_Purple, __pyx_kp___get_ui_name); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 96; __pyx_clineno = __LINE__; goto __pyx_L1;}
22697 __pyx_2 = PyTuple_New(1); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 96; __pyx_clineno = __LINE__; goto __pyx_L1;}
22698 PyTuple_SET_ITEM(__pyx_2, 0, __pyx_1);
22700 __pyx_1 = PyObject_Call(__pyx_builtin_property, ((PyObject *)__pyx_2), NULL); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 96; __pyx_clineno = __LINE__; goto __pyx_L1;}
22701 Py_DECREF(((PyObject *)__pyx_2)); __pyx_2 = 0;
22702 if (PyDict_SetItem((PyObject *)__pyx_ptype_6purple_Purple->tp_dict, __pyx_kp_ui_name, __pyx_1) < 0) {__pyx_filename = __pyx_f[8]; __pyx_lineno = 96; __pyx_clineno = __LINE__; goto __pyx_L1;}
22703 __Pyx_TypeModified(__pyx_ptype_6purple_Purple);
22705 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":43
22706 * def __get_exists(self):
22707 * return self.__exists
22708 * exists = property(__get_exists) # <<<<<<<<<<<<<<
22710 * def __get_id(self):
22712 __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_6purple_Protocol, __pyx_kp___get_exists); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 43; __pyx_clineno = __LINE__; goto __pyx_L1;}
22713 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 43; __pyx_clineno = __LINE__; goto __pyx_L1;}
22714 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_2);
22716 __pyx_2 = PyObject_Call(__pyx_builtin_property, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 43; __pyx_clineno = __LINE__; goto __pyx_L1;}
22717 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
22718 if (PyDict_SetItem((PyObject *)__pyx_ptype_6purple_Protocol->tp_dict, __pyx_kp_exists, __pyx_2) < 0) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 43; __pyx_clineno = __LINE__; goto __pyx_L1;}
22719 __Pyx_TypeModified(__pyx_ptype_6purple_Protocol);
22721 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":47
22722 * def __get_id(self):
22724 * id = property(__get_id) # <<<<<<<<<<<<<<
22726 * def __get_name(self):
22728 __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_6purple_Protocol, __pyx_kp___get_id); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 47; __pyx_clineno = __LINE__; goto __pyx_L1;}
22729 __pyx_2 = PyTuple_New(1); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 47; __pyx_clineno = __LINE__; goto __pyx_L1;}
22730 PyTuple_SET_ITEM(__pyx_2, 0, __pyx_1);
22732 __pyx_1 = PyObject_Call(__pyx_builtin_property, ((PyObject *)__pyx_2), NULL); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 47; __pyx_clineno = __LINE__; goto __pyx_L1;}
22733 Py_DECREF(((PyObject *)__pyx_2)); __pyx_2 = 0;
22734 if (PyDict_SetItem((PyObject *)__pyx_ptype_6purple_Protocol->tp_dict, __pyx_kp_id, __pyx_1) < 0) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 47; __pyx_clineno = __LINE__; goto __pyx_L1;}
22735 __Pyx_TypeModified(__pyx_ptype_6purple_Protocol);
22737 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":58
22740 * name = property(__get_name) # <<<<<<<<<<<<<<
22742 * def __get_options_labels(self):
22744 __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_6purple_Protocol, __pyx_kp___get_name); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 58; __pyx_clineno = __LINE__; goto __pyx_L1;}
22745 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 58; __pyx_clineno = __LINE__; goto __pyx_L1;}
22746 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_2);
22748 __pyx_2 = PyObject_Call(__pyx_builtin_property, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 58; __pyx_clineno = __LINE__; goto __pyx_L1;}
22749 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
22750 if (PyDict_SetItem((PyObject *)__pyx_ptype_6purple_Protocol->tp_dict, __pyx_kp_name, __pyx_2) < 0) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 58; __pyx_clineno = __LINE__; goto __pyx_L1;}
22751 __Pyx_TypeModified(__pyx_ptype_6purple_Protocol);
22753 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":92
22756 * options_labels = property(__get_options_labels) # <<<<<<<<<<<<<<
22758 * def __get_options_values(self):
22760 __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_6purple_Protocol, __pyx_kp_3); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 92; __pyx_clineno = __LINE__; goto __pyx_L1;}
22761 __pyx_2 = PyTuple_New(1); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 92; __pyx_clineno = __LINE__; goto __pyx_L1;}
22762 PyTuple_SET_ITEM(__pyx_2, 0, __pyx_1);
22764 __pyx_1 = PyObject_Call(__pyx_builtin_property, ((PyObject *)__pyx_2), NULL); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 92; __pyx_clineno = __LINE__; goto __pyx_L1;}
22765 Py_DECREF(((PyObject *)__pyx_2)); __pyx_2 = 0;
22766 if (PyDict_SetItem((PyObject *)__pyx_ptype_6purple_Protocol->tp_dict, __pyx_kp_options_labels, __pyx_1) < 0) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 92; __pyx_clineno = __LINE__; goto __pyx_L1;}
22767 __Pyx_TypeModified(__pyx_ptype_6purple_Protocol);
22769 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/protocol.pyx":148
22772 * options_values = property(__get_options_values) # <<<<<<<<<<<<<<
22774 __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_6purple_Protocol, __pyx_kp_4); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 148; __pyx_clineno = __LINE__; goto __pyx_L1;}
22775 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 148; __pyx_clineno = __LINE__; goto __pyx_L1;}
22776 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_2);
22778 __pyx_2 = PyObject_Call(__pyx_builtin_property, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 148; __pyx_clineno = __LINE__; goto __pyx_L1;}
22779 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
22780 if (PyDict_SetItem((PyObject *)__pyx_ptype_6purple_Protocol->tp_dict, __pyx_kp_options_values, __pyx_2) < 0) {__pyx_filename = __pyx_f[9]; __pyx_lineno = 148; __pyx_clineno = __LINE__; goto __pyx_L1;}
22781 __Pyx_TypeModified(__pyx_ptype_6purple_Protocol);
22783 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":31
22784 * self.c_type = proxy.PURPLE_PROXY_NONE
22786 * NONE = property(get_NONE) # <<<<<<<<<<<<<<
22788 * def get_USE_GLOBAL(self):
22790 __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_6purple_ProxyInfoType, __pyx_kp_get_NONE); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 31; __pyx_clineno = __LINE__; goto __pyx_L1;}
22791 __pyx_2 = PyTuple_New(1); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 31; __pyx_clineno = __LINE__; goto __pyx_L1;}
22792 PyTuple_SET_ITEM(__pyx_2, 0, __pyx_1);
22794 __pyx_1 = PyObject_Call(__pyx_builtin_property, ((PyObject *)__pyx_2), NULL); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 31; __pyx_clineno = __LINE__; goto __pyx_L1;}
22795 Py_DECREF(((PyObject *)__pyx_2)); __pyx_2 = 0;
22796 if (PyDict_SetItem((PyObject *)__pyx_ptype_6purple_ProxyInfoType->tp_dict, __pyx_kp_NONE, __pyx_1) < 0) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 31; __pyx_clineno = __LINE__; goto __pyx_L1;}
22797 __Pyx_TypeModified(__pyx_ptype_6purple_ProxyInfoType);
22799 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":36
22800 * self.c_type = proxy.PURPLE_PROXY_USE_GLOBAL
22802 * USE_GLOBAL = property(get_USE_GLOBAL) # <<<<<<<<<<<<<<
22804 * def get_HTTP(self):
22806 __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_6purple_ProxyInfoType, __pyx_kp_get_USE_GLOBAL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 36; __pyx_clineno = __LINE__; goto __pyx_L1;}
22807 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 36; __pyx_clineno = __LINE__; goto __pyx_L1;}
22808 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_2);
22810 __pyx_2 = PyObject_Call(__pyx_builtin_property, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 36; __pyx_clineno = __LINE__; goto __pyx_L1;}
22811 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
22812 if (PyDict_SetItem((PyObject *)__pyx_ptype_6purple_ProxyInfoType->tp_dict, __pyx_kp_USE_GLOBAL, __pyx_2) < 0) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 36; __pyx_clineno = __LINE__; goto __pyx_L1;}
22813 __Pyx_TypeModified(__pyx_ptype_6purple_ProxyInfoType);
22815 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":41
22816 * self.c_type = proxy.PURPLE_PROXY_HTTP
22818 * HTTP = property(get_HTTP) # <<<<<<<<<<<<<<
22820 * def get_SOCKS4(self):
22822 __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_6purple_ProxyInfoType, __pyx_kp_get_HTTP); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 41; __pyx_clineno = __LINE__; goto __pyx_L1;}
22823 __pyx_2 = PyTuple_New(1); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 41; __pyx_clineno = __LINE__; goto __pyx_L1;}
22824 PyTuple_SET_ITEM(__pyx_2, 0, __pyx_1);
22826 __pyx_1 = PyObject_Call(__pyx_builtin_property, ((PyObject *)__pyx_2), NULL); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 41; __pyx_clineno = __LINE__; goto __pyx_L1;}
22827 Py_DECREF(((PyObject *)__pyx_2)); __pyx_2 = 0;
22828 if (PyDict_SetItem((PyObject *)__pyx_ptype_6purple_ProxyInfoType->tp_dict, __pyx_kp_HTTP, __pyx_1) < 0) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 41; __pyx_clineno = __LINE__; goto __pyx_L1;}
22829 __Pyx_TypeModified(__pyx_ptype_6purple_ProxyInfoType);
22831 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/proxy.pyx":54
22832 * self.c_type = proxy.PURPLE_PROXY_USE_ENVVAR
22834 * USE_ENVVAR = property(get_USE_ENVVAR) # <<<<<<<<<<<<<<
22836 * cdef class ProxyInfo:
22838 __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_6purple_ProxyInfoType, __pyx_kp_get_USE_ENVVAR); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 54; __pyx_clineno = __LINE__; goto __pyx_L1;}
22839 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 54; __pyx_clineno = __LINE__; goto __pyx_L1;}
22840 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_2);
22842 __pyx_2 = PyObject_Call(__pyx_builtin_property, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 54; __pyx_clineno = __LINE__; goto __pyx_L1;}
22843 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
22844 if (PyDict_SetItem((PyObject *)__pyx_ptype_6purple_ProxyInfoType->tp_dict, __pyx_kp_USE_ENVVAR, __pyx_2) < 0) {__pyx_filename = __pyx_f[10]; __pyx_lineno = 54; __pyx_clineno = __LINE__; goto __pyx_L1;}
22845 __Pyx_TypeModified(__pyx_ptype_6purple_ProxyInfoType);
22847 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":49
22848 * self.__protocol.id)
22850 * def __is_connected(self): # <<<<<<<<<<<<<<
22851 * if self.__exists:
22852 * return account.purple_account_is_connected(self._get_structure())
22854 __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_6purple_Account, __pyx_kp___is_connected); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 54; __pyx_clineno = __LINE__; goto __pyx_L1;}
22855 __pyx_2 = PyTuple_New(1); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 54; __pyx_clineno = __LINE__; goto __pyx_L1;}
22856 PyTuple_SET_ITEM(__pyx_2, 0, __pyx_1);
22858 __pyx_1 = PyObject_Call(__pyx_builtin_property, ((PyObject *)__pyx_2), NULL); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 54; __pyx_clineno = __LINE__; goto __pyx_L1;}
22859 Py_DECREF(((PyObject *)__pyx_2)); __pyx_2 = 0;
22860 if (PyDict_SetItem((PyObject *)__pyx_ptype_6purple_Account->tp_dict, __pyx_kp_is_connected, __pyx_1) < 0) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 54; __pyx_clineno = __LINE__; goto __pyx_L1;}
22861 __Pyx_TypeModified(__pyx_ptype_6purple_Account);
22863 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":61
22866 * is_connecting = property(__is_connecting) # <<<<<<<<<<<<<<
22868 * def __is_disconnected(self):
22870 __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_6purple_Account, __pyx_kp___is_connecting); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 61; __pyx_clineno = __LINE__; goto __pyx_L1;}
22871 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 61; __pyx_clineno = __LINE__; goto __pyx_L1;}
22872 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_2);
22874 __pyx_2 = PyObject_Call(__pyx_builtin_property, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 61; __pyx_clineno = __LINE__; goto __pyx_L1;}
22875 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
22876 if (PyDict_SetItem((PyObject *)__pyx_ptype_6purple_Account->tp_dict, __pyx_kp_is_connecting, __pyx_2) < 0) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 61; __pyx_clineno = __LINE__; goto __pyx_L1;}
22877 __Pyx_TypeModified(__pyx_ptype_6purple_Account);
22879 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":69
22882 * is_disconnected = property(__is_disconnected) # <<<<<<<<<<<<<<
22884 * def __get_core(self):
22886 __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_6purple_Account, __pyx_kp___is_disconnected); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 69; __pyx_clineno = __LINE__; goto __pyx_L1;}
22887 __pyx_2 = PyTuple_New(1); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 69; __pyx_clineno = __LINE__; goto __pyx_L1;}
22888 PyTuple_SET_ITEM(__pyx_2, 0, __pyx_1);
22890 __pyx_1 = PyObject_Call(__pyx_builtin_property, ((PyObject *)__pyx_2), NULL); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 69; __pyx_clineno = __LINE__; goto __pyx_L1;}
22891 Py_DECREF(((PyObject *)__pyx_2)); __pyx_2 = 0;
22892 if (PyDict_SetItem((PyObject *)__pyx_ptype_6purple_Account->tp_dict, __pyx_kp_is_disconnected, __pyx_1) < 0) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 69; __pyx_clineno = __LINE__; goto __pyx_L1;}
22893 __Pyx_TypeModified(__pyx_ptype_6purple_Account);
22895 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":73
22896 * def __get_core(self):
22897 * return self.__core
22898 * core = property(__get_core) # <<<<<<<<<<<<<<
22900 * def __get_exists(self):
22902 __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_6purple_Account, __pyx_kp___get_core); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 73; __pyx_clineno = __LINE__; goto __pyx_L1;}
22903 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 73; __pyx_clineno = __LINE__; goto __pyx_L1;}
22904 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_2);
22906 __pyx_2 = PyObject_Call(__pyx_builtin_property, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 73; __pyx_clineno = __LINE__; goto __pyx_L1;}
22907 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
22908 if (PyDict_SetItem((PyObject *)__pyx_ptype_6purple_Account->tp_dict, __pyx_kp_core, __pyx_2) < 0) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 73; __pyx_clineno = __LINE__; goto __pyx_L1;}
22909 __Pyx_TypeModified(__pyx_ptype_6purple_Account);
22911 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":77
22912 * def __get_exists(self):
22913 * return self.__exists
22914 * exists = property(__get_exists) # <<<<<<<<<<<<<<
22916 * def __get_username(self):
22918 __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_6purple_Account, __pyx_kp___get_exists); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L1;}
22919 __pyx_2 = PyTuple_New(1); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L1;}
22920 PyTuple_SET_ITEM(__pyx_2, 0, __pyx_1);
22922 __pyx_1 = PyObject_Call(__pyx_builtin_property, ((PyObject *)__pyx_2), NULL); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L1;}
22923 Py_DECREF(((PyObject *)__pyx_2)); __pyx_2 = 0;
22924 if (PyDict_SetItem((PyObject *)__pyx_ptype_6purple_Account->tp_dict, __pyx_kp_exists, __pyx_1) < 0) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L1;}
22925 __Pyx_TypeModified(__pyx_ptype_6purple_Account);
22927 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":90
22929 * return self.__username
22930 * username = property(__get_username) # <<<<<<<<<<<<<<
22932 * def __get_protocol(self):
22934 __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_6purple_Account, __pyx_kp___get_username); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 90; __pyx_clineno = __LINE__; goto __pyx_L1;}
22935 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 90; __pyx_clineno = __LINE__; goto __pyx_L1;}
22936 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_2);
22938 __pyx_2 = PyObject_Call(__pyx_builtin_property, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 90; __pyx_clineno = __LINE__; goto __pyx_L1;}
22939 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
22940 if (PyDict_SetItem((PyObject *)__pyx_ptype_6purple_Account->tp_dict, __pyx_kp_username, __pyx_2) < 0) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 90; __pyx_clineno = __LINE__; goto __pyx_L1;}
22941 __Pyx_TypeModified(__pyx_ptype_6purple_Account);
22943 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":94
22944 * def __get_protocol(self):
22945 * return self.__protocol
22946 * protocol = property(__get_protocol) # <<<<<<<<<<<<<<
22948 * def _get_protocol_options(self):
22950 __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_6purple_Account, __pyx_kp___get_protocol); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 94; __pyx_clineno = __LINE__; goto __pyx_L1;}
22951 __pyx_2 = PyTuple_New(1); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 94; __pyx_clineno = __LINE__; goto __pyx_L1;}
22952 PyTuple_SET_ITEM(__pyx_2, 0, __pyx_1);
22954 __pyx_1 = PyObject_Call(__pyx_builtin_property, ((PyObject *)__pyx_2), NULL); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 94; __pyx_clineno = __LINE__; goto __pyx_L1;}
22955 Py_DECREF(((PyObject *)__pyx_2)); __pyx_2 = 0;
22956 if (PyDict_SetItem((PyObject *)__pyx_ptype_6purple_Account->tp_dict, __pyx_kp_protocol, __pyx_1) < 0) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 94; __pyx_clineno = __LINE__; goto __pyx_L1;}
22957 __Pyx_TypeModified(__pyx_ptype_6purple_Account);
22959 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":170
22962 * protocol_options = property(_get_protocol_options) # <<<<<<<<<<<<<<
22964 * def __get_password(self):
22966 __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_6purple_Account, __pyx_kp_7); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 170; __pyx_clineno = __LINE__; goto __pyx_L1;}
22967 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 170; __pyx_clineno = __LINE__; goto __pyx_L1;}
22968 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_2);
22970 __pyx_2 = PyObject_Call(__pyx_builtin_property, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 170; __pyx_clineno = __LINE__; goto __pyx_L1;}
22971 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
22972 if (PyDict_SetItem((PyObject *)__pyx_ptype_6purple_Account->tp_dict, __pyx_kp_protocol_options, __pyx_2) < 0) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 170; __pyx_clineno = __LINE__; goto __pyx_L1;}
22973 __Pyx_TypeModified(__pyx_ptype_6purple_Account);
22975 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":183
22978 * password = property(__get_password) # <<<<<<<<<<<<<<
22980 * def __get_alias(self):
22982 __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_6purple_Account, __pyx_kp___get_password); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 183; __pyx_clineno = __LINE__; goto __pyx_L1;}
22983 __pyx_2 = PyTuple_New(1); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 183; __pyx_clineno = __LINE__; goto __pyx_L1;}
22984 PyTuple_SET_ITEM(__pyx_2, 0, __pyx_1);
22986 __pyx_1 = PyObject_Call(__pyx_builtin_property, ((PyObject *)__pyx_2), NULL); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 183; __pyx_clineno = __LINE__; goto __pyx_L1;}
22987 Py_DECREF(((PyObject *)__pyx_2)); __pyx_2 = 0;
22988 if (PyDict_SetItem((PyObject *)__pyx_ptype_6purple_Account->tp_dict, __pyx_kp_password, __pyx_1) < 0) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 183; __pyx_clineno = __LINE__; goto __pyx_L1;}
22989 __Pyx_TypeModified(__pyx_ptype_6purple_Account);
22991 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":195
22994 * alias = property(__get_alias) # <<<<<<<<<<<<<<
22996 * def __get_user_info(self):
22998 __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_6purple_Account, __pyx_kp___get_alias); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 195; __pyx_clineno = __LINE__; goto __pyx_L1;}
22999 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 195; __pyx_clineno = __LINE__; goto __pyx_L1;}
23000 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_2);
23002 __pyx_2 = PyObject_Call(__pyx_builtin_property, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 195; __pyx_clineno = __LINE__; goto __pyx_L1;}
23003 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
23004 if (PyDict_SetItem((PyObject *)__pyx_ptype_6purple_Account->tp_dict, __pyx_kp_alias, __pyx_2) < 0) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 195; __pyx_clineno = __LINE__; goto __pyx_L1;}
23005 __Pyx_TypeModified(__pyx_ptype_6purple_Account);
23007 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":207
23010 * user_info = property(__get_user_info) # <<<<<<<<<<<<<<
23012 * def __get_remember_password(self):
23014 __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_6purple_Account, __pyx_kp___get_user_info); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 207; __pyx_clineno = __LINE__; goto __pyx_L1;}
23015 __pyx_2 = PyTuple_New(1); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 207; __pyx_clineno = __LINE__; goto __pyx_L1;}
23016 PyTuple_SET_ITEM(__pyx_2, 0, __pyx_1);
23018 __pyx_1 = PyObject_Call(__pyx_builtin_property, ((PyObject *)__pyx_2), NULL); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 207; __pyx_clineno = __LINE__; goto __pyx_L1;}
23019 Py_DECREF(((PyObject *)__pyx_2)); __pyx_2 = 0;
23020 if (PyDict_SetItem((PyObject *)__pyx_ptype_6purple_Account->tp_dict, __pyx_kp_user_info, __pyx_1) < 0) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 207; __pyx_clineno = __LINE__; goto __pyx_L1;}
23021 __Pyx_TypeModified(__pyx_ptype_6purple_Account);
23023 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":215
23026 * remember_password = property(__get_remember_password) # <<<<<<<<<<<<<<
23028 * def __get_enabled(self):
23030 __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_6purple_Account, __pyx_kp_8); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 215; __pyx_clineno = __LINE__; goto __pyx_L1;}
23031 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 215; __pyx_clineno = __LINE__; goto __pyx_L1;}
23032 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_2);
23034 __pyx_2 = PyObject_Call(__pyx_builtin_property, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 215; __pyx_clineno = __LINE__; goto __pyx_L1;}
23035 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
23036 if (PyDict_SetItem((PyObject *)__pyx_ptype_6purple_Account->tp_dict, __pyx_kp_remember_password, __pyx_2) < 0) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 215; __pyx_clineno = __LINE__; goto __pyx_L1;}
23037 __Pyx_TypeModified(__pyx_ptype_6purple_Account);
23039 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":223
23042 * enabled = property(__get_enabled) # <<<<<<<<<<<<<<
23044 * def __get_status_types(self):
23046 __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_6purple_Account, __pyx_kp___get_enabled); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 223; __pyx_clineno = __LINE__; goto __pyx_L1;}
23047 __pyx_2 = PyTuple_New(1); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 223; __pyx_clineno = __LINE__; goto __pyx_L1;}
23048 PyTuple_SET_ITEM(__pyx_2, 0, __pyx_1);
23050 __pyx_1 = PyObject_Call(__pyx_builtin_property, ((PyObject *)__pyx_2), NULL); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 223; __pyx_clineno = __LINE__; goto __pyx_L1;}
23051 Py_DECREF(((PyObject *)__pyx_2)); __pyx_2 = 0;
23052 if (PyDict_SetItem((PyObject *)__pyx_ptype_6purple_Account->tp_dict, __pyx_kp_enabled, __pyx_1) < 0) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 223; __pyx_clineno = __LINE__; goto __pyx_L1;}
23053 __Pyx_TypeModified(__pyx_ptype_6purple_Account);
23055 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":244
23058 * status_types = property(__get_status_types) # <<<<<<<<<<<<<<
23060 * def __get_active_status(self):
23062 __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_6purple_Account, __pyx_kp___get_status_types); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 244; __pyx_clineno = __LINE__; goto __pyx_L1;}
23063 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 244; __pyx_clineno = __LINE__; goto __pyx_L1;}
23064 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_2);
23066 __pyx_2 = PyObject_Call(__pyx_builtin_property, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 244; __pyx_clineno = __LINE__; goto __pyx_L1;}
23067 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
23068 if (PyDict_SetItem((PyObject *)__pyx_ptype_6purple_Account->tp_dict, __pyx_kp_status_types, __pyx_2) < 0) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 244; __pyx_clineno = __LINE__; goto __pyx_L1;}
23069 __Pyx_TypeModified(__pyx_ptype_6purple_Account);
23071 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/account.pyx":267
23074 * active_status = property(__get_active_status) # <<<<<<<<<<<<<<
23076 * def set_username(self, username):
23078 __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_6purple_Account, __pyx_kp___get_active_status); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 267; __pyx_clineno = __LINE__; goto __pyx_L1;}
23079 __pyx_2 = PyTuple_New(1); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 267; __pyx_clineno = __LINE__; goto __pyx_L1;}
23080 PyTuple_SET_ITEM(__pyx_2, 0, __pyx_1);
23082 __pyx_1 = PyObject_Call(__pyx_builtin_property, ((PyObject *)__pyx_2), NULL); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 267; __pyx_clineno = __LINE__; goto __pyx_L1;}
23083 Py_DECREF(((PyObject *)__pyx_2)); __pyx_2 = 0;
23084 if (PyDict_SetItem((PyObject *)__pyx_ptype_6purple_Account->tp_dict, __pyx_kp_active_status, __pyx_1) < 0) {__pyx_filename = __pyx_f[11]; __pyx_lineno = 267; __pyx_clineno = __LINE__; goto __pyx_L1;}
23085 __Pyx_TypeModified(__pyx_ptype_6purple_Account);
23087 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":49
23088 * def __get_exists(self):
23089 * return self.__exists
23090 * exists = property(__get_exists) # <<<<<<<<<<<<<<
23092 * def __get_name(self):
23094 __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_6purple_Buddy, __pyx_kp___get_exists); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 49; __pyx_clineno = __LINE__; goto __pyx_L1;}
23095 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 49; __pyx_clineno = __LINE__; goto __pyx_L1;}
23096 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_2);
23098 __pyx_2 = PyObject_Call(__pyx_builtin_property, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 49; __pyx_clineno = __LINE__; goto __pyx_L1;}
23099 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
23100 if (PyDict_SetItem((PyObject *)__pyx_ptype_6purple_Buddy->tp_dict, __pyx_kp_exists, __pyx_2) < 0) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 49; __pyx_clineno = __LINE__; goto __pyx_L1;}
23101 __Pyx_TypeModified(__pyx_ptype_6purple_Buddy);
23103 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":56
23105 * return self.__name
23106 * name = property(__get_name) # <<<<<<<<<<<<<<
23108 * def __get_account(self):
23110 __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_6purple_Buddy, __pyx_kp___get_name); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 56; __pyx_clineno = __LINE__; goto __pyx_L1;}
23111 __pyx_2 = PyTuple_New(1); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 56; __pyx_clineno = __LINE__; goto __pyx_L1;}
23112 PyTuple_SET_ITEM(__pyx_2, 0, __pyx_1);
23114 __pyx_1 = PyObject_Call(__pyx_builtin_property, ((PyObject *)__pyx_2), NULL); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 56; __pyx_clineno = __LINE__; goto __pyx_L1;}
23115 Py_DECREF(((PyObject *)__pyx_2)); __pyx_2 = 0;
23116 if (PyDict_SetItem((PyObject *)__pyx_ptype_6purple_Buddy->tp_dict, __pyx_kp_name, __pyx_1) < 0) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 56; __pyx_clineno = __LINE__; goto __pyx_L1;}
23117 __Pyx_TypeModified(__pyx_ptype_6purple_Buddy);
23119 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":63
23122 * account = property(__get_account) # <<<<<<<<<<<<<<
23124 * def __get_alias(self):
23126 __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_6purple_Buddy, __pyx_kp___get_account); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 63; __pyx_clineno = __LINE__; goto __pyx_L1;}
23127 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 63; __pyx_clineno = __LINE__; goto __pyx_L1;}
23128 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_2);
23130 __pyx_2 = PyObject_Call(__pyx_builtin_property, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 63; __pyx_clineno = __LINE__; goto __pyx_L1;}
23131 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
23132 if (PyDict_SetItem((PyObject *)__pyx_ptype_6purple_Buddy->tp_dict, __pyx_kp_account, __pyx_2) < 0) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 63; __pyx_clineno = __LINE__; goto __pyx_L1;}
23133 __Pyx_TypeModified(__pyx_ptype_6purple_Buddy);
23135 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":73
23138 * alias = property(__get_alias) # <<<<<<<<<<<<<<
23140 * def __get_group(self):
23142 __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_6purple_Buddy, __pyx_kp___get_alias); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 73; __pyx_clineno = __LINE__; goto __pyx_L1;}
23143 __pyx_2 = PyTuple_New(1); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 73; __pyx_clineno = __LINE__; goto __pyx_L1;}
23144 PyTuple_SET_ITEM(__pyx_2, 0, __pyx_1);
23146 __pyx_1 = PyObject_Call(__pyx_builtin_property, ((PyObject *)__pyx_2), NULL); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 73; __pyx_clineno = __LINE__; goto __pyx_L1;}
23147 Py_DECREF(((PyObject *)__pyx_2)); __pyx_2 = 0;
23148 if (PyDict_SetItem((PyObject *)__pyx_ptype_6purple_Buddy->tp_dict, __pyx_kp_alias, __pyx_1) < 0) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 73; __pyx_clineno = __LINE__; goto __pyx_L1;}
23149 __Pyx_TypeModified(__pyx_ptype_6purple_Buddy);
23151 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":82
23154 * group = property(__get_group) # <<<<<<<<<<<<<<
23156 * def __get_server_alias(self):
23158 __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_6purple_Buddy, __pyx_kp___get_group); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 82; __pyx_clineno = __LINE__; goto __pyx_L1;}
23159 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 82; __pyx_clineno = __LINE__; goto __pyx_L1;}
23160 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_2);
23162 __pyx_2 = PyObject_Call(__pyx_builtin_property, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 82; __pyx_clineno = __LINE__; goto __pyx_L1;}
23163 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
23164 if (PyDict_SetItem((PyObject *)__pyx_ptype_6purple_Buddy->tp_dict, __pyx_kp_group, __pyx_2) < 0) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 82; __pyx_clineno = __LINE__; goto __pyx_L1;}
23165 __Pyx_TypeModified(__pyx_ptype_6purple_Buddy);
23167 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":92
23170 * server_alias = property(__get_server_alias) # <<<<<<<<<<<<<<
23172 * def __get_contact_alias(self):
23174 __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_6purple_Buddy, __pyx_kp___get_server_alias); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 92; __pyx_clineno = __LINE__; goto __pyx_L1;}
23175 __pyx_2 = PyTuple_New(1); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 92; __pyx_clineno = __LINE__; goto __pyx_L1;}
23176 PyTuple_SET_ITEM(__pyx_2, 0, __pyx_1);
23178 __pyx_1 = PyObject_Call(__pyx_builtin_property, ((PyObject *)__pyx_2), NULL); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 92; __pyx_clineno = __LINE__; goto __pyx_L1;}
23179 Py_DECREF(((PyObject *)__pyx_2)); __pyx_2 = 0;
23180 if (PyDict_SetItem((PyObject *)__pyx_ptype_6purple_Buddy->tp_dict, __pyx_kp_server_alias, __pyx_1) < 0) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 92; __pyx_clineno = __LINE__; goto __pyx_L1;}
23181 __Pyx_TypeModified(__pyx_ptype_6purple_Buddy);
23183 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":102
23186 * contact_alias = property(__get_contact_alias) # <<<<<<<<<<<<<<
23188 * def __get_local_alias(self):
23190 __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_6purple_Buddy, __pyx_kp___get_contact_alias); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 102; __pyx_clineno = __LINE__; goto __pyx_L1;}
23191 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 102; __pyx_clineno = __LINE__; goto __pyx_L1;}
23192 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_2);
23194 __pyx_2 = PyObject_Call(__pyx_builtin_property, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 102; __pyx_clineno = __LINE__; goto __pyx_L1;}
23195 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
23196 if (PyDict_SetItem((PyObject *)__pyx_ptype_6purple_Buddy->tp_dict, __pyx_kp_contact_alias, __pyx_2) < 0) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 102; __pyx_clineno = __LINE__; goto __pyx_L1;}
23197 __Pyx_TypeModified(__pyx_ptype_6purple_Buddy);
23199 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":112
23202 * local_alias = property(__get_local_alias) # <<<<<<<<<<<<<<
23204 * def __get_available(self):
23206 __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_6purple_Buddy, __pyx_kp___get_local_alias); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 112; __pyx_clineno = __LINE__; goto __pyx_L1;}
23207 __pyx_2 = PyTuple_New(1); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 112; __pyx_clineno = __LINE__; goto __pyx_L1;}
23208 PyTuple_SET_ITEM(__pyx_2, 0, __pyx_1);
23210 __pyx_1 = PyObject_Call(__pyx_builtin_property, ((PyObject *)__pyx_2), NULL); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 112; __pyx_clineno = __LINE__; goto __pyx_L1;}
23211 Py_DECREF(((PyObject *)__pyx_2)); __pyx_2 = 0;
23212 if (PyDict_SetItem((PyObject *)__pyx_ptype_6purple_Buddy->tp_dict, __pyx_kp_local_alias, __pyx_1) < 0) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 112; __pyx_clineno = __LINE__; goto __pyx_L1;}
23213 __Pyx_TypeModified(__pyx_ptype_6purple_Buddy);
23215 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":120
23218 * available = property(__get_available) # <<<<<<<<<<<<<<
23220 * def __get_online(self):
23222 __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_6purple_Buddy, __pyx_kp___get_available); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 120; __pyx_clineno = __LINE__; goto __pyx_L1;}
23223 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 120; __pyx_clineno = __LINE__; goto __pyx_L1;}
23224 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_2);
23226 __pyx_2 = PyObject_Call(__pyx_builtin_property, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 120; __pyx_clineno = __LINE__; goto __pyx_L1;}
23227 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
23228 if (PyDict_SetItem((PyObject *)__pyx_ptype_6purple_Buddy->tp_dict, __pyx_kp_available, __pyx_2) < 0) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 120; __pyx_clineno = __LINE__; goto __pyx_L1;}
23229 __Pyx_TypeModified(__pyx_ptype_6purple_Buddy);
23231 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":128
23234 * online = property(__get_online) # <<<<<<<<<<<<<<
23236 * def __get_idle(self):
23238 __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_6purple_Buddy, __pyx_kp___get_online); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 128; __pyx_clineno = __LINE__; goto __pyx_L1;}
23239 __pyx_2 = PyTuple_New(1); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 128; __pyx_clineno = __LINE__; goto __pyx_L1;}
23240 PyTuple_SET_ITEM(__pyx_2, 0, __pyx_1);
23242 __pyx_1 = PyObject_Call(__pyx_builtin_property, ((PyObject *)__pyx_2), NULL); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 128; __pyx_clineno = __LINE__; goto __pyx_L1;}
23243 Py_DECREF(((PyObject *)__pyx_2)); __pyx_2 = 0;
23244 if (PyDict_SetItem((PyObject *)__pyx_ptype_6purple_Buddy->tp_dict, __pyx_kp_online, __pyx_1) < 0) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 128; __pyx_clineno = __LINE__; goto __pyx_L1;}
23245 __Pyx_TypeModified(__pyx_ptype_6purple_Buddy);
23247 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":136
23250 * idle = property(__get_idle) # <<<<<<<<<<<<<<
23252 * def __get_active_status(self):
23254 __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_6purple_Buddy, __pyx_kp___get_idle); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 136; __pyx_clineno = __LINE__; goto __pyx_L1;}
23255 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 136; __pyx_clineno = __LINE__; goto __pyx_L1;}
23256 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_2);
23258 __pyx_2 = PyObject_Call(__pyx_builtin_property, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 136; __pyx_clineno = __LINE__; goto __pyx_L1;}
23259 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
23260 if (PyDict_SetItem((PyObject *)__pyx_ptype_6purple_Buddy->tp_dict, __pyx_kp_idle, __pyx_2) < 0) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 136; __pyx_clineno = __LINE__; goto __pyx_L1;}
23261 __Pyx_TypeModified(__pyx_ptype_6purple_Buddy);
23263 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/buddy.pyx":160
23266 * active_status = property(__get_active_status) # <<<<<<<<<<<<<<
23268 * def set_alias(self, alias):
23270 __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_6purple_Buddy, __pyx_kp___get_active_status); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 160; __pyx_clineno = __LINE__; goto __pyx_L1;}
23271 __pyx_2 = PyTuple_New(1); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 160; __pyx_clineno = __LINE__; goto __pyx_L1;}
23272 PyTuple_SET_ITEM(__pyx_2, 0, __pyx_1);
23274 __pyx_1 = PyObject_Call(__pyx_builtin_property, ((PyObject *)__pyx_2), NULL); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 160; __pyx_clineno = __LINE__; goto __pyx_L1;}
23275 Py_DECREF(((PyObject *)__pyx_2)); __pyx_2 = 0;
23276 if (PyDict_SetItem((PyObject *)__pyx_ptype_6purple_Buddy->tp_dict, __pyx_kp_active_status, __pyx_1) < 0) {__pyx_filename = __pyx_f[12]; __pyx_lineno = 160; __pyx_clineno = __LINE__; goto __pyx_L1;}
23277 __Pyx_TypeModified(__pyx_ptype_6purple_Buddy);
23279 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":57
23280 * def __get_exists(self):
23281 * return self.__exists
23282 * exists = property(__get_exists) # <<<<<<<<<<<<<<
23284 * def __get_account(self):
23286 __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_6purple_Conversation, __pyx_kp___get_exists); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 57; __pyx_clineno = __LINE__; goto __pyx_L1;}
23287 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 57; __pyx_clineno = __LINE__; goto __pyx_L1;}
23288 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_2);
23290 __pyx_2 = PyObject_Call(__pyx_builtin_property, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 57; __pyx_clineno = __LINE__; goto __pyx_L1;}
23291 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
23292 if (PyDict_SetItem((PyObject *)__pyx_ptype_6purple_Conversation->tp_dict, __pyx_kp_exists, __pyx_2) < 0) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 57; __pyx_clineno = __LINE__; goto __pyx_L1;}
23293 __Pyx_TypeModified(__pyx_ptype_6purple_Conversation);
23295 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":64
23298 * account = property(__get_account) # <<<<<<<<<<<<<<
23300 * def __get_name(self):
23302 __pyx_1 = __Pyx_GetName((PyObject *)__pyx_ptype_6purple_Conversation, __pyx_kp___get_account); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 64; __pyx_clineno = __LINE__; goto __pyx_L1;}
23303 __pyx_2 = PyTuple_New(1); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 64; __pyx_clineno = __LINE__; goto __pyx_L1;}
23304 PyTuple_SET_ITEM(__pyx_2, 0, __pyx_1);
23306 __pyx_1 = PyObject_Call(__pyx_builtin_property, ((PyObject *)__pyx_2), NULL); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 64; __pyx_clineno = __LINE__; goto __pyx_L1;}
23307 Py_DECREF(((PyObject *)__pyx_2)); __pyx_2 = 0;
23308 if (PyDict_SetItem((PyObject *)__pyx_ptype_6purple_Conversation->tp_dict, __pyx_kp_account, __pyx_1) < 0) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 64; __pyx_clineno = __LINE__; goto __pyx_L1;}
23309 __Pyx_TypeModified(__pyx_ptype_6purple_Conversation);
23311 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":72
23314 * name = property(__get_name) # <<<<<<<<<<<<<<
23318 __pyx_2 = __Pyx_GetName((PyObject *)__pyx_ptype_6purple_Conversation, __pyx_kp___get_name); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 72; __pyx_clineno = __LINE__; goto __pyx_L1;}
23319 __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 72; __pyx_clineno = __LINE__; goto __pyx_L1;}
23320 PyTuple_SET_ITEM(__pyx_1, 0, __pyx_2);
23322 __pyx_2 = PyObject_Call(__pyx_builtin_property, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 72; __pyx_clineno = __LINE__; goto __pyx_L1;}
23323 Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
23324 if (PyDict_SetItem((PyObject *)__pyx_ptype_6purple_Conversation->tp_dict, __pyx_kp_name, __pyx_2) < 0) {__pyx_filename = __pyx_f[13]; __pyx_lineno = 72; __pyx_clineno = __LINE__; goto __pyx_L1;}
23325 __Pyx_TypeModified(__pyx_ptype_6purple_Conversation);
23327 /* "/opt/wrk/indt/workspace/git-svn/carman/python-purple/conversation.pyx":131
23330 * def im_send(self, message): # <<<<<<<<<<<<<<
23332 * Sends a message to this IM conversation.
23336 Py_XDECREF(__pyx_1);
23337 Py_XDECREF(__pyx_2);
23338 __Pyx_AddTraceback("purple");
23341 static const char *__pyx_filenames[] = {
23344 "connection_cbs.pxd",
23345 "conversation_cbs.pxd",
23355 "conversation.pyx",
23358 /* Runtime support code */
23360 static void __pyx_init_filenames(void) {
23361 __pyx_f = __pyx_filenames;
23364 static INLINE void __Pyx_RaiseArgtupleTooLong(
23365 Py_ssize_t num_expected,
23366 Py_ssize_t num_found)
23368 const char* error_message =
23369 #if PY_VERSION_HEX < 0x02050000
23370 "function takes at most %d positional arguments (%d given)";
23372 "function takes at most %zd positional arguments (%zd given)";
23374 PyErr_Format(PyExc_TypeError, error_message, num_expected, num_found);
23377 #if PY_VERSION_HEX >= 0x02060000
23378 /* copied from typeobject.c in Python 3.0a5 */
23379 static void __Pyx_TypeModified(PyTypeObject* type) {
23380 PyObject *raw, *ref;
23383 if (!PyType_HasFeature(type, Py_TPFLAGS_VALID_VERSION_TAG))
23386 raw = type->tp_subclasses;
23388 n = PyList_GET_SIZE(raw);
23389 for (i = 0; i < n; i++) {
23390 ref = PyList_GET_ITEM(raw, i);
23391 ref = PyWeakref_GET_OBJECT(ref);
23392 if (ref != Py_None) {
23393 __Pyx_TypeModified((PyTypeObject *)ref);
23397 type->tp_flags &= ~Py_TPFLAGS_VALID_VERSION_TAG;
23401 static int __Pyx_CheckKeywordStrings(
23403 const char* function_name,
23407 Py_ssize_t pos = 0;
23408 while (PyDict_Next(kwdict, &pos, &key, 0)) {
23409 #if PY_MAJOR_VERSION < 3
23410 if (unlikely(!PyString_Check(key))) {
23412 if (unlikely(!PyUnicode_Check(key))) {
23414 PyErr_Format(PyExc_TypeError,
23415 "%s() keywords must be strings", function_name);
23419 if (unlikely(!kw_allowed) && unlikely(key)) {
23420 PyErr_Format(PyExc_TypeError,
23421 "'%s' is an invalid keyword argument for this function",
23422 #if PY_MAJOR_VERSION < 3
23423 PyString_AsString(key));
23425 PyUnicode_AsString(key));
23432 static int __Pyx_ArgTypeTest(PyObject *obj, PyTypeObject *type, int none_allowed, char *name, int exact) {
23434 PyErr_Format(PyExc_SystemError, "Missing type object");
23437 if (none_allowed && obj == Py_None) return 1;
23439 if (Py_TYPE(obj) == type) return 1;
23442 if (PyObject_TypeCheck(obj, type)) return 1;
23444 PyErr_Format(PyExc_TypeError,
23445 "Argument '%s' has incorrect type (expected %s, got %s)",
23446 name, type->tp_name, Py_TYPE(obj)->tp_name);
23450 static PyObject *__Pyx_Import(PyObject *name, PyObject *from_list) {
23451 PyObject *__import__ = 0;
23452 PyObject *empty_list = 0;
23453 PyObject *module = 0;
23454 PyObject *global_dict = 0;
23455 PyObject *empty_dict = 0;
23457 __import__ = PyObject_GetAttrString(__pyx_b, "__import__");
23463 empty_list = PyList_New(0);
23468 global_dict = PyModule_GetDict(__pyx_m);
23471 empty_dict = PyDict_New();
23474 module = PyObject_CallFunction(__import__, "OOOO",
23475 name, global_dict, empty_dict, list);
23477 Py_XDECREF(empty_list);
23478 Py_XDECREF(__import__);
23479 Py_XDECREF(empty_dict);
23483 static PyObject *__Pyx_GetName(PyObject *dict, PyObject *name) {
23485 result = PyObject_GetAttr(dict, name);
23487 PyErr_SetObject(PyExc_NameError, name);
23491 static void __Pyx_WriteUnraisable(const char *name) {
23492 PyObject *old_exc, *old_val, *old_tb;
23494 PyErr_Fetch(&old_exc, &old_val, &old_tb);
23495 #if PY_MAJOR_VERSION < 3
23496 ctx = PyString_FromString(name);
23498 ctx = PyUnicode_FromString(name);
23500 PyErr_Restore(old_exc, old_val, old_tb);
23503 PyErr_WriteUnraisable(ctx);
23507 static int __Pyx_InitStrings(__Pyx_StringTabEntry *t) {
23509 #if PY_MAJOR_VERSION < 3
23510 if (t->is_unicode && (!t->is_identifier)) {
23511 *t->p = PyUnicode_DecodeUTF8(t->s, t->n - 1, NULL);
23512 } else if (t->intern) {
23513 *t->p = PyString_InternFromString(t->s);
23515 *t->p = PyString_FromStringAndSize(t->s, t->n - 1);
23517 #else /* Python 3+ has unicode identifiers */
23518 if (t->is_identifier || (t->is_unicode && t->intern)) {
23519 *t->p = PyUnicode_InternFromString(t->s);
23520 } else if (t->is_unicode) {
23521 *t->p = PyUnicode_FromStringAndSize(t->s, t->n - 1);
23523 *t->p = PyBytes_FromStringAndSize(t->s, t->n - 1);
23533 static int __Pyx_SetVtable(PyObject *dict, void *vtable) {
23534 PyObject *pycobj = 0;
23537 pycobj = PyCObject_FromVoidPtr(vtable, 0);
23540 if (PyDict_SetItemString(dict, "__pyx_vtable__", pycobj) < 0)
23548 Py_XDECREF(pycobj);
23552 #include "compile.h"
23553 #include "frameobject.h"
23554 #include "traceback.h"
23556 static void __Pyx_AddTraceback(const char *funcname) {
23557 PyObject *py_srcfile = 0;
23558 PyObject *py_funcname = 0;
23559 PyObject *py_globals = 0;
23560 PyObject *empty_string = 0;
23561 PyCodeObject *py_code = 0;
23562 PyFrameObject *py_frame = 0;
23564 #if PY_MAJOR_VERSION < 3
23565 py_srcfile = PyString_FromString(__pyx_filename);
23567 py_srcfile = PyUnicode_FromString(__pyx_filename);
23569 if (!py_srcfile) goto bad;
23570 if (__pyx_clineno) {
23571 #if PY_MAJOR_VERSION < 3
23572 py_funcname = PyString_FromFormat( "%s (%s:%u)", funcname, __pyx_cfilenm, __pyx_clineno);
23574 py_funcname = PyUnicode_FromFormat( "%s (%s:%u)", funcname, __pyx_cfilenm, __pyx_clineno);
23578 #if PY_MAJOR_VERSION < 3
23579 py_funcname = PyString_FromString(funcname);
23581 py_funcname = PyUnicode_FromString(funcname);
23584 if (!py_funcname) goto bad;
23585 py_globals = PyModule_GetDict(__pyx_m);
23586 if (!py_globals) goto bad;
23587 #if PY_MAJOR_VERSION < 3
23588 empty_string = PyString_FromStringAndSize("", 0);
23590 empty_string = PyBytes_FromStringAndSize("", 0);
23592 if (!empty_string) goto bad;
23593 py_code = PyCode_New(
23594 0, /*int argcount,*/
23595 #if PY_MAJOR_VERSION >= 3
23596 0, /*int kwonlyargcount,*/
23598 0, /*int nlocals,*/
23599 0, /*int stacksize,*/
23601 empty_string, /*PyObject *code,*/
23602 __pyx_empty_tuple, /*PyObject *consts,*/
23603 __pyx_empty_tuple, /*PyObject *names,*/
23604 __pyx_empty_tuple, /*PyObject *varnames,*/
23605 __pyx_empty_tuple, /*PyObject *freevars,*/
23606 __pyx_empty_tuple, /*PyObject *cellvars,*/
23607 py_srcfile, /*PyObject *filename,*/
23608 py_funcname, /*PyObject *name,*/
23609 __pyx_lineno, /*int firstlineno,*/
23610 empty_string /*PyObject *lnotab*/
23612 if (!py_code) goto bad;
23613 py_frame = PyFrame_New(
23614 PyThreadState_Get(), /*PyThreadState *tstate,*/
23615 py_code, /*PyCodeObject *code,*/
23616 py_globals, /*PyObject *globals,*/
23617 0 /*PyObject *locals*/
23619 if (!py_frame) goto bad;
23620 py_frame->f_lineno = __pyx_lineno;
23621 PyTraceBack_Here(py_frame);
23623 Py_XDECREF(py_srcfile);
23624 Py_XDECREF(py_funcname);
23625 Py_XDECREF(empty_string);
23626 Py_XDECREF(py_code);
23627 Py_XDECREF(py_frame);
23630 /* Type Conversion Functions */
23632 static INLINE Py_ssize_t __pyx_PyIndex_AsSsize_t(PyObject* b) {
23634 PyObject* x = PyNumber_Index(b);
23636 ival = PyInt_AsSsize_t(x);
23641 static INLINE int __Pyx_PyObject_IsTrue(PyObject* x) {
23642 if (x == Py_True) return 1;
23643 else if (x == Py_False) return 0;
23644 else return PyObject_IsTrue(x);
23647 static INLINE PY_LONG_LONG __pyx_PyInt_AsLongLong(PyObject* x) {
23648 if (PyInt_CheckExact(x)) {
23649 return PyInt_AS_LONG(x);
23651 else if (PyLong_CheckExact(x)) {
23652 return PyLong_AsLongLong(x);
23656 PyObject* tmp = PyNumber_Int(x); if (!tmp) return (PY_LONG_LONG)-1;
23657 val = __pyx_PyInt_AsLongLong(tmp);
23663 static INLINE unsigned PY_LONG_LONG __pyx_PyInt_AsUnsignedLongLong(PyObject* x) {
23664 if (PyInt_CheckExact(x)) {
23665 long val = PyInt_AS_LONG(x);
23666 if (unlikely(val < 0)) {
23667 PyErr_SetString(PyExc_TypeError, "Negative assignment to unsigned type.");
23668 return (unsigned PY_LONG_LONG)-1;
23672 else if (PyLong_CheckExact(x)) {
23673 return PyLong_AsUnsignedLongLong(x);
23677 PyObject* tmp = PyNumber_Int(x); if (!tmp) return (PY_LONG_LONG)-1;
23678 val = __pyx_PyInt_AsUnsignedLongLong(tmp);
23685 static INLINE unsigned char __pyx_PyInt_unsigned_char(PyObject* x) {
23686 if (sizeof(unsigned char) < sizeof(long)) {
23687 long long_val = __pyx_PyInt_AsLong(x);
23688 unsigned char val = (unsigned char)long_val;
23689 if (unlikely((val != long_val) || (long_val < 0))) {
23690 PyErr_SetString(PyExc_OverflowError, "value too large to convert to unsigned char");
23691 return (unsigned char)-1;
23696 return __pyx_PyInt_AsLong(x);
23700 static INLINE unsigned short __pyx_PyInt_unsigned_short(PyObject* x) {
23701 if (sizeof(unsigned short) < sizeof(long)) {
23702 long long_val = __pyx_PyInt_AsLong(x);
23703 unsigned short val = (unsigned short)long_val;
23704 if (unlikely((val != long_val) || (long_val < 0))) {
23705 PyErr_SetString(PyExc_OverflowError, "value too large to convert to unsigned short");
23706 return (unsigned short)-1;
23711 return __pyx_PyInt_AsLong(x);
23715 static INLINE char __pyx_PyInt_char(PyObject* x) {
23716 if (sizeof(char) < sizeof(long)) {
23717 long long_val = __pyx_PyInt_AsLong(x);
23718 char val = (char)long_val;
23719 if (unlikely((val != long_val) )) {
23720 PyErr_SetString(PyExc_OverflowError, "value too large to convert to char");
23726 return __pyx_PyInt_AsLong(x);
23730 static INLINE short __pyx_PyInt_short(PyObject* x) {
23731 if (sizeof(short) < sizeof(long)) {
23732 long long_val = __pyx_PyInt_AsLong(x);
23733 short val = (short)long_val;
23734 if (unlikely((val != long_val) )) {
23735 PyErr_SetString(PyExc_OverflowError, "value too large to convert to short");
23741 return __pyx_PyInt_AsLong(x);
23745 static INLINE int __pyx_PyInt_int(PyObject* x) {
23746 if (sizeof(int) < sizeof(long)) {
23747 long long_val = __pyx_PyInt_AsLong(x);
23748 int val = (int)long_val;
23749 if (unlikely((val != long_val) )) {
23750 PyErr_SetString(PyExc_OverflowError, "value too large to convert to int");
23756 return __pyx_PyInt_AsLong(x);
23760 static INLINE long __pyx_PyInt_long(PyObject* x) {
23761 if (sizeof(long) < sizeof(long)) {
23762 long long_val = __pyx_PyInt_AsLong(x);
23763 long val = (long)long_val;
23764 if (unlikely((val != long_val) )) {
23765 PyErr_SetString(PyExc_OverflowError, "value too large to convert to long");
23771 return __pyx_PyInt_AsLong(x);
23775 static INLINE signed char __pyx_PyInt_signed_char(PyObject* x) {
23776 if (sizeof(signed char) < sizeof(long)) {
23777 long long_val = __pyx_PyInt_AsLong(x);
23778 signed char val = (signed char)long_val;
23779 if (unlikely((val != long_val) )) {
23780 PyErr_SetString(PyExc_OverflowError, "value too large to convert to signed char");
23781 return (signed char)-1;
23786 return __pyx_PyInt_AsLong(x);
23790 static INLINE signed short __pyx_PyInt_signed_short(PyObject* x) {
23791 if (sizeof(signed short) < sizeof(long)) {
23792 long long_val = __pyx_PyInt_AsLong(x);
23793 signed short val = (signed short)long_val;
23794 if (unlikely((val != long_val) )) {
23795 PyErr_SetString(PyExc_OverflowError, "value too large to convert to signed short");
23796 return (signed short)-1;
23801 return __pyx_PyInt_AsLong(x);
23805 static INLINE signed int __pyx_PyInt_signed_int(PyObject* x) {
23806 if (sizeof(signed int) < sizeof(long)) {
23807 long long_val = __pyx_PyInt_AsLong(x);
23808 signed int val = (signed int)long_val;
23809 if (unlikely((val != long_val) )) {
23810 PyErr_SetString(PyExc_OverflowError, "value too large to convert to signed int");
23811 return (signed int)-1;
23816 return __pyx_PyInt_AsLong(x);
23820 static INLINE signed long __pyx_PyInt_signed_long(PyObject* x) {
23821 if (sizeof(signed long) < sizeof(long)) {
23822 long long_val = __pyx_PyInt_AsLong(x);
23823 signed long val = (signed long)long_val;
23824 if (unlikely((val != long_val) )) {
23825 PyErr_SetString(PyExc_OverflowError, "value too large to convert to signed long");
23826 return (signed long)-1;
23831 return __pyx_PyInt_AsLong(x);
23835 static INLINE long double __pyx_PyInt_long_double(PyObject* x) {
23836 if (sizeof(long double) < sizeof(long)) {
23837 long long_val = __pyx_PyInt_AsLong(x);
23838 long double val = (long double)long_val;
23839 if (unlikely((val != long_val) )) {
23840 PyErr_SetString(PyExc_OverflowError, "value too large to convert to long double");
23841 return (long double)-1;
23846 return __pyx_PyInt_AsLong(x);