RE: [JDEV] Doc on MIO API for Transport dev available?--- Modul e API or Transport API exists ?
Thanks for this help, I started to write my own module and everything seems to be ok. The Jabberd API doc is useful, but some doc on the jsm (the Module API) and the structures it uses would be great (mapi, jpacket...). Do you know of there is some doc on the Service API, used to develop transports ? Stephane -Message d'origine- De : DJ Adams [mailto:[EMAIL PROTECTED]] Envoyé : mercredi 20 juin 2001 01:36 À : [EMAIL PROTECTED] Objet : Re: [JDEV] Doc on MIO API for Transport dev available?--- Modul e API or Transport API exists ? The JSM modules all follow the same pattern. The function that is called when the module is loaded is the one specified in the load part of the configuration, e.g. load main=jsm jsm./jsm/jsm.so/jsm mod_echo./jsm/jsm.so/mod_echo mod_roster./jsm/jsm.so/mod_roster mod_time./jsm/jsm.so/mod_time ... the tagname (e.g. 'mod_time') is the name of the function ('mod_time()') called. This function usually is to be found, by convention, at the end of the source file, and returns a void: void mod_xyz(jsmi si) { js_mapi_register(e_ ...) ... } This function registers handlers for the master events (e_SERVER, e_AUTH, and so on). The e_SESSION master event has 'sub-events' es_IN, es_OUT and so on (see jsm/jsm.h), and handlers for these sub-events (session events) are set up in a beautifully fractal way - the handler function for the e_SESSION event actually sets handlers for the es_* events using js_mapi_session() : mreturn xyz_abc(...) { js_mapi_session(es_ ...) } The rest of the functions do the actual work. You might want to have a look at jsm/modules/mod_example.c as it's got some useful comments in the code. Good luck! dj ___ jdev mailing list [EMAIL PROTECTED] http://mailman.jabber.org/listinfo/jdev ___ jdev mailing list [EMAIL PROTECTED] http://mailman.jabber.org/listinfo/jdev
Re: [JDEV] Passwords, zero-K and storage
At 12:54 AM 6/20/2001 +0100, you wrote: If someone really wants passwords to be secure, they need to use a secure method of account registration, authentication, and renewal in the case of 0k. Yes, this seems to be the weakspot of 0k in general, the user-initiated password setting and changing... I've never been too hot on the 0k stuff, but surely setting new passwords could be sequenced as requested in the initial jabber:iq:auth query when sent, therefore going in a hashed way rather than as plain-text, keeping the plain-text off the wire? Yeah. There are a ton of ways to do it. Most of this is just a matter of deciding on a standard method so that all the servers and clients can interoperate properly. For instance, if you just look at 0k from the docs page, you can't actually implement it even though the server and some clients are using it today... If you want to add it to your client, you pretty much have to reverse engineer the protocol or read the server source. ;( On the positive side, once the Foundation is setup and running, and the standards process gets into swing, I think we'll be seeing a very positive standards effort (heck I'm planning on putting some serious work in it) so this should only be a temporary situation. -iain _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com ___ jdev mailing list [EMAIL PROTECTED] http://mailman.jabber.org/listinfo/jdev
Re: [JDEV] Passwords, zero-K and storage
At 12:15 AM 6/20/2001 +0100, you wrote: suppose we should wait until the Foundation/JEP/JIG etc is all settled first... *sigh*/side note I'm sure that this and other issues that may have fallen between the cracks will find a good home with the Foundation and the Jabelin project. I only wish my JabberC learning would go faster so I could help out more :-/ :) Yeah. I know how that goes. I'm looking forward to having the infrastructure in place so we can start organizing and looking for these lost pieces. Currently I'm constantly wondering, Is the spec right or did they change it in jabberd and not update the docs... *sigh* :) -iain _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com ___ jdev mailing list [EMAIL PROTECTED] http://mailman.jabber.org/listinfo/jdev
[JDEV] Jabber DevZone News - Foundation Membership + Council Vote
Foundation Membership + Council Vote The following was posted by [EMAIL PROTECTED] via the Jabber DevZone web site (http://dev.jabber.org/): Two items of interest to all members of the Jabber community: First, some folks missed out on the first opportunity to become members of the Jabber Foundation. So if you're interested in being able to vote on issues of importance to the Jabber community, visit the application page at http://jabber.org/?oid=1372 -- applications will be accepted through 24:00 GMT/UTC this Friday, June 22. Second, this week the members of the Jabber Foundation are voting on who will represent them on the Jabber Council. In case you haven't heard, the 9 members of the Council will provide technical leadership for the Jabber project as a whole, so it's important that you elect people who you think will provide that kind of leadership. To vote for Council members, you must be a member of the Foundation (see above). The voting page is located at http://support.jabber.com/cgi-bin/foundation/council/survey.pl (you can also view the results at http://support.jabber.com/cgi-bin/foundation/council/results.pl). The council vote is also open through 24:00 GMT/UTC this Friday. If you have any questions (or problems with either of the forms), please contact [EMAIL PROTECTED] or [EMAIL PROTECTED] Thanks! http://jabber.org/?oid=1707 ___ jdev mailing list [EMAIL PROTECTED] http://mailman.jabber.org/listinfo/jdev