summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-06-24 14:55:09 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:58:00 -0500
commit2fb7ff7d9def29e21dd87f565ccda5437c848cdd (patch)
treed1ffc64026796790b9d2f520cbe0cda32903e8a2 /source3/rpc_client
parent702dd3da6297967ce140771110f85d61e0dff1e5 (diff)
downloadsamba-2fb7ff7d9def29e21dd87f565ccda5437c848cdd.tar.gz
samba-2fb7ff7d9def29e21dd87f565ccda5437c848cdd.tar.bz2
samba-2fb7ff7d9def29e21dd87f565ccda5437c848cdd.zip
r7878: mostly just a rename of REG_INFO to REG_QUERY_VALUE for better clarity
(This used to be commit d50f0ba07e285728605c8e8aae9d9a251a525e78)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_reg.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/source3/rpc_client/cli_reg.c b/source3/rpc_client/cli_reg.c
index ca4b63c282..6de2626dde 100644
--- 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
****************************************************************************/
-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)
{
- 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);
- 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,
- reg_io_q_info,
- reg_io_r_info,
+ reg_io_q_query_value,
+ reg_io_r_query_value,
WERR_GENERAL_FAILURE );