summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-11-18 17:57:21 +0000
committerLuke Leighton <lkcl@samba.org>1999-11-18 17:57:21 +0000
commita394a4a8fa2c4c0ff03fbc5bc4ea925245ec1fed (patch)
tree37225bf66089879429df84fdc144bebe46bfebe4 /source3/include
parentccc8585567804d6a7e6f684a97d58871e2fd9f8a (diff)
downloadsamba-a394a4a8fa2c4c0ff03fbc5bc4ea925245ec1fed.tar.gz
samba-a394a4a8fa2c4c0ff03fbc5bc4ea925245ec1fed.tar.bz2
samba-a394a4a8fa2c4c0ff03fbc5bc4ea925245ec1fed.zip
updating reg_value_info() parsing code to take BUFFER2 instead of just
a char*. now copes with multiple types. (This used to be commit 3df7c903c5b70f336294a95ad864aedbacf544b0)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h4
-rw-r--r--source3/include/rpc_reg.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index b84b6ef26d..5183f5dfb0 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -1874,7 +1874,7 @@ BOOL do_reg_query_key(struct cli_state *cli, uint16 fnum, POLICY_HND *hnd,
BOOL do_reg_unknown_1a(struct cli_state *cli, uint16 fnum, POLICY_HND *hnd, uint32 *unk);
BOOL do_reg_query_info(struct cli_state *cli, uint16 fnum, POLICY_HND *hnd,
const char* val_name,
- char *type);
+ uint32 *type, BUFFER2 *buf);
BOOL do_reg_set_key_sec(struct cli_state *cli, uint16 fnum, POLICY_HND *hnd,
uint32 sec_buf_size, SEC_DESC *sec_buf);
BOOL do_reg_get_key_sec(struct cli_state *cli, uint16 fnum, POLICY_HND *hnd,
@@ -2499,7 +2499,7 @@ BOOL make_reg_q_info(REG_Q_INFO *q_i, POLICY_HND *pol, const char *val_name,
uint8 major, uint8 minor);
BOOL reg_io_q_info(char *desc, REG_Q_INFO *r_q, prs_struct *ps, int depth);
BOOL make_reg_r_info(REG_R_INFO *r_r,
- uint32 type, char *buf,
+ uint32 *type, BUFFER2 *buf,
uint32 status);
BOOL reg_io_r_info(char *desc, REG_R_INFO *r_r, prs_struct *ps, int depth);
BOOL make_reg_q_enum_val(REG_Q_ENUM_VALUE *q_i, POLICY_HND *pol,
diff --git a/source3/include/rpc_reg.h b/source3/include/rpc_reg.h
index b00b7a5a90..6b141b9f47 100644
--- a/source3/include/rpc_reg.h
+++ b/source3/include/rpc_reg.h
@@ -442,10 +442,10 @@ typedef struct q_reg_info_info
typedef struct r_reg_info_info
{
uint32 ptr_type; /* buffer pointer */
- uint32 type; /* 0x1 - info level? */
+ uint32 *type; /* 0x1 - info level? */
uint32 ptr_uni_type; /* pointer to o/s type */
- BUFFER2 uni_type; /* unicode string o/s type - "LanmanNT" */
+ BUFFER2 *uni_type; /* unicode string o/s type - "LanmanNT" */
uint32 ptr_max_len; /* pointer to unknown_0 */
uint32 buf_max_len; /* 0x12 */