modules: BOOL vs. int

Stefan (metze) Metzmacher metze at metzemix.de
Fri Mar 28 06:32:00 GMT 2003


> > 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.

ok fine :-)



metze
-----------------------------------------------------------------------------
Stefan "metze" Metzmacher <metze at metzemix.de> 



More information about the samba-technical mailing list