summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-03-23 22:27:59 +0100
committerMichael Adam <obnox@samba.org>2009-04-27 11:21:03 +0200
commit8185d31fb0a4ef0219fe15f825a9340083f4c277 (patch)
treed60247d6e96077e171079748482cc353bdd7eb32 /source3/utils
parent221151a2a2c30e5c82b100161b498fdbbc1d4382 (diff)
downloadsamba-8185d31fb0a4ef0219fe15f825a9340083f4c277.tar.gz
samba-8185d31fb0a4ef0219fe15f825a9340083f4c277.tar.bz2
samba-8185d31fb0a4ef0219fe15f825a9340083f4c277.zip
s3:registry: replace typedef REGISTRY_VALUE by struct regval_blob
Michael
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_rpc_printer.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/utils/net_rpc_printer.c b/source3/utils/net_rpc_printer.c
index ea613e7886..baaf8e9fa3 100644
--- a/source3/utils/net_rpc_printer.c
+++ b/source3/utils/net_rpc_printer.c
@@ -77,7 +77,7 @@ static void display_print_driver3(struct spoolss_DriverInfo3 *r)
printf("\tDefaultdatatype: [%s]\n\n", r->default_datatype);
}
-static void display_reg_value(const char *subkey, REGISTRY_VALUE value)
+static void display_reg_value(const char *subkey, struct regval_blob value)
{
char *text;
@@ -892,7 +892,7 @@ static bool net_spoolss_setprinterdataex(struct rpc_pipe_client *pipe_hnd,
TALLOC_CTX *mem_ctx,
struct policy_handle *hnd,
const char *keyname,
- REGISTRY_VALUE *value)
+ struct regval_blob *value)
{
WERROR result;
NTSTATUS status;
@@ -2318,7 +2318,7 @@ NTSTATUS rpc_printer_migrate_settings_internals(struct net_context *c,
/* loop for all reg_keys */
if (NT_STATUS_IS_OK(nt_status) && W_ERROR_IS_OK(result)) {
- REGISTRY_VALUE v;
+ struct regval_blob v;
DATA_BLOB blob;
union spoolss_PrinterData printer_data;
@@ -2385,7 +2385,7 @@ NTSTATUS rpc_printer_migrate_settings_internals(struct net_context *c,
for (j=0; j < count; j++) {
- REGISTRY_VALUE value;
+ struct regval_blob value;
UNISTR2 data;
/* although samba replies with sane data in most cases we
@@ -2459,7 +2459,7 @@ NTSTATUS rpc_printer_migrate_settings_internals(struct net_context *c,
} else {
- REGISTRY_VALUE v;
+ struct regval_blob v;
DATA_BLOB blob;
result = push_spoolss_PrinterData(mem_ctx, &blob,