modules: BOOL vs. int
Jelmer Vernooij
jelmer at samba.org
Thu Mar 27 18:02:05 GMT 2003
On Thu, Mar 27, 2003 at 02:29:11PM +0100, Stefan (metze) Metzmacher wrote about 'Re: modules: BOOL vs. int':
> And I want it to be equal for all smb_register_*() fn's
> >> int auth_sam_init(void)
> >> {
> >> smb_register_auth("samstrict_dc", auth_init_samstrict_dc,
> >> AUTH_INTERFACE_VERSION);
> >> smb_register_auth("samstrict", auth_init_samstrict,
> >> AUTH_INTERFACE_VERSION);
> >> smb_register_auth("sam", auth_init_sam, AUTH_INTERFACE_VERSION);
> >> return True;
> >> }
> >When would you want the function to fail ? If registering one of the
> >functions fails?
> ok don't fail but a warning would be good
The register functions already give warnings when things are failing.
Jelmer
--
Jelmer Vernooij <jelmer at samba.org>
~/.plan:
create seperate include files
smb_register_vfs()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20030327/b3103c2b/attachment.bin
More information about the samba-technical
mailing list