diff options
author | Wilco Baan Hofman <wilco@baanhofman.nl> | 2009-03-15 20:34:59 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-04-20 23:16:17 +0200 |
commit | 3e010e3eb8f463cb49e5dbace4abc34a067d08f4 (patch) | |
tree | fd41f489d2e889f6690c25fb235d7b8a9d57d0fb /libgpo/gpo.h | |
parent | b939638dc79daa065c58755abf9f58d1df571401 (diff) | |
download | samba-3e010e3eb8f463cb49e5dbace4abc34a067d08f4.tar.gz |
Adjust samba 3 to the new gpo API. Still untested code.
Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'libgpo/gpo.h')
-rw-r--r-- | libgpo/gpo.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/libgpo/gpo.h b/libgpo/gpo.h index a8b5ad39344..6e71e3cff7d 100644 --- a/libgpo/gpo.h +++ b/libgpo/gpo.h @@ -22,6 +22,8 @@ #if _SAMBA_BUILD_ == 4 #include "source4/libgpo/ads_convenience.h" +#else +struct loadparm_context; #endif enum GPO_LINK_TYPE { @@ -169,7 +171,7 @@ struct cli_state; /* The following definitions come from libgpo/gpo_fetch.c */ NTSTATUS gpo_explode_filesyspath(TALLOC_CTX *mem_ctx, - const char *cache_path, + const char *cache_dir, const char *file_sys_path, char **server, char **service, @@ -178,7 +180,7 @@ NTSTATUS gpo_explode_filesyspath(TALLOC_CTX *mem_ctx, NTSTATUS gpo_fetch_files(TALLOC_CTX *mem_ctx, ADS_STRUCT *ads, struct loadparm_context *lp_ctx, - const char *cache_path, + const char *cache_dir, struct GROUP_POLICY_OBJECT *gpo); NTSTATUS gpo_get_sysvol_gpt_version(TALLOC_CTX *mem_ctx, const char *unix_path, @@ -255,18 +257,18 @@ ADS_STATUS gpo_process_gpo_list(ADS_STRUCT *ads, uint32_t flags); NTSTATUS check_refresh_gpo(ADS_STRUCT *ads, TALLOC_CTX *mem_ctx, - const char *cache_path, + const char *cache_dir, struct loadparm_context *lp_ctx, uint32_t flags, struct GROUP_POLICY_OBJECT *gpo); NTSTATUS check_refresh_gpo_list(ADS_STRUCT *ads, TALLOC_CTX *mem_ctx, - const char *cache_path, + const char *cache_dir, struct loadparm_context *lp_ctx, uint32_t flags, struct GROUP_POLICY_OBJECT *gpo_list); NTSTATUS gpo_get_unix_path(TALLOC_CTX *mem_ctx, - const char *cache_path, + const char *cache_dir, struct GROUP_POLICY_OBJECT *gpo, char **unix_path); char *gpo_flag_str(TALLOC_CTX *mem_ctx, uint32_t flags); |