summaryrefslogtreecommitdiff
path: root/source3/include/rpc_reg.h
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2002-07-24 08:58:03 +0000
committerGerald Carter <jerry@samba.org>2002-07-24 08:58:03 +0000
commita12ed7f506263c6ec34c7df6bbcb3e8434841403 (patch)
treec0eea1d86391e45565e11109b799de5b63cbec79 /source3/include/rpc_reg.h
parent0cfdb7bbe82cfbce95ea4d8956c9de6f3ab56b94 (diff)
downloadsamba-a12ed7f506263c6ec34c7df6bbcb3e8434841403.tar.gz
samba-a12ed7f506263c6ec34c7df6bbcb3e8434841403.tar.bz2
samba-a12ed7f506263c6ec34c7df6bbcb3e8434841403.zip
done! printer_info_2, devicemode, sec_desc, & printer data all enumerate
and display correctly in regedit.exe. Not sure about REG_SZ values in PrinterDriverData. If we store these in UNICODE, I'll have to fix up a few things. REG_BINARY & REG_DWORD are fine. (This used to be commit 2a30c243ec28734bbc721dfc01b743faa6f73788)
Diffstat (limited to 'source3/include/rpc_reg.h')
-rw-r--r--source3/include/rpc_reg.h18
1 files changed, 5 insertions, 13 deletions
diff --git a/source3/include/rpc_reg.h b/source3/include/rpc_reg.h
index e2347c328b..41d3325015 100644
--- a/source3/include/rpc_reg.h
+++ b/source3/include/rpc_reg.h
@@ -1,9 +1,10 @@
/*
Unix SMB/CIFS implementation.
SMB parameters and setup
- Copyright (C) Andrew Tridgell 1992-1997
- Copyright (C) Luke Kenneth Casson Leighton 1996-1997
- Copyright (C) Paul Ashton 1997
+ Copyright (C) Andrew Tridgell 1992-1997.
+ Copyright (C) Luke Kenneth Casson Leighton 1996-1997.
+ Copyright (C) Paul Ashton 1997.
+ Copyright (C) Gerald Carter 2002.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -94,16 +95,7 @@ typedef struct {
fstring valuename;
uint16 type;
uint32 size; /* in bytes */
- void *data_p;
-#if 0
- union {
- char *string;
- uint32 *dword;
- uint8 *binary;
- void *void_ptr; /* for casting only */
- } data;
-#endif
-
+ uint8 *data_p;
} REGISTRY_VALUE;
/* container for regostry values */