From 8185d31fb0a4ef0219fe15f825a9340083f4c277 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 23 Mar 2009 22:27:59 +0100 Subject: s3:registry: replace typedef REGISTRY_VALUE by struct regval_blob Michael --- source3/libads/ldap_printer.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'source3/libads') diff --git a/source3/libads/ldap_printer.c b/source3/libads/ldap_printer.c index c1bfd75d88..a5290292a5 100644 --- a/source3/libads/ldap_printer.c +++ b/source3/libads/ldap_printer.c @@ -118,7 +118,7 @@ ADS_STATUS ads_add_printer_entry(ADS_STRUCT *ads, char *prt_dn, map a REG_SZ to an ldap mod */ static bool map_sz(TALLOC_CTX *ctx, ADS_MODLIST *mods, - const REGISTRY_VALUE *value) + const struct regval_blob *value) { char *str_value = NULL; size_t converted_size; @@ -145,7 +145,7 @@ static bool map_sz(TALLOC_CTX *ctx, ADS_MODLIST *mods, map a REG_DWORD to an ldap mod */ static bool map_dword(TALLOC_CTX *ctx, ADS_MODLIST *mods, - const REGISTRY_VALUE *value) + const struct regval_blob *value) { char *str_value = NULL; ADS_STATUS status; @@ -164,7 +164,7 @@ static bool map_dword(TALLOC_CTX *ctx, ADS_MODLIST *mods, map a boolean REG_BINARY to an ldap mod */ static bool map_bool(TALLOC_CTX *ctx, ADS_MODLIST *mods, - const REGISTRY_VALUE *value) + const struct regval_blob *value) { char *str_value; ADS_STATUS status; @@ -184,7 +184,7 @@ static bool map_bool(TALLOC_CTX *ctx, ADS_MODLIST *mods, map a REG_MULTI_SZ to an ldap mod */ static bool map_multi_sz(TALLOC_CTX *ctx, ADS_MODLIST *mods, - const REGISTRY_VALUE *value) + const struct regval_blob *value) { char **str_values = NULL; size_t converted_size; @@ -225,14 +225,14 @@ static bool map_multi_sz(TALLOC_CTX *ctx, ADS_MODLIST *mods, struct valmap_to_ads { const char *valname; - bool (*fn)(TALLOC_CTX *, ADS_MODLIST *, const REGISTRY_VALUE *); + bool (*fn)(TALLOC_CTX *, ADS_MODLIST *, const struct regval_blob *); }; /* map a REG_SZ to an ldap mod */ static void map_regval_to_ads(TALLOC_CTX *ctx, ADS_MODLIST *mods, - REGISTRY_VALUE *value) + struct regval_blob *value) { const struct valmap_to_ads map[] = { {SPOOL_REG_ASSETNUMBER, map_sz}, @@ -344,7 +344,7 @@ WERROR get_remote_printer_publishing_data(struct rpc_pipe_client *cli, } else { /* Have the data we need now, so start building */ for (i=0; i < count; i++) { - REGISTRY_VALUE v; + struct regval_blob v; DATA_BLOB blob; result = push_spoolss_PrinterData(mem_ctx, &blob, @@ -371,7 +371,7 @@ WERROR get_remote_printer_publishing_data(struct rpc_pipe_client *cli, printername, win_errstr(result))); } else { for (i=0; i < count; i++) { - REGISTRY_VALUE v; + struct regval_blob v; DATA_BLOB blob = data_blob_null; result = push_spoolss_PrinterData(mem_ctx, &blob, -- cgit