diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-11-21 02:23:43 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:15:57 -0500 |
commit | 3b5d82cedd28f872e23564175f87bb8e7e4330fb (patch) | |
tree | 2dc1862149a1c09c39ef9dc1cc5a989c3b294d4e | |
parent | 202f63e476fc1dc60d9f1271673b292288cfb436 (diff) | |
download | samba-3b5d82cedd28f872e23564175f87bb8e7e4330fb.tar.gz samba-3b5d82cedd28f872e23564175f87bb8e7e4330fb.tar.bz2 samba-3b5d82cedd28f872e23564175f87bb8e7e4330fb.zip |
r19812: dump_regval_buf is not needed anymore
(This used to be commit f24e64160dc7d7b7434cbed15677c105fa7b60de)
-rw-r--r-- | source3/utils/net_rpc_registry.c | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/source3/utils/net_rpc_registry.c b/source3/utils/net_rpc_registry.c index 45598c49f5..3401134488 100644 --- a/source3/utils/net_rpc_registry.c +++ b/source3/utils/net_rpc_registry.c @@ -23,55 +23,6 @@ #include "regfio.h" #include "reg_objects.h" -/******************************************************************** -********************************************************************/ - -#if 0 -void dump_regval_buffer( uint32 type, REGVAL_BUFFER *buffer ) -{ - pstring string; - uint32 value; - - switch (type) { - case REG_SZ: - rpcstr_pull( string, buffer->buffer, sizeof(string), -1, STR_TERMINATE ); - d_printf("%s\n", string); - break; - case REG_MULTI_SZ: { - int i, num_values; - char **values; - - d_printf("\n"); - - if (!NT_STATUS_IS_OK(reg_pull_multi_sz(NULL, buffer->buffer, - buffer->buf_len, - &num_values, - &values))) { - d_printf("reg_pull_multi_sz failed\n"); - break; - } - - for (i=0; i<num_values; i++) { - d_printf("%s\n", values[i]); - } - TALLOC_FREE(values); - break; - } - case REG_DWORD: - value = IVAL( buffer->buffer, 0 ); - d_printf( "0x%x\n", value ); - break; - case REG_BINARY: - d_printf("\n"); - break; - - - default: - d_printf( "\tUnknown type [%d]\n", type ); - } -} -#endif - static NTSTATUS registry_enumkeys(TALLOC_CTX *ctx, struct rpc_pipe_client *pipe_hnd, struct policy_handle *key_hnd, |