updated the 3.0 branch from the head branch - ready for alpha18
[ira/wip.git] / source3 / include / auth.h
index 5c8bc8edfe6d1417932a72d69413f7ef19f7a272..66b317d64337e3bb90183ea73c6477e40125a0b7 100644 (file)
@@ -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_ */