r9602: Add support for reading share_info.tdb and smb.conf.
[sfrench/samba-autobuild/.git] / source4 / lib / samba3 / samba3.h
index 575ee838256c9485f4e7ed51205f16666655c13b..fe4db560a85aa45051a418278163c1a8e76840a4 100644 (file)
@@ -184,6 +184,19 @@ 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 
 {
        uint32_t winsdb_count;
@@ -192,6 +205,9 @@ struct samba3
        uint32_t samaccount_count;
        struct samba3_samaccount *samaccounts;
 
+       uint32_t share_count;
+       struct samba3_share_info *shares;
+
        struct samba3_secrets secrets;
        struct samba3_groupdb group;
        struct samba3_idmapdb idmap;