Add the pdb_plugin module from Jelmer Vernooij <jelmer@nl.linux.org>.
[kai/samba.git] / source / include / passdb.h
index dfcbd46ecf932a3b944fedc043e1a9dcecd31e8f..f17b043fb27490666dcd63cde1d05b96cac43419 100644 (file)
@@ -82,8 +82,11 @@ typedef struct pdb_methods
 
 } PDB_METHODS;
 
+typedef NTSTATUS (*pdb_init_function)(struct pdb_context *, 
+                        struct pdb_methods **, 
+                        const char *);
 
-struct pdb_init_function {
+struct pdb_init_function_entry {
        char *name;
        /* Function to create a member of the authmethods list */
        NTSTATUS (*init)(struct pdb_context *pdb_context,