git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r7878: mostly just a rename of REG_INFO to REG_QUERY_VALUE for better clarity
[samba.git]
/
source3
/
rpc_client
/
cli_reg.c
diff --git
a/source3/rpc_client/cli_reg.c
b/source3/rpc_client/cli_reg.c
index ca4b63c282242b8c16e967b1ef5609a433fc257d..6de2626dde00c850cbe6a61d3314c1c08d85917f 100644
(file)
--- a/
source3/rpc_client/cli_reg.c
+++ b/
source3/rpc_client/cli_reg.c
@@
-286,24
+286,24
@@
WERROR cli_reg_getversion(struct cli_state *cli, TALLOC_CTX *mem_ctx,
/****************************************************************************
do a REG Query Info
****************************************************************************/
/****************************************************************************
do a REG Query Info
****************************************************************************/
-WERROR cli_reg_query_
info
(struct cli_state *cli, TALLOC_CTX *mem_ctx,
+WERROR cli_reg_query_
value
(struct cli_state *cli, TALLOC_CTX *mem_ctx,
POLICY_HND *hnd, const char *val_name,
uint32 *type, REGVAL_BUFFER *buffer)
{
POLICY_HND *hnd, const char *val_name,
uint32 *type, REGVAL_BUFFER *buffer)
{
- REG_Q_
INFO
in;
- REG_R_
INFO
out;
+ REG_Q_
QUERY_VALUE
in;
+ REG_R_
QUERY_VALUE
out;
prs_struct qbuf, rbuf;
ZERO_STRUCT (in);
ZERO_STRUCT (out);
prs_struct qbuf, rbuf;
ZERO_STRUCT (in);
ZERO_STRUCT (out);
- init_reg_q_
info
(&in, hnd, val_name, buffer);
+ init_reg_q_
query_value
(&in, hnd, val_name, buffer);
- CLI_DO_RPC( cli, mem_ctx, PI_WINREG, REG_QUERY_
KEY
,
+ CLI_DO_RPC( cli, mem_ctx, PI_WINREG, REG_QUERY_
VALUE
,
in, out,
qbuf, rbuf,
in, out,
qbuf, rbuf,
- reg_io_q_
info
,
- reg_io_r_
info
,
+ reg_io_q_
query_value
,
+ reg_io_r_
query_value
,
WERR_GENERAL_FAILURE );
WERR_GENERAL_FAILURE );