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