libgpo: remove gpext_process_gpo_list_with_extension in favor of gpext_process_extension.
[metze/samba/wip.git] / libgpo / gpo.h
index 91ce006cd0972f1d4e2029a5cb526fb9f0410ad7..f32b7399986c4f3434b9d91f97f3bee357361602 100644 (file)
@@ -138,13 +138,6 @@ struct gp_registry_value {
        struct registry_value *data;
 };
 
-struct gp_registry_entry2 {
-       enum gp_reg_action action;
-       const char *key;
-       size_t num_values;
-       struct gp_registry_value **values;
-};
-
 struct gp_registry_entries {
        size_t num_entries;
        struct gp_registry_entry **entries;
@@ -233,12 +226,6 @@ void dump_gpo(const struct GROUP_POLICY_OBJECT *gpo,
 void dump_gpo_list(const struct GROUP_POLICY_OBJECT *gpo_list,
                   int debuglevel);
 void dump_gplink(const struct GP_LINK *gp_link);
-NTSTATUS gpo_process_a_gpo(TALLOC_CTX *mem_ctx,
-                          const struct security_token *token,
-                          struct registry_key *root_key,
-                          struct GROUP_POLICY_OBJECT *gpo,
-                          const char *extension_guid_filter,
-                          uint32_t flags);
 NTSTATUS gpo_process_gpo_list(TALLOC_CTX *mem_ctx,
                              const struct security_token *token,
                              struct GROUP_POLICY_OBJECT *gpo_list,
@@ -269,6 +256,13 @@ ADS_STATUS gp_get_machine_token(ADS_STRUCT *ads,
                                const char *dn,
                                struct security_token **token);
 
+bool gpo_get_gp_ext_from_gpo(TALLOC_CTX *mem_ctx,
+                            uint32_t flags,
+                            const struct GROUP_POLICY_OBJECT *gpo,
+                            struct GP_EXT **gp_ext);
+NTSTATUS gpo_copy(TALLOC_CTX *mem_ctx,
+                 const struct GROUP_POLICY_OBJECT *gpo_src,
+                 struct GROUP_POLICY_OBJECT **gpo_dst);
 
 #include "../libgpo/gpext/gpext.h"