jabber

squeak at poczta.onet.pl squeak at poczta.onet.pl
Tue Sep 16 09:46:44 EDT 2008


i wrote something like this :

 purple_plugins_init();
 purple_connections_init();
 PurplePlugin pp;
 ZeroMemory( &pp, sizeof(pp) );
 purple_init_plugin( &pp );//jabber_handle_event
 PurpleAccount *pa;
 pa = new PurpleAccount;
 ZeroMemory( pa, sizeof(PurpleAccount) );
 pa->alias = "Gizmo";
 pa->protocol_id = "prpl";
 pa->username = "ekolowa.1989 at jabber.org";
 pa->password = "password";
 PurpleConnection pc;
 ZeroMemory( &pc, sizeof(pc) );
 pc.prpl = &pp;
 pc.account = pa;
 pc.password = "password"; 
 pa->gc = &pc;
 purple_account_connect( pa );

when i use functions like this :
 purple_account_set_alias
 purple_account_set_protocol_id
 purple_account_set_username
 purple_account_set_password
i become an error

what should i do to connect to jabber server

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://pidgin.im/pipermail/devel/attachments/20080916/a6f7020e/attachment.html>


More information about the Devel mailing list