summaryrefslogtreecommitdiff
path: root/libgpo/gpext
diff options
context:
space:
mode:
authorWilco Baan Hofman <wilco@baanhofman.nl>2009-03-01 16:25:57 +0100
committerGünther Deschner <gd@samba.org>2009-04-20 23:16:16 +0200
commit248554370af30f485a4088d0d5de675e77b2aa7b (patch)
treedfae2c73ebff165845714a5566a29f257efcc9c4 /libgpo/gpext
parentc441b7dda8507b22a94146be0df77e54e623645a (diff)
downloadsamba-248554370af30f485a4088d0d5de675e77b2aa7b.tar.gz
samba-248554370af30f485a4088d0d5de675e77b2aa7b.tar.bz2
samba-248554370af30f485a4088d0d5de675e77b2aa7b.zip
Make gpo_ldap.c compatible with samba 4. Add ads_get_ldap_server_name() function to samba 3. Move prototypes to root libgpo where appropriate.
gpo_ldap.c now compiles for both samba 3 and 4. Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'libgpo/gpext')
-rw-r--r--libgpo/gpext/gpext.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/libgpo/gpext/gpext.h b/libgpo/gpext/gpext.h
index a3f9368f69..98519f102a 100644
--- a/libgpo/gpext/gpext.h
+++ b/libgpo/gpext/gpext.h
@@ -83,4 +83,44 @@ struct gp_extension_methods {
NTSTATUS (*shutdown)(void);
};
+/* The following definitions come from libgpo/gpext/gpext.c */
+
+struct gp_extension *get_gp_extension_list(void);
+NTSTATUS unregister_gp_extension(const char *name);
+NTSTATUS register_gp_extension(TALLOC_CTX *gpext_ctx,
+ int version,
+ const char *name,
+ const char *guid,
+ struct gp_extension_methods *methods);
+NTSTATUS gp_ext_info_add_entry(TALLOC_CTX *mem_ctx,
+ const char *module,
+ const char *ext_guid,
+ struct gp_extension_reg_table *table,
+ struct gp_extension_reg_info *info);
+NTSTATUS shutdown_gp_extensions(void);
+NTSTATUS init_gp_extensions(TALLOC_CTX *mem_ctx);
+NTSTATUS free_gp_extensions(void);
+void debug_gpext_header(int lvl,
+ const char *name,
+ uint32_t flags,
+ struct GROUP_POLICY_OBJECT *gpo,
+ const char *extension_guid,
+ const char *snapin_guid);
+NTSTATUS process_gpo_list_with_extension(ADS_STRUCT *ads,
+ TALLOC_CTX *mem_ctx,
+ uint32_t flags,
+ const struct nt_user_token *token,
+ struct GROUP_POLICY_OBJECT *gpo_list,
+ const char *extension_guid,
+ const char *snapin_guid);
+NTSTATUS gpext_process_extension(ADS_STRUCT *ads,
+ TALLOC_CTX *mem_ctx,
+ uint32_t flags,
+ const struct nt_user_token *token,
+ struct registry_key *root_key,
+ struct GROUP_POLICY_OBJECT *gpo,
+ const char *extension_guid,
+ const char *snapin_guid);
+
+
#endif /* __GPEXT_H__ */