-static PyObject *__pyx_kp_14;
-static PyObject *__pyx_kp_15;
-static char __pyx_k_11[] = "account";
-static char __pyx_k_12[] = "%s";
-static char __pyx_k_13[] = "notify-added\n";
-static char __pyx_k_14[] = "notify-added";
-static char __pyx_k_15[] = "notify-added";
-static PyObject *__pyx_kp_19;
-static PyObject *__pyx_kp_20;
-static char __pyx_k_16[] = "account";
-static char __pyx_k_17[] = "%s";
-static char __pyx_k_18[] = "status-changed\n";
-static char __pyx_k_19[] = "status-changed";
-static char __pyx_k_20[] = "status-changed";
-static PyObject *__pyx_kp_24;
-static PyObject *__pyx_kp_25;
-static char __pyx_k_21[] = "account";
-static char __pyx_k_22[] = "%s";
-static char __pyx_k_23[] = "request-add\n";
-static char __pyx_k_24[] = "request-add";
-static char __pyx_k_25[] = "request-add";
-static PyObject *__pyx_kp_29;
-static PyObject *__pyx_kp_30;
-static char __pyx_k_26[] = "account";
-static char __pyx_k_27[] = "%s";
-static char __pyx_k_28[] = "request-authorize\n";
-static char __pyx_k_29[] = "request-authorize";
-static char __pyx_k_30[] = "request-authorize";
-static PyObject *__pyx_kp_34;
-static PyObject *__pyx_kp_35;
-static char __pyx_k_31[] = "account";
-static char __pyx_k_32[] = "%s";
-static char __pyx_k_33[] = "close-account-request\n";
-static char __pyx_k_34[] = "close-account-request";
-static char __pyx_k_35[] = "close-account-request";
-static PyObject *__pyx_kp_39;
-static PyObject *__pyx_kp_40;
-static PyObject *__pyx_kp_41;
-static char __pyx_k_36[] = "blist";
-static char __pyx_k_37[] = "%s";
-static char __pyx_k_38[] = "new-list\n";
-static char __pyx_k_39[] = "new-list";
-static char __pyx_k_40[] = "new-list";
-static char __pyx_k_41[] = "new-list: TODO";
-static PyObject *__pyx_kp_45;
-static PyObject *__pyx_kp_46;
-static PyObject *__pyx_kp_47;
-static PyObject *__pyx_kp_48;
-static PyObject *__pyx_kp_49;
-static PyObject *__pyx_kp_50;
-static char __pyx_k_42[] = "blist";
-static char __pyx_k_43[] = "%s";
-static char __pyx_k_44[] = "new-node\n";
-static char __pyx_k_45[] = "new-node";
-static char __pyx_k_46[] = "new-node";
-static char __pyx_k_47[] = "new-node";
-static char __pyx_k_48[] = "new-node";
-static char __pyx_k_49[] = "new-node";
-static char __pyx_k_50[] = "new-node";
-static PyObject *__pyx_kp_56;
-static char __pyx_k_51[] = "blist";
-static char __pyx_k_52[] = "%s";
-static char __pyx_k_53[] = "show\n";
-static char __pyx_k_56[] = "show: TODO";
-static char __pyx_k_57[] = "blist";
-static char __pyx_k_58[] = "%s";
-static char __pyx_k_59[] = "update\n";
-static char __pyx_k_66[] = "blist";
-static char __pyx_k_67[] = "%s";
-static char __pyx_k_68[] = "remove\n";
-static PyObject *__pyx_kp_80;
-static char __pyx_k_75[] = "blist";
-static char __pyx_k_76[] = "%s";
-static char __pyx_k_77[] = "destroy\n";
-static char __pyx_k_80[] = "destroy: TODO";
-static PyObject *__pyx_kp_84;
-static PyObject *__pyx_kp_85;
-static PyObject *__pyx_kp_86;
-static char __pyx_k_81[] = "blist";
-static char __pyx_k_82[] = "%s";
-static char __pyx_k_83[] = "set-visible\n";
-static char __pyx_k_84[] = "set-visible";
-static char __pyx_k_85[] = "set-visible";
-static char __pyx_k_86[] = "set-visible: TODO";
-static PyObject *__pyx_kp_90;
-static PyObject *__pyx_kp_91;
-static char __pyx_k_87[] = "blist";
-static char __pyx_k_88[] = "%s";
-static char __pyx_k_89[] = "request-add-buddy\n";
-static char __pyx_k_90[] = "request-add-buddy";
-static char __pyx_k_91[] = "request-add-buddy";
-static PyObject *__pyx_kp_95;
-static PyObject *__pyx_kp_96;
-static PyObject *__pyx_kp_97;
-static char __pyx_k_92[] = "blist";
-static char __pyx_k_93[] = "%s";
-static char __pyx_k_94[] = "request-add-chat\n";
-static char __pyx_k_95[] = "request-add-chat";
-static char __pyx_k_96[] = "request-add-chat";
-static char __pyx_k_97[] = "request-add-chat: TODO";
-static PyObject *__pyx_kp_101;
-static PyObject *__pyx_kp_102;
-static PyObject *__pyx_kp_103;
-static char __pyx_k_98[] = "blist";
-static char __pyx_k_99[] = "%s";
-static char __pyx_k_100[] = "request-add-group\n";
-static char __pyx_k_101[] = "request-add-chat";
-static char __pyx_k_102[] = "request-add-chat";
-static char __pyx_k_103[] = "request-add-group: TODO";
-static PyObject *__pyx_kp_107;
-static PyObject *__pyx_kp_108;
-static char __pyx_k_104[] = "connection";
-static char __pyx_k_105[] = "%s";
-static char __pyx_k_106[] = "connect-progress\n";
-static char __pyx_k_107[] = "connect-progress";
-static char __pyx_k_108[] = "connect-progress";
-static PyObject *__pyx_kp_114;
-static char __pyx_k_109[] = "connection";
-static char __pyx_k_110[] = "%s";
-static char __pyx_k_111[] = "connected\n";
-static char __pyx_k_114[] = "connected: TODO";
-static PyObject *__pyx_kp_120;
-static char __pyx_k_115[] = "connection";
-static char __pyx_k_116[] = "%s";
-static char __pyx_k_117[] = "disconnected\n";
-static char __pyx_k_120[] = "disconnected: TODO";
-static PyObject *__pyx_kp_126;
-static char __pyx_k_121[] = "connection";
-static char __pyx_k_122[] = "%s";
-static char __pyx_k_123[] = "notice\n";
-static char __pyx_k_126[] = "notice: TODO";
-static PyObject *__pyx_kp_130;
-static PyObject *__pyx_kp_131;
-static char __pyx_k_127[] = "connection";
-static char __pyx_k_128[] = "%s";
-static char __pyx_k_129[] = "report-disconnect\n";
-static char __pyx_k_130[] = "report-disconnect";
-static char __pyx_k_131[] = "report-disconnect";
-static PyObject *__pyx_kp_135;
-static PyObject *__pyx_kp_136;
-static char __pyx_k_132[] = "connection";
-static char __pyx_k_133[] = "%s";
-static char __pyx_k_134[] = "network-connected\n";
-static char __pyx_k_135[] = "network-connected";
-static char __pyx_k_136[] = "network-connected";
-static PyObject *__pyx_kp_140;
-static PyObject *__pyx_kp_141;
-static char __pyx_k_137[] = "connection";
-static char __pyx_k_138[] = "%s";
-static char __pyx_k_139[] = "network-disconnected\n";
-static char __pyx_k_140[] = "network-disconnected";
-static char __pyx_k_141[] = "network-disconnected";
-static PyObject *__pyx_kp_145;
-static PyObject *__pyx_kp_146;
-static PyObject *__pyx_kp_147;
-static PyObject *__pyx_kp_148;
-static PyObject *__pyx_kp_149;
-static PyObject *__pyx_kp_150;
-static PyObject *__pyx_kp_151;
-static PyObject *__pyx_kp_152;
-static PyObject *__pyx_kp_153;
-static PyObject *__pyx_kp_154;
-static PyObject *__pyx_kp_155;
-static PyObject *__pyx_kp_156;
-static PyObject *__pyx_kp_157;
-static PyObject *__pyx_kp_158;
-static PyObject *__pyx_kp_159;
-static PyObject *__pyx_kp_160;
-static PyObject *__pyx_kp_161;
-static PyObject *__pyx_kp_162;
-static PyObject *__pyx_kp_163;
-static char __pyx_k_142[] = "connection";
-static char __pyx_k_143[] = "%s";
-static char __pyx_k_144[] = "report-disconnect-reason\n";
-static char __pyx_k_145[] = "Network error";
-static char __pyx_k_146[] = "Invalid username";
-static char __pyx_k_147[] = "Authentication failed";
-static char __pyx_k_148[] = "Authentication impossible";
-static char __pyx_k_149[] = "No SSL support";
-static char __pyx_k_150[] = "Encryption error";
-static char __pyx_k_151[] = "Name in use";
-static char __pyx_k_152[] = "Invalid settings";
-static char __pyx_k_153[] = "Certificate not provided";
-static char __pyx_k_154[] = "Certificate untrusted";
-static char __pyx_k_155[] = "Certificate expired";
-static char __pyx_k_156[] = "Certificate not activated";
-static char __pyx_k_157[] = "Certificate hostname mismatch";
-static char __pyx_k_158[] = "Certificate fingerprint mismatch";
-static char __pyx_k_159[] = "Certificate self signed";
-static char __pyx_k_160[] = "Certificate error (other)";
-static char __pyx_k_161[] = "Other error";
-static char __pyx_k_162[] = "report-disconnect-reason";
-static char __pyx_k_163[] = "report-disconnect-reason";
-static PyObject *__pyx_kp_167;
-static PyObject *__pyx_kp_168;
-static char __pyx_k_164[] = "conversation";
-static char __pyx_k_165[] = "%s";
-static char __pyx_k_166[] = "create-conversation\n";
-static char __pyx_k_167[] = "create-conversation";
-static char __pyx_k_168[] = "create-conversation";
-static PyObject *__pyx_kp_172;
-static PyObject *__pyx_kp_173;
-static PyObject *__pyx_kp_174;
-static char __pyx_k_169[] = "conversation";
-static char __pyx_k_170[] = "%s";
-static char __pyx_k_171[] = "destroy-conversation\n";
-static char __pyx_k_172[] = "destroy-conversation";
-static char __pyx_k_173[] = "destroy-conversation";
-static char __pyx_k_174[] = "destroy-conversation: TODO";
-static PyObject *__pyx_kp_178;
-static PyObject *__pyx_kp_179;
-static PyObject *__pyx_kp_180;
-static char __pyx_k_175[] = "conversation";
-static char __pyx_k_176[] = "%s";
-static char __pyx_k_177[] = "write-chat\n";
-static char __pyx_k_178[] = "write-chat";
-static char __pyx_k_179[] = "write-chat";
-static char __pyx_k_180[] = "write-chat: TODO";
-static PyObject *__pyx_kp_184;
-static PyObject *__pyx_kp_187;
-static PyObject *__pyx_kp_188;
-static char __pyx_k_181[] = "conversation";
-static char __pyx_k_182[] = "%s";
-static char __pyx_k_183[] = "write-im\n";
-static char __pyx_k_184[] = "utf-8";
-static char __pyx_k_187[] = "write-im";
-static char __pyx_k_188[] = "write-im";
-static PyObject *__pyx_kp_192;
-static PyObject *__pyx_kp_193;
-static PyObject *__pyx_kp_194;
-static char __pyx_k_189[] = "conversation";
-static char __pyx_k_190[] = "%s";
-static char __pyx_k_191[] = "write-conv\n";
-static char __pyx_k_192[] = "write-conv";
-static char __pyx_k_193[] = "write-conv";
-static char __pyx_k_194[] = "write-conv: TODO";
-static PyObject *__pyx_kp_198;
-static PyObject *__pyx_kp_199;
-static PyObject *__pyx_kp_200;
-static char __pyx_k_195[] = "conversation";
-static char __pyx_k_196[] = "%s";
-static char __pyx_k_197[] = "chat-add-users\n";
-static char __pyx_k_198[] = "chat-add-users";
-static char __pyx_k_199[] = "chat-add-users";
-static char __pyx_k_200[] = "chat-add-users: TODO";
-static PyObject *__pyx_kp_204;
-static PyObject *__pyx_kp_205;
-static PyObject *__pyx_kp_206;
-static char __pyx_k_201[] = "conversation";
-static char __pyx_k_202[] = "%s";
-static char __pyx_k_203[] = "chat-rename-user\n";
-static char __pyx_k_204[] = "chat-rename-user";
-static char __pyx_k_205[] = "chat-rename-user";
-static char __pyx_k_206[] = "chat-rename-user: TODO";
-static PyObject *__pyx_kp_210;
-static PyObject *__pyx_kp_211;
-static PyObject *__pyx_kp_212;
-static char __pyx_k_207[] = "conversation";
-static char __pyx_k_208[] = "%s";
-static char __pyx_k_209[] = "chat-remove-users\n";
-static char __pyx_k_210[] = "chat-remove-users";
-static char __pyx_k_211[] = "chat-remove-users";
-static char __pyx_k_212[] = "chat-remove-users: TODO";
-static PyObject *__pyx_kp_216;
-static PyObject *__pyx_kp_217;
-static PyObject *__pyx_kp_218;
-static char __pyx_k_213[] = "conversation";
-static char __pyx_k_214[] = "%s";
-static char __pyx_k_215[] = "chat-update-user\n";
-static char __pyx_k_216[] = "chat-update-user";
-static char __pyx_k_217[] = "chat-update-user";
-static char __pyx_k_218[] = "chat-update-user: TODO";
-static PyObject *__pyx_kp_224;
-static char __pyx_k_219[] = "conversation";
-static char __pyx_k_220[] = "%s";
-static char __pyx_k_221[] = "present\n";
-static char __pyx_k_224[] = "present: TODO";
-static PyObject *__pyx_kp_228;
-static PyObject *__pyx_kp_229;
-static PyObject *__pyx_kp_230;
-static char __pyx_k_225[] = "conversation";
-static char __pyx_k_226[] = "%s";
-static char __pyx_k_227[] = "has-focus\n";
-static char __pyx_k_228[] = "has-focus";
-static char __pyx_k_229[] = "has-focus";
-static char __pyx_k_230[] = "has-focus: TODO";
-static PyObject *__pyx_kp_234;
-static PyObject *__pyx_kp_235;
-static PyObject *__pyx_kp_236;
-static char __pyx_k_231[] = "conversation";
-static char __pyx_k_232[] = "%s";
-static char __pyx_k_233[] = "custom-smiley-add\n";
-static char __pyx_k_234[] = "custom-smiley-add";
-static char __pyx_k_235[] = "custom-smiley-add";
-static char __pyx_k_236[] = "custom-smiley-add: TODO";
-static PyObject *__pyx_kp_240;
-static PyObject *__pyx_kp_241;
-static PyObject *__pyx_kp_242;
-static char __pyx_k_237[] = "conversation";
-static char __pyx_k_238[] = "%s";
-static char __pyx_k_239[] = "custom-smiley-write\n";
-static char __pyx_k_240[] = "custom-smiley-write";
-static char __pyx_k_241[] = "custom-smiley-write";
-static char __pyx_k_242[] = "custom-smiley-write: TODO";
-static PyObject *__pyx_kp_246;
-static PyObject *__pyx_kp_247;
-static PyObject *__pyx_kp_248;
-static char __pyx_k_243[] = "conversation";
-static char __pyx_k_244[] = "%s";
-static char __pyx_k_245[] = "custom-smiley-close\n";
-static char __pyx_k_246[] = "custom-smiley-close";
-static char __pyx_k_247[] = "custom-smiley-close";
-static char __pyx_k_248[] = "custom-smiley-close: TODO";
-static PyObject *__pyx_kp_252;
-static PyObject *__pyx_kp_253;
-static PyObject *__pyx_kp_254;
-static char __pyx_k_249[] = "conversation";
-static char __pyx_k_250[] = "%s";
-static char __pyx_k_251[] = "send-confirm\n";
-static char __pyx_k_252[] = "send-confirm";
-static char __pyx_k_253[] = "send-confirm";
-static char __pyx_k_254[] = "send-confirm: TODO";
-static PyObject *__pyx_kp_258;
-static PyObject *__pyx_kp_259;
-static PyObject *__pyx_kp_260;
-static char __pyx_k_255[] = "notify";
-static char __pyx_k_256[] = "%s";
-static char __pyx_k_257[] = "notify-message\n";
-static char __pyx_k_258[] = "notif-message";
-static char __pyx_k_259[] = "notify-message";
-static char __pyx_k_260[] = "notify-message: TODO";
-static PyObject *__pyx_kp_264;
-static PyObject *__pyx_kp_265;
-static PyObject *__pyx_kp_266;
-static char __pyx_k_261[] = "notify";
-static char __pyx_k_262[] = "%s";
-static char __pyx_k_263[] = "notify-email\n";
-static char __pyx_k_264[] = "notify-email";
-static char __pyx_k_265[] = "notify-email";
-static char __pyx_k_266[] = "notify-email: TODO";
-static PyObject *__pyx_kp_270;
-static PyObject *__pyx_kp_271;
-static PyObject *__pyx_kp_272;
-static char __pyx_k_267[] = "notify";
-static char __pyx_k_268[] = "%s";
-static char __pyx_k_269[] = "notify-emails\n";
-static char __pyx_k_270[] = "notify-emails";
-static char __pyx_k_271[] = "notify-emails";
-static char __pyx_k_272[] = "notify-emails: TODO";
-static PyObject *__pyx_kp_276;
-static PyObject *__pyx_kp_277;
-static PyObject *__pyx_kp_278;
-static char __pyx_k_273[] = "notify";
-static char __pyx_k_274[] = "%s";
-static char __pyx_k_275[] = "notify-formatted\n";
-static char __pyx_k_276[] = "notify-formatted";
-static char __pyx_k_277[] = "notify-formatted";
-static char __pyx_k_278[] = "notify-formatted: TODO";
-static PyObject *__pyx_kp_282;
-static PyObject *__pyx_kp_283;
-static PyObject *__pyx_kp_284;
-static char __pyx_k_279[] = "notify";
-static char __pyx_k_280[] = "%s";
-static char __pyx_k_281[] = "notify-searchresults\n";
-static char __pyx_k_282[] = "notify-searchresults";
-static char __pyx_k_283[] = "notify-searchresults";
-static char __pyx_k_284[] = "notify-searchresults: TODO";
-static PyObject *__pyx_kp_288;
-static PyObject *__pyx_kp_289;
-static PyObject *__pyx_kp_290;
-static char __pyx_k_285[] = "notify";
-static char __pyx_k_286[] = "%s";
-static char __pyx_k_287[] = "notify-searchresults-new-rows\n";
-static char __pyx_k_288[] = "notify-searchresults-new-rows";
-static char __pyx_k_289[] = "notify-searchresults-new-rows";
-static char __pyx_k_290[] = "notify-searchresults-new-rows: TODO";
-static PyObject *__pyx_kp_294;
-static PyObject *__pyx_kp_295;
-static PyObject *__pyx_kp_296;
-static char __pyx_k_291[] = "notify";
-static char __pyx_k_292[] = "%s";
-static char __pyx_k_293[] = "notify-userinfo\n";
-static char __pyx_k_294[] = "notify-userinfo";
-static char __pyx_k_295[] = "notify-userinfo";
-static char __pyx_k_296[] = "notify-userinfo: TODO";
-static PyObject *__pyx_kp_300;
-static PyObject *__pyx_kp_301;
-static PyObject *__pyx_kp_302;
-static char __pyx_k_297[] = "notify";
-static char __pyx_k_298[] = "%s";
-static char __pyx_k_299[] = "notify-uri\n";
-static char __pyx_k_300[] = "notify-uri";
-static char __pyx_k_301[] = "notify-uri";
-static char __pyx_k_302[] = "notify-uri: TODO";
-static PyObject *__pyx_kp_306;
-static PyObject *__pyx_kp_307;
-static PyObject *__pyx_kp_308;
-static char __pyx_k_303[] = "notify";
-static char __pyx_k_304[] = "%s";
-static char __pyx_k_305[] = "close-notify\n";
-static char __pyx_k_306[] = "close-notify";
-static char __pyx_k_307[] = "close-notify";
-static char __pyx_k_308[] = "close-notify: TODO";
-static PyObject *__pyx_kp_312;
-static PyObject *__pyx_kp_313;
-static PyObject *__pyx_kp_314;
-static char __pyx_k_309[] = "request";
-static char __pyx_k_310[] = "%s";
-static char __pyx_k_311[] = "request-input\n";
-static char __pyx_k_312[] = "request-input";
-static char __pyx_k_313[] = "request-input";
-static char __pyx_k_314[] = "request-input: TODO";
-static PyObject *__pyx_kp_318;
-static PyObject *__pyx_kp_319;
-static PyObject *__pyx_kp_320;
-static char __pyx_k_315[] = "request";
-static char __pyx_k_316[] = "%s";
-static char __pyx_k_317[] = "request-choice\n";
-static char __pyx_k_318[] = "request-choice";
-static char __pyx_k_319[] = "request-choice";
-static char __pyx_k_320[] = "request-choice: TODO";
-static PyObject *__pyx_kp_324;
-static PyObject *__pyx_kp_325;
-static PyObject *__pyx_kp_326;
-static char __pyx_k_321[] = "request";
-static char __pyx_k_322[] = "%s";
-static char __pyx_k_323[] = "request-action\n";
-static char __pyx_k_324[] = "request-action";
-static char __pyx_k_325[] = "request-action";
-static char __pyx_k_326[] = "request-action: TODo";
-static PyObject *__pyx_kp_330;
-static PyObject *__pyx_kp_331;
-static PyObject *__pyx_kp_332;
-static char __pyx_k_327[] = "request";
-static char __pyx_k_328[] = "%s";
-static char __pyx_k_329[] = "request-fields\n";
-static char __pyx_k_330[] = "request-fields";
-static char __pyx_k_331[] = "request-fields";
-static char __pyx_k_332[] = "request-fields: TODO";
-static PyObject *__pyx_kp_336;
-static PyObject *__pyx_kp_337;
-static PyObject *__pyx_kp_338;
-static char __pyx_k_333[] = "request";
-static char __pyx_k_334[] = "%s";
-static char __pyx_k_335[] = "request-file\n";
-static char __pyx_k_336[] = "request-file";
-static char __pyx_k_337[] = "request-file";
-static char __pyx_k_338[] = "request-file: TODO";
-static PyObject *__pyx_kp_342;
-static PyObject *__pyx_kp_343;
-static PyObject *__pyx_kp_344;
-static char __pyx_k_339[] = "request";
-static char __pyx_k_340[] = "%s";
-static char __pyx_k_341[] = "close-request\n";
-static char __pyx_k_342[] = "close-request";
-static char __pyx_k_343[] = "close-request";
-static char __pyx_k_344[] = "close-request: TODO";
-static PyObject *__pyx_kp_348;
-static PyObject *__pyx_kp_349;
-static PyObject *__pyx_kp_350;
-static char __pyx_k_345[] = "request";
-static char __pyx_k_346[] = "%s";
-static char __pyx_k_347[] = "request-folder\n";
-static char __pyx_k_348[] = "request-folder";
-static char __pyx_k_349[] = "request-folder";
-static char __pyx_k_350[] = "request-folder: TODO";
-static PyObject *__pyx_kp_351;
-static PyObject *__pyx_kp_352;
-static char __pyx_k_351[] = "signed-on";
-static char __pyx_k_352[] = "signed-on";
-static PyObject *__pyx_kp_353;
-static PyObject *__pyx_kp_354;
-static char __pyx_k_353[] = "signed-off";
-static char __pyx_k_354[] = "signed-off";
-static PyObject *__pyx_kp_355;
-static PyObject *__pyx_kp_356;
-static PyObject *__pyx_kp_357;
-static PyObject *__pyx_kp_358;
-static PyObject *__pyx_kp_359;
-static PyObject *__pyx_kp_360;
-static PyObject *__pyx_kp_361;
-static PyObject *__pyx_kp_362;
-static PyObject *__pyx_kp_363;
-static PyObject *__pyx_kp_364;
-static PyObject *__pyx_kp_365;
-static PyObject *__pyx_kp_366;
-static PyObject *__pyx_kp_367;
-static PyObject *__pyx_kp_368;
-static PyObject *__pyx_kp_369;
-static PyObject *__pyx_kp_370;
-static PyObject *__pyx_kp_371;
-static PyObject *__pyx_kp_372;
-static PyObject *__pyx_kp_373;
-static char __pyx_k_355[] = "Network error";
-static char __pyx_k_356[] = "Invalid username";
-static char __pyx_k_357[] = "Authentication failed";
-static char __pyx_k_358[] = "Authentication impossible";
-static char __pyx_k_359[] = "No SSL support";
-static char __pyx_k_360[] = "Encryption error";
-static char __pyx_k_361[] = "Name in use";
-static char __pyx_k_362[] = "Invalid settings";
-static char __pyx_k_363[] = "SSL certificate not provided";
-static char __pyx_k_364[] = "SSL certificate untrusted";
-static char __pyx_k_365[] = "SSL certificate expired";
-static char __pyx_k_366[] = "SSL certificate not activated";
-static char __pyx_k_367[] = "SSL certificate hostname mismatch";
-static char __pyx_k_368[] = "SSL certificate fingerprint mismatch";
-static char __pyx_k_369[] = "SSL certificate self signed";
-static char __pyx_k_370[] = "SSL certificate other error";
-static char __pyx_k_371[] = "Other error";
-static char __pyx_k_372[] = "connection-error";
-static char __pyx_k_373[] = "connection-error";
-static PyObject *__pyx_kp_374;
-static PyObject *__pyx_kp_375;
-static char __pyx_k_374[] = "buddy-signed-on";
-static char __pyx_k_375[] = "buddy-signed-on";
-static PyObject *__pyx_kp_376;
-static PyObject *__pyx_kp_377;
-static char __pyx_k_376[] = "buddy-signed-off";
-static char __pyx_k_377[] = "buddy-signed-off";
-static PyObject *__pyx_kp_378;
-static PyObject *__pyx_kp_379;
-static char __pyx_k_378[] = "receiving-im-msg";
-static char __pyx_k_379[] = "receiving-im-msg";
-static PyObject *__pyx_kp_380;
-static PyObject *__pyx_kp_381;
-static char __pyx_k_380[] = "jabber-receiving-xmlnode";
-static char __pyx_k_381[] = "jabber-receiving-xmlnode";
-static char __pyx_k_382[] = "core_ui_ops";
-static char __pyx_k_383[] = "%s";
-static char __pyx_k_384[] = "ui_prefs_init\n";
-static char __pyx_k_385[] = "/carman";
-static char __pyx_k_386[] = "core_ui_ops";
-static char __pyx_k_387[] = "%s";
-static char __pyx_k_388[] = "debug_ui_init\n";
-static char __pyx_k_389[] = "core_ui_ops";
-static char __pyx_k_390[] = "%s";
-static char __pyx_k_391[] = "ui_init\n";
-static char __pyx_k_392[] = "core_ui_ops";
-static char __pyx_k_393[] = "%s";
-static char __pyx_k_394[] = "quit\n";
-static char __pyx_k_395[] = "name";
-static char __pyx_k_396[] = "version";
-static char __pyx_k_397[] = "website";
-static char __pyx_k_398[] = "dev_website";
-static char __pyx_k_399[] = "main";
-static char __pyx_k_400[] = "%s";
-static char __pyx_k_401[] = "libpurple initialization failed.\n";
-static char __pyx_k_402[] = "main";
-static char __pyx_k_403[] = "%s";
-static char __pyx_k_404[] = "Another instance of libpurple is already running.\n";
-static PyObject *__pyx_kp_412;
-static PyObject *__pyx_kp_414;
-static PyObject *__pyx_kp_416;
-static PyObject *__pyx_kp_418;
-static PyObject *__pyx_kp_420;
-static PyObject *__pyx_kp_422;
-static PyObject *__pyx_kp_424;
-static char __pyx_k_411[] = "prpl-jabber";
-static char __pyx_k_412[] = "signed-on";
-static char __pyx_k_413[] = "signed-on";
-static char __pyx_k_414[] = "signed-off";
-static char __pyx_k_415[] = "signed-off";
-static char __pyx_k_416[] = "connection-error";
-static char __pyx_k_417[] = "connection-error";
-static char __pyx_k_418[] = "buddy-signed-on";
-static char __pyx_k_419[] = "buddy-signed-on";
-static char __pyx_k_420[] = "buddy-signed-off";
-static char __pyx_k_421[] = "buddy-signed-off";
-static char __pyx_k_422[] = "receiving-im-msg";
-static char __pyx_k_423[] = "receiving-im-msg";
-static char __pyx_k_424[] = "jabber-receiving-xmlnode";
-static char __pyx_k_425[] = "jabber-receiving-xmlnode";
-static char __pyx_k_426[] = "";
-static char __pyx_k_449[] = "";
-static char __pyx_k_450[] = "message";
-static char __pyx_k_454[] = "message";
-static char __pyx_k_455[] = "/purple/savedstatus/idleaway";
-static char __pyx_k_456[] = "message";
-static PyObject *__pyx_kp_457;
-static char __pyx_k_457[] = "utf-8";
-static char __pyx_k_458[] = "message";
-
-/* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":31
- * cdef void *c_request_authorize_user_data = NULL
- *
- * def call_authorize_cb(): # <<<<<<<<<<<<<<
- * global c_request_authorize_authorize_cb
- * global c_request_authorize_deny_cb
- */
-
-static PyObject *__pyx_pf_6purple_call_authorize_cb(PyObject *__pyx_self, PyObject *unused); /*proto*/
-static PyObject *__pyx_pf_6purple_call_authorize_cb(PyObject *__pyx_self, PyObject *unused) {
- PyObject *__pyx_r;
- int __pyx_1;
- __pyx_self = __pyx_self;
-
- /* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":36
- * global c_request_authorize_user_data
- *
- * if c_request_authorize_authorize_cb: # <<<<<<<<<<<<<<
- * c_request_authorize_authorize_cb(c_request_authorize_user_data)
- * c_request_authorize_authorize_cb = NULL
- */
- __pyx_1 = (__pyx_v_6purple_c_request_authorize_authorize_cb != 0);
- if (__pyx_1) {
-
- /* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":37
- *
- * if c_request_authorize_authorize_cb:
- * c_request_authorize_authorize_cb(c_request_authorize_user_data) # <<<<<<<<<<<<<<
- * c_request_authorize_authorize_cb = NULL
- * c_request_authorize_deny_cb = NULL
- */
- __pyx_v_6purple_c_request_authorize_authorize_cb(__pyx_v_6purple_c_request_authorize_user_data);
- goto __pyx_L5;
- }
- __pyx_L5:;
-
- /* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":38
- * if c_request_authorize_authorize_cb:
- * c_request_authorize_authorize_cb(c_request_authorize_user_data)
- * c_request_authorize_authorize_cb = NULL # <<<<<<<<<<<<<<
- * c_request_authorize_deny_cb = NULL
- * c_request_authorize_user_data = NULL
- */
- __pyx_v_6purple_c_request_authorize_authorize_cb = NULL;
-
- /* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":39
- * c_request_authorize_authorize_cb(c_request_authorize_user_data)
- * c_request_authorize_authorize_cb = NULL
- * c_request_authorize_deny_cb = NULL # <<<<<<<<<<<<<<
- * c_request_authorize_user_data = NULL
- *
- */
- __pyx_v_6purple_c_request_authorize_deny_cb = NULL;
-
- /* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":40
- * c_request_authorize_authorize_cb = NULL
- * c_request_authorize_deny_cb = NULL
- * c_request_authorize_user_data = NULL # <<<<<<<<<<<<<<
- *
- * def call_deny_cb():
- */
- __pyx_v_6purple_c_request_authorize_user_data = NULL;
-
- __pyx_r = Py_None; Py_INCREF(Py_None);
- return __pyx_r;
-}
-
-/* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":42
- * c_request_authorize_user_data = NULL
- *
- * def call_deny_cb(): # <<<<<<<<<<<<<<
- * global c_request_authorize_authorize_cb
- * global c_request_authorize_deny_cb
- */
-
-static PyObject *__pyx_pf_6purple_call_deny_cb(PyObject *__pyx_self, PyObject *unused); /*proto*/
-static PyObject *__pyx_pf_6purple_call_deny_cb(PyObject *__pyx_self, PyObject *unused) {
- PyObject *__pyx_r;
- int __pyx_1;
- __pyx_self = __pyx_self;
-
- /* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":47
- * global c_request_authorize_user_data
- *
- * if c_request_authorize_deny_cb: # <<<<<<<<<<<<<<
- * c_request_authorize_deny_cb(c_request_authorize_user_data)
- * c_request_authorize_authorize_cb = NULL
- */
- __pyx_1 = (__pyx_v_6purple_c_request_authorize_deny_cb != 0);
- if (__pyx_1) {
-
- /* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":48
- *
- * if c_request_authorize_deny_cb:
- * c_request_authorize_deny_cb(c_request_authorize_user_data) # <<<<<<<<<<<<<<
- * c_request_authorize_authorize_cb = NULL
- * c_request_authorize_deny_cb = NULL
- */
- __pyx_v_6purple_c_request_authorize_deny_cb(__pyx_v_6purple_c_request_authorize_user_data);
- goto __pyx_L5;
- }
- __pyx_L5:;
-
- /* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":49
- * if c_request_authorize_deny_cb:
- * c_request_authorize_deny_cb(c_request_authorize_user_data)
- * c_request_authorize_authorize_cb = NULL # <<<<<<<<<<<<<<
- * c_request_authorize_deny_cb = NULL
- * c_request_authorize_user_data = NULL
- */
- __pyx_v_6purple_c_request_authorize_authorize_cb = NULL;
-
- /* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":50
- * c_request_authorize_deny_cb(c_request_authorize_user_data)
- * c_request_authorize_authorize_cb = NULL
- * c_request_authorize_deny_cb = NULL # <<<<<<<<<<<<<<
- * c_request_authorize_user_data = NULL
- *
- */
- __pyx_v_6purple_c_request_authorize_deny_cb = NULL;
-
- /* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":51
- * c_request_authorize_authorize_cb = NULL
- * c_request_authorize_deny_cb = NULL
- * c_request_authorize_user_data = NULL # <<<<<<<<<<<<<<
- *
- * cdef void notify_added(account.PurpleAccount *c_account, \
- */
- __pyx_v_6purple_c_request_authorize_user_data = NULL;
-
- __pyx_r = Py_None; Py_INCREF(Py_None);
- return __pyx_r;
-}
-
-/* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":53
- * c_request_authorize_user_data = NULL
- *
- * cdef void notify_added(account.PurpleAccount *c_account, \ # <<<<<<<<<<<<<<
- * const_char *remote_user, const_char *id, const_char *alias, \
- * const_char *c_message):
- */
-
-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) {
- PurpleConnection *__pyx_v_gc;
- PyObject *__pyx_v_remote_alias;
- PyObject *__pyx_v_username;
- PyObject *__pyx_v_protocol_id;
- PyObject *__pyx_v_message;
- int __pyx_1;
- PyObject *__pyx_2 = 0;
- PyObject *__pyx_3 = 0;
- PyObject *__pyx_4 = 0;
- PyObject *__pyx_5 = 0;
- __pyx_v_remote_alias = Py_None; Py_INCREF(Py_None);
- __pyx_v_username = Py_None; Py_INCREF(Py_None);
- __pyx_v_protocol_id = Py_None; Py_INCREF(Py_None);
- __pyx_v_message = Py_None; Py_INCREF(Py_None);
-
- /* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":61
- * """
- * cdef connection.PurpleConnection *gc = \
- * account.purple_account_get_connection(c_account) # <<<<<<<<<<<<<<
- *
- * debug.purple_debug_info("account", "%s", "notify-added\n")
- */
- __pyx_v_gc = purple_account_get_connection(__pyx_v_c_account);
-
- /* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":63
- * account.purple_account_get_connection(c_account)
- *
- * debug.purple_debug_info("account", "%s", "notify-added\n") # <<<<<<<<<<<<<<
- *
- * if alias:
- */
- purple_debug_info(__pyx_k_11, __pyx_k_12, __pyx_k_13);
-
- /* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":65
- * debug.purple_debug_info("account", "%s", "notify-added\n")
- *
- * if alias: # <<<<<<<<<<<<<<
- * remote_alias = <char *> alias
- * else:
- */
- __pyx_1 = (__pyx_v_alias != 0);
- if (__pyx_1) {
-
- /* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":66
- *
- * if alias:
- * remote_alias = <char *> alias # <<<<<<<<<<<<<<
- * else:
- * remote_alias = None
- */
- __pyx_2 = __Pyx_PyBytes_FromString(((char *)__pyx_v_alias)); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 66; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
- Py_DECREF(__pyx_v_remote_alias);
- __pyx_v_remote_alias = __pyx_2;
- __pyx_2 = 0;
- goto __pyx_L3;
- }
- /*else*/ {
-
- /* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":68
- * remote_alias = <char *> alias
- * else:
- * remote_alias = None # <<<<<<<<<<<<<<
- *
- * if id:
- */
- Py_INCREF(Py_None);
- Py_DECREF(__pyx_v_remote_alias);
- __pyx_v_remote_alias = Py_None;
- }
- __pyx_L3:;
-
- /* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":70
- * remote_alias = None
- *
- * if id: # <<<<<<<<<<<<<<
- * username = <char *> id
- * elif connection.purple_connection_get_display_name(gc) != NULL:
- */
- __pyx_1 = (__pyx_v_id != 0);
- if (__pyx_1) {
-
- /* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":71
- *
- * if id:
- * username = <char *> id # <<<<<<<<<<<<<<
- * elif connection.purple_connection_get_display_name(gc) != NULL:
- * username = connection.purple_connection_get_display_name(gc)
- */
- __pyx_2 = __Pyx_PyBytes_FromString(((char *)__pyx_v_id)); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 71; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
- Py_DECREF(__pyx_v_username);
- __pyx_v_username = __pyx_2;
- __pyx_2 = 0;
- goto __pyx_L4;
- }
-
- /* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":72
- * if id:
- * username = <char *> id
- * elif connection.purple_connection_get_display_name(gc) != NULL: # <<<<<<<<<<<<<<
- * username = connection.purple_connection_get_display_name(gc)
- * else:
- */
- __pyx_1 = (purple_connection_get_display_name(__pyx_v_gc) != NULL);
- if (__pyx_1) {
-
- /* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":73
- * username = <char *> id
- * elif connection.purple_connection_get_display_name(gc) != NULL:
- * username = connection.purple_connection_get_display_name(gc) # <<<<<<<<<<<<<<
- * else:
- * username = account.purple_account_get_username(c_account)
- */
- __pyx_2 = __Pyx_PyBytes_FromString(purple_connection_get_display_name(__pyx_v_gc)); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 73; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
- Py_DECREF(__pyx_v_username);
- __pyx_v_username = __pyx_2;
- __pyx_2 = 0;
- goto __pyx_L4;
- }
- /*else*/ {
-
- /* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":75
- * username = connection.purple_connection_get_display_name(gc)
- * else:
- * username = account.purple_account_get_username(c_account) # <<<<<<<<<<<<<<
- *
- * protocol_id = account.purple_account_get_protocol_id(c_account)
- */
- __pyx_2 = __Pyx_PyBytes_FromString(purple_account_get_username(__pyx_v_c_account)); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 75; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
- Py_DECREF(__pyx_v_username);
- __pyx_v_username = __pyx_2;
- __pyx_2 = 0;
- }
- __pyx_L4:;
-
- /* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":77
- * username = account.purple_account_get_username(c_account)
- *
- * protocol_id = account.purple_account_get_protocol_id(c_account) # <<<<<<<<<<<<<<
- *
- * if c_message:
- */
- __pyx_2 = __Pyx_PyBytes_FromString(purple_account_get_protocol_id(__pyx_v_c_account)); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
- Py_DECREF(__pyx_v_protocol_id);
- __pyx_v_protocol_id = __pyx_2;
- __pyx_2 = 0;
-
- /* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":79
- * protocol_id = account.purple_account_get_protocol_id(c_account)
- *
- * if c_message: # <<<<<<<<<<<<<<
- * message = <char *> c_message
- * else:
- */
- __pyx_1 = (__pyx_v_c_message != 0);
- if (__pyx_1) {
-
- /* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":80
- *
- * if c_message:
- * message = <char *> c_message # <<<<<<<<<<<<<<
- * else:
- * message = None
- */
- __pyx_2 = __Pyx_PyBytes_FromString(((char *)__pyx_v_c_message)); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 80; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
- Py_DECREF(__pyx_v_message);
- __pyx_v_message = __pyx_2;
- __pyx_2 = 0;
- goto __pyx_L5;
- }
- /*else*/ {
-
- /* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":82
- * message = <char *> c_message
- * else:
- * message = None # <<<<<<<<<<<<<<
- *
- * if account_cbs.has_key("notify-added"):
- */
- Py_INCREF(Py_None);
- Py_DECREF(__pyx_v_message);
- __pyx_v_message = Py_None;
- }
- __pyx_L5:;
-
- /* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":84
- * message = None
- *
- * if account_cbs.has_key("notify-added"): # <<<<<<<<<<<<<<
- * (<object> account_cbs["notify-added"])( \
- * (<char *> remote_user, remote_alias), \
- */
- __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_account_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 84; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
- __pyx_3 = PyObject_GetAttr(__pyx_2, __pyx_kp_has_key); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 84; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
- Py_DECREF(__pyx_2); __pyx_2 = 0;
- __pyx_2 = PyTuple_New(1); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 84; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
- Py_INCREF(__pyx_kp_14);
- PyTuple_SET_ITEM(__pyx_2, 0, __pyx_kp_14);
- __pyx_4 = PyObject_Call(__pyx_3, ((PyObject *)__pyx_2), NULL); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 84; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
- Py_DECREF(__pyx_3); __pyx_3 = 0;
- Py_DECREF(((PyObject *)__pyx_2)); __pyx_2 = 0;
- __pyx_1 = __Pyx_PyObject_IsTrue(__pyx_4); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 84; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
- Py_DECREF(__pyx_4); __pyx_4 = 0;
- if (__pyx_1) {
-
- /* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":85
- *
- * if account_cbs.has_key("notify-added"):
- * (<object> account_cbs["notify-added"])( \ # <<<<<<<<<<<<<<
- * (<char *> remote_user, remote_alias), \
- * (username, protocol_id), message)
- */
- __pyx_3 = __Pyx_GetName(__pyx_m, __pyx_kp_account_cbs); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 85; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
- __pyx_2 = PyObject_GetItem(__pyx_3, __pyx_kp_15); if (!__pyx_2) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 85; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
- Py_DECREF(__pyx_3); __pyx_3 = 0;
-
- /* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":86
- * if account_cbs.has_key("notify-added"):
- * (<object> account_cbs["notify-added"])( \
- * (<char *> remote_user, remote_alias), \ # <<<<<<<<<<<<<<
- * (username, protocol_id), message)
- *
- */
- __pyx_4 = __Pyx_PyBytes_FromString(((char *)__pyx_v_remote_user)); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 86; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
- __pyx_3 = PyTuple_New(2); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 86; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
- PyTuple_SET_ITEM(__pyx_3, 0, __pyx_4);
- Py_INCREF(__pyx_v_remote_alias);
- PyTuple_SET_ITEM(__pyx_3, 1, __pyx_v_remote_alias);
- __pyx_4 = 0;
-
- /* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":87
- * (<object> account_cbs["notify-added"])( \
- * (<char *> remote_user, remote_alias), \
- * (username, protocol_id), message) # <<<<<<<<<<<<<<
- *
- * cdef void status_changed(account.PurpleAccount *c_account, \
- */
- __pyx_4 = PyTuple_New(2); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 87; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
- Py_INCREF(__pyx_v_username);
- PyTuple_SET_ITEM(__pyx_4, 0, __pyx_v_username);
- Py_INCREF(__pyx_v_protocol_id);
- PyTuple_SET_ITEM(__pyx_4, 1, __pyx_v_protocol_id);
- __pyx_5 = PyTuple_New(3); if (unlikely(!__pyx_5)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 85; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
- PyTuple_SET_ITEM(__pyx_5, 0, ((PyObject *)__pyx_3));
- PyTuple_SET_ITEM(__pyx_5, 1, ((PyObject *)__pyx_4));
- Py_INCREF(__pyx_v_message);
- PyTuple_SET_ITEM(__pyx_5, 2, __pyx_v_message);
- __pyx_3 = 0;
- __pyx_4 = 0;
- __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_5), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 85; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
- Py_DECREF(__pyx_2); __pyx_2 = 0;
- Py_DECREF(((PyObject *)__pyx_5)); __pyx_5 = 0;
- Py_DECREF(__pyx_3); __pyx_3 = 0;
- goto __pyx_L6;
- }
- __pyx_L6:;
-
- goto __pyx_L0;
- __pyx_L1_error:;
- Py_XDECREF(__pyx_2);
- Py_XDECREF(__pyx_3);
- Py_XDECREF(__pyx_4);
- Py_XDECREF(__pyx_5);
- __Pyx_WriteUnraisable("purple.notify_added");
- __pyx_L0:;
- Py_DECREF(__pyx_v_remote_alias);
- Py_DECREF(__pyx_v_username);
- Py_DECREF(__pyx_v_protocol_id);
- Py_DECREF(__pyx_v_message);
-}
-
-/* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":89
- * (username, protocol_id), message)
- *
- * cdef void status_changed(account.PurpleAccount *c_account, \ # <<<<<<<<<<<<<<
- * status.PurpleStatus *c_status):
- * """
- */
-
-static void __pyx_f_6purple_status_changed(PurpleAccount *__pyx_v_c_account, PurpleStatus *__pyx_v_c_status) {
- PyObject *__pyx_v_username;
- PyObject *__pyx_v_protocol_id;
- PyObject *__pyx_v_status_id;
- PyObject *__pyx_v_status_name;
- PyObject *__pyx_1 = 0;
- PyObject *__pyx_2 = 0;
- PyObject *__pyx_3 = 0;
- int __pyx_4;
- __pyx_v_username = Py_None; Py_INCREF(Py_None);
- __pyx_v_protocol_id = Py_None; Py_INCREF(Py_None);
- __pyx_v_status_id = Py_None; Py_INCREF(Py_None);
- __pyx_v_status_name = Py_None; Py_INCREF(Py_None);
-
- /* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":94
- * This account's status changed.
- * """
- * debug.purple_debug_info("account", "%s", "status-changed\n") # <<<<<<<<<<<<<<
- *
- * username = account.purple_account_get_username(c_account)
- */
- purple_debug_info(__pyx_k_16, __pyx_k_17, __pyx_k_18);
-
- /* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":96
- * debug.purple_debug_info("account", "%s", "status-changed\n")
- *
- * username = account.purple_account_get_username(c_account) # <<<<<<<<<<<<<<
- * protocol_id = account.purple_account_get_protocol_id(c_account)
- *
- */
- __pyx_1 = __Pyx_PyBytes_FromString(purple_account_get_username(__pyx_v_c_account)); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 96; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
- Py_DECREF(__pyx_v_username);
- __pyx_v_username = __pyx_1;
- __pyx_1 = 0;
-
- /* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":97
- *
- * username = account.purple_account_get_username(c_account)
- * protocol_id = account.purple_account_get_protocol_id(c_account) # <<<<<<<<<<<<<<
- *
- * status_id = status.purple_status_get_id(c_status)
- */
- __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 = 97; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
- Py_DECREF(__pyx_v_protocol_id);
- __pyx_v_protocol_id = __pyx_1;
- __pyx_1 = 0;
-
- /* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":99
- * protocol_id = account.purple_account_get_protocol_id(c_account)
- *
- * status_id = status.purple_status_get_id(c_status) # <<<<<<<<<<<<<<
- * status_name = status.purple_status_get_name(c_status)
- *
- */
- __pyx_1 = __Pyx_PyBytes_FromString(purple_status_get_id(__pyx_v_c_status)); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 99; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
- Py_DECREF(__pyx_v_status_id);
- __pyx_v_status_id = __pyx_1;
- __pyx_1 = 0;
-
- /* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":100
- *
- * status_id = status.purple_status_get_id(c_status)
- * status_name = status.purple_status_get_name(c_status) # <<<<<<<<<<<<<<
- *
- * if account_cbs.has_key("status-changed"):
- */
- __pyx_1 = __Pyx_PyBytes_FromString(purple_status_get_name(__pyx_v_c_status)); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 100; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
- Py_DECREF(__pyx_v_status_name);
- __pyx_v_status_name = __pyx_1;
- __pyx_1 = 0;
-
- /* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":102
- * status_name = status.purple_status_get_name(c_status)
- *
- * if account_cbs.has_key("status-changed"): # <<<<<<<<<<<<<<
- * (<object> account_cbs["status-changed"])( \
- * (username, protocol_id), status_id, status_name)
- */
- __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_account_cbs); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 102; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
- __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_has_key); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 102; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
- Py_DECREF(__pyx_1); __pyx_1 = 0;
- __pyx_1 = PyTuple_New(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 102; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
- Py_INCREF(__pyx_kp_19);
- PyTuple_SET_ITEM(__pyx_1, 0, __pyx_kp_19);
- __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 102; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
- Py_DECREF(__pyx_2); __pyx_2 = 0;
- Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
- __pyx_4 = __Pyx_PyObject_IsTrue(__pyx_3); if (unlikely(__pyx_4 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 102; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
- Py_DECREF(__pyx_3); __pyx_3 = 0;
- if (__pyx_4) {
-
- /* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":103
- *
- * if account_cbs.has_key("status-changed"):
- * (<object> account_cbs["status-changed"])( \ # <<<<<<<<<<<<<<
- * (username, protocol_id), status_id, status_name)
- *
- */
- __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_account_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 103; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
- __pyx_1 = PyObject_GetItem(__pyx_2, __pyx_kp_20); if (!__pyx_1) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 103; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
- Py_DECREF(__pyx_2); __pyx_2 = 0;
-
- /* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":104
- * if account_cbs.has_key("status-changed"):
- * (<object> account_cbs["status-changed"])( \
- * (username, protocol_id), status_id, status_name) # <<<<<<<<<<<<<<
- *
- * cdef void request_add(account.PurpleAccount *c_account, \
- */
- __pyx_3 = PyTuple_New(2); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 104; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
- Py_INCREF(__pyx_v_username);
- PyTuple_SET_ITEM(__pyx_3, 0, __pyx_v_username);
- Py_INCREF(__pyx_v_protocol_id);
- PyTuple_SET_ITEM(__pyx_3, 1, __pyx_v_protocol_id);
- __pyx_2 = PyTuple_New(3); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 103; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
- PyTuple_SET_ITEM(__pyx_2, 0, ((PyObject *)__pyx_3));
- Py_INCREF(__pyx_v_status_id);
- PyTuple_SET_ITEM(__pyx_2, 1, __pyx_v_status_id);
- Py_INCREF(__pyx_v_status_name);
- PyTuple_SET_ITEM(__pyx_2, 2, __pyx_v_status_name);
- __pyx_3 = 0;
- __pyx_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_2), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 103; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
- Py_DECREF(__pyx_1); __pyx_1 = 0;
- Py_DECREF(((PyObject *)__pyx_2)); __pyx_2 = 0;
- Py_DECREF(__pyx_3); __pyx_3 = 0;
- goto __pyx_L3;
- }
- __pyx_L3:;
-
- goto __pyx_L0;
- __pyx_L1_error:;
- Py_XDECREF(__pyx_1);
- Py_XDECREF(__pyx_2);
- Py_XDECREF(__pyx_3);
- __Pyx_WriteUnraisable("purple.status_changed");
- __pyx_L0:;
- Py_DECREF(__pyx_v_username);
- Py_DECREF(__pyx_v_protocol_id);
- Py_DECREF(__pyx_v_status_id);
- Py_DECREF(__pyx_v_status_name);
-}
-
-/* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":106
- * (username, protocol_id), status_id, status_name)
- *
- * cdef void request_add(account.PurpleAccount *c_account, \ # <<<<<<<<<<<<<<
- * const_char *remote_user, const_char *id, const_char *alias, \
- * const_char *c_message):
- */
-
-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) {
- PurpleConnection *__pyx_v_gc;
- PyObject *__pyx_v_remote_alias;
- PyObject *__pyx_v_username;
- PyObject *__pyx_v_protocol_id;
- PyObject *__pyx_v_message;
- int __pyx_1;
- PyObject *__pyx_2 = 0;
- PyObject *__pyx_3 = 0;
- PyObject *__pyx_4 = 0;
- PyObject *__pyx_5 = 0;
- __pyx_v_remote_alias = Py_None; Py_INCREF(Py_None);
- __pyx_v_username = Py_None; Py_INCREF(Py_None);
- __pyx_v_protocol_id = Py_None; Py_INCREF(Py_None);
- __pyx_v_message = Py_None; Py_INCREF(Py_None);
-
- /* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":113
- * """
- * cdef connection.PurpleConnection *gc = \
- * account.purple_account_get_connection(c_account) # <<<<<<<<<<<<<<
- *
- * debug.purple_debug_info("account", "%s", "request-add\n")
- */
- __pyx_v_gc = purple_account_get_connection(__pyx_v_c_account);
-
- /* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":115
- * account.purple_account_get_connection(c_account)
- *
- * debug.purple_debug_info("account", "%s", "request-add\n") # <<<<<<<<<<<<<<
- *
- * if alias:
- */
- purple_debug_info(__pyx_k_21, __pyx_k_22, __pyx_k_23);
-
- /* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":117
- * debug.purple_debug_info("account", "%s", "request-add\n")
- *
- * if alias: # <<<<<<<<<<<<<<
- * remote_alias = <char *> alias
- * else:
- */
- __pyx_1 = (__pyx_v_alias != 0);
- if (__pyx_1) {
-
- /* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":118
- *
- * if alias:
- * remote_alias = <char *> alias # <<<<<<<<<<<<<<
- * else:
- * remote_alias = None
- */
- __pyx_2 = __Pyx_PyBytes_FromString(((char *)__pyx_v_alias)); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 118; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
- Py_DECREF(__pyx_v_remote_alias);
- __pyx_v_remote_alias = __pyx_2;
- __pyx_2 = 0;
- goto __pyx_L3;
- }
- /*else*/ {
-
- /* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":120
- * remote_alias = <char *> alias
- * else:
- * remote_alias = None # <<<<<<<<<<<<<<
- *
- * if id:
- */
- Py_INCREF(Py_None);
- Py_DECREF(__pyx_v_remote_alias);
- __pyx_v_remote_alias = Py_None;
- }
- __pyx_L3:;
-
- /* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":122
- * remote_alias = None
- *
- * if id: # <<<<<<<<<<<<<<
- * username = <char *> id
- * elif connection.purple_connection_get_display_name(gc) != NULL:
- */
- __pyx_1 = (__pyx_v_id != 0);
- if (__pyx_1) {
-
- /* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":123
- *
- * if id:
- * username = <char *> id # <<<<<<<<<<<<<<
- * elif connection.purple_connection_get_display_name(gc) != NULL:
- * username = connection.purple_connection_get_display_name(gc)
- */
- __pyx_2 = __Pyx_PyBytes_FromString(((char *)__pyx_v_id)); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 123; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
- Py_DECREF(__pyx_v_username);
- __pyx_v_username = __pyx_2;
- __pyx_2 = 0;
- goto __pyx_L4;
- }
-
- /* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":124
- * if id:
- * username = <char *> id
- * elif connection.purple_connection_get_display_name(gc) != NULL: # <<<<<<<<<<<<<<
- * username = connection.purple_connection_get_display_name(gc)
- * else:
- */
- __pyx_1 = (purple_connection_get_display_name(__pyx_v_gc) != NULL);
- if (__pyx_1) {
-
- /* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":125
- * username = <char *> id
- * elif connection.purple_connection_get_display_name(gc) != NULL:
- * username = connection.purple_connection_get_display_name(gc) # <<<<<<<<<<<<<<
- * else:
- * username = account.purple_account_get_username(c_account)
- */
- __pyx_2 = __Pyx_PyBytes_FromString(purple_connection_get_display_name(__pyx_v_gc)); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 125; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
- Py_DECREF(__pyx_v_username);
- __pyx_v_username = __pyx_2;
- __pyx_2 = 0;
- goto __pyx_L4;
- }
- /*else*/ {
-
- /* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":127
- * username = connection.purple_connection_get_display_name(gc)
- * else:
- * username = account.purple_account_get_username(c_account) # <<<<<<<<<<<<<<
- *
- * protocol_id = account.purple_account_get_protocol_id(c_account)
- */
- __pyx_2 = __Pyx_PyBytes_FromString(purple_account_get_username(__pyx_v_c_account)); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 127; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
- Py_DECREF(__pyx_v_username);
- __pyx_v_username = __pyx_2;
- __pyx_2 = 0;
- }
- __pyx_L4:;
-
- /* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":129
- * username = account.purple_account_get_username(c_account)
- *
- * protocol_id = account.purple_account_get_protocol_id(c_account) # <<<<<<<<<<<<<<
- *
- * if c_message:
- */
- __pyx_2 = __Pyx_PyBytes_FromString(purple_account_get_protocol_id(__pyx_v_c_account)); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 129; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
- Py_DECREF(__pyx_v_protocol_id);
- __pyx_v_protocol_id = __pyx_2;
- __pyx_2 = 0;
-
- /* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":131
- * protocol_id = account.purple_account_get_protocol_id(c_account)
- *
- * if c_message: # <<<<<<<<<<<<<<
- * message = <char *> c_message
- * else:
- */
- __pyx_1 = (__pyx_v_c_message != 0);
- if (__pyx_1) {
-
- /* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":132
- *
- * if c_message:
- * message = <char *> c_message # <<<<<<<<<<<<<<
- * else:
- * message = None
- */
- __pyx_2 = __Pyx_PyBytes_FromString(((char *)__pyx_v_c_message)); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 132; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
- Py_DECREF(__pyx_v_message);
- __pyx_v_message = __pyx_2;
- __pyx_2 = 0;
- goto __pyx_L5;
- }
- /*else*/ {
-
- /* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":134
- * message = <char *> c_message
- * else:
- * message = None # <<<<<<<<<<<<<<
- *
- * if account_cbs.has_key("request-add"):
- */
- Py_INCREF(Py_None);
- Py_DECREF(__pyx_v_message);
- __pyx_v_message = Py_None;
- }
- __pyx_L5:;
-
- /* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":136
- * message = None
- *
- * if account_cbs.has_key("request-add"): # <<<<<<<<<<<<<<
- * (<object> account_cbs["request-add"])( \
- * (<char *> remote_user, remote_alias), \
- */
- __pyx_2 = __Pyx_GetName(__pyx_m, __pyx_kp_account_cbs); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 136; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
- __pyx_3 = PyObject_GetAttr(__pyx_2, __pyx_kp_has_key); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 136; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
- Py_DECREF(__pyx_2); __pyx_2 = 0;
- __pyx_2 = PyTuple_New(1); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 136; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
- Py_INCREF(__pyx_kp_24);
- PyTuple_SET_ITEM(__pyx_2, 0, __pyx_kp_24);
- __pyx_4 = PyObject_Call(__pyx_3, ((PyObject *)__pyx_2), NULL); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 136; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
- Py_DECREF(__pyx_3); __pyx_3 = 0;
- Py_DECREF(((PyObject *)__pyx_2)); __pyx_2 = 0;
- __pyx_1 = __Pyx_PyObject_IsTrue(__pyx_4); if (unlikely(__pyx_1 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 136; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
- Py_DECREF(__pyx_4); __pyx_4 = 0;
- if (__pyx_1) {
-
- /* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":137
- *
- * if account_cbs.has_key("request-add"):
- * (<object> account_cbs["request-add"])( \ # <<<<<<<<<<<<<<
- * (<char *> remote_user, remote_alias), \
- * (username, protocol_id), message)
- */
- __pyx_3 = __Pyx_GetName(__pyx_m, __pyx_kp_account_cbs); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 137; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
- __pyx_2 = PyObject_GetItem(__pyx_3, __pyx_kp_25); if (!__pyx_2) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 137; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
- Py_DECREF(__pyx_3); __pyx_3 = 0;
-
- /* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":138
- * if account_cbs.has_key("request-add"):
- * (<object> account_cbs["request-add"])( \
- * (<char *> remote_user, remote_alias), \ # <<<<<<<<<<<<<<
- * (username, protocol_id), message)
- *
- */
- __pyx_4 = __Pyx_PyBytes_FromString(((char *)__pyx_v_remote_user)); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 138; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
- __pyx_3 = PyTuple_New(2); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 138; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
- PyTuple_SET_ITEM(__pyx_3, 0, __pyx_4);
- Py_INCREF(__pyx_v_remote_alias);
- PyTuple_SET_ITEM(__pyx_3, 1, __pyx_v_remote_alias);
- __pyx_4 = 0;
-
- /* "/scratchbox/users/bruno/home/bruno/carman/python-purple/account_cbs.pxd":139
- * (<object> account_cbs["request-add"])( \
- * (<char *> remote_user, remote_alias), \
- * (username, protocol_id), message) # <<<<<<<<<<<<<<
- *
- * cdef void *request_authorize(account.PurpleAccount *c_account, \
- */
- __pyx_4 = PyTuple_New(2); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 139; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
- Py_INCREF(__pyx_v_username);
- PyTuple_SET_ITEM(__pyx_4, 0, __pyx_v_username);
- Py_INCREF(__pyx_v_protocol_id);
- PyTuple_SET_ITEM(__pyx_4, 1, __pyx_v_protocol_id);
- __pyx_5 = PyTuple_New(3); if (unlikely(!__pyx_5)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 137; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
- PyTuple_SET_ITEM(__pyx_5, 0, ((PyObject *)__pyx_3));
- PyTuple_SET_ITEM(__pyx_5, 1, ((PyObject *)__pyx_4));
- Py_INCREF(__pyx_v_message);
- PyTuple_SET_ITEM(__pyx_5, 2, __pyx_v_message);
- __pyx_3 = 0;
- __pyx_4 = 0;
- __pyx_3 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_5), NULL); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 137; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
- Py_DECREF(__pyx_2); __pyx_2 = 0;
- Py_DECREF(((PyObject *)__pyx_5)); __pyx_5 = 0;
- Py_DECREF(__pyx_3); __pyx_3 = 0;
- goto __pyx_L6;
- }
- __pyx_L6:;
-
- goto __pyx_L0;
- __pyx_L1_error:;
- Py_XDECREF(__pyx_2);
- Py_XDECREF(__pyx_3);
- Py_XDECREF(__pyx_4);
- Py_XDECREF(__pyx_5);
- __Pyx_WriteUnraisable("purple.request_add");
- __pyx_L0:;
- Py_DECREF(__pyx_v_remote_alias);
- Py_DECREF(__pyx_v_username);
- Py_DECREF(__pyx_v_protocol_id);
- Py_DECREF(__pyx_v_message);
-}