get rid of previous prototype warnings
return NT_STATUS_OK;
}
+NTSTATUS auth_script_init(void);
NTSTATUS auth_script_init(void)
{
return smb_register_auth(AUTH_INTERFACE_VERSION, "script", auth_init_script);
struct charset_functions CHARSETNAME ## _functions = \
{#CHARSETNAME, CHARSETNAME ## _pull, CHARSETNAME ## _push}; \
\
+NTSTATUS charset_ ## CHARSETNAME ## _init(void); \
NTSTATUS charset_ ## CHARSETNAME ## _init(void) \
{ \
return smb_register_charset(& CHARSETNAME ## _functions); \
struct charset_functions weird_functions = {"WEIRD", weird_pull, weird_push};
+NTSTATUS charset_weird_init(void);
NTSTATUS charset_weird_init(void)
{
return smb_register_charset(&weird_functions);