[JDEV] why mod_basic_*?
John P. Looney
jplooney-jabber at online.ie
Tue Feb 1 09:33:39 CST 2000
On Sun, Jan 30, 2000 at 09:34:30AM -0600, Thomas Charron mentioned:
> Quoting Russell Nelson <nelson at crynwr.com>:
> > Why does jabber-transport/modules/basic/*.c name all its functions
> > "mod_basic_FOO"? By virtue of being in basic, the function should be
> > assumed to be part of the basic module. Why not just call the
> > function "FOO"?
> You very well could. But for simplicity, since we *ARE* dealing with shared
> libraries here, it's better when looking at logs, etc, to be able to have the
> module data along with the function. We may have 5 modules loaded, and looking
> at the debugging data is a whole lot easier if we can see the module in the
> function name.. Otherwise, you may get two or three messages from different
> modules, all with the same function name, and be rather hard to debug.
Speaking of, is there a development version of an SQL authentication
module...
Kate
--
Do you have a problem with American Mulitnationals forcing the arrest of a
Norwegian 16 year old, because he made them look like fools by cracking
DVD encryption, so he could play his own DVDs, and then sharing his DVD
player ? Sign the petition: http://linuxguiden.linpro.no/protesteng.php
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <https://www.jabber.org/jdev/attachments/20000201/1bc7875a/attachment-0002.pgp>
More information about the JDev
mailing list