diff options
Diffstat (limited to 'source3/include/auth.h')
-rw-r--r-- | source3/include/auth.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/source3/include/auth.h b/source3/include/auth.h index 66b317d643..5c8bc8edfe 100644 --- a/source3/include/auth.h +++ b/source3/include/auth.h @@ -141,12 +141,11 @@ typedef struct auth_methods } auth_methods; -typedef NTSTATUS (*auth_init_function)(struct auth_context *, const char *, struct auth_methods **); - -struct auth_init_function_entry { +struct auth_init_function { char *name; /* Function to create a member of the authmethods list */ - - auth_init_function init; + BOOL (*init)(struct auth_context *auth_context, struct auth_methods **auth_method); }; + + #endif /* _SMBAUTH_H_ */ |