r9798: Add generic functions for handling smb.conf files (the parameters don't to...
[sfrench/samba-autobuild/.git] / source4 / lib / samba3 / samba3.h
index b8a9c68617dccb6be48fd29cbb0ace4f503689dc..f0f4c99513c4e4e193fb30dc22f8e5e020554319 100644 (file)
@@ -23,6 +23,7 @@
 
 #include "librpc/gen_ndr/security.h"
 #include "librpc/gen_ndr/samr.h"
+#include "param/generic.h"
 
 struct samba3_samaccount {
        uint32_t logon_time,
@@ -185,21 +186,15 @@ struct samba3_secrets
        } *afs_keyfiles;
 };
 
-struct samba3_parameter {
-       char *name;
-       char *value;
-};
-
 struct samba3_share_info {
        char *name;
        struct security_descriptor secdesc;
-
-       uint32_t parameter_count;
-       struct samba3_parameter *parameters;
 };
 
 struct samba3 
 {
+       struct param_context *configuration;
+
        uint32_t winsdb_count;
        struct samba3_winsdb_entry *winsdb_entries;