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 <[EMAIL PROTECTED]> ~/.plan: create seperate include files smb_register_vfs()
pgp00000.pgp
Description: PGP signature