summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-11-10 22:03:34 +0000
committerLuke Leighton <lkcl@samba.org>1998-11-10 22:03:34 +0000
commitc098e44df44e3c6ace3ce00d28140329821e8f3d (patch)
treea003f886e8434a6cfcf6f4c2f970530f661c8a5c /source3/rpc_parse
parent10844fa9803a9c60d88a11df0983d84e87caf5c3 (diff)
downloadsamba-c098e44df44e3c6ace3ce00d28140329821e8f3d.tar.gz
samba-c098e44df44e3c6ace3ce00d28140329821e8f3d.tar.bz2
samba-c098e44df44e3c6ace3ce00d28140329821e8f3d.zip
registry modification requires a "sync" or "refresh" on the parent key.
opcode 0xb added to do this. a likely candidate name is "RegFlushKey". (This used to be commit 5e9567e3c7d4ee8624a448fcccfcd8003913dbbf)
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r--source3/rpc_parse/parse_reg.c40
1 files changed, 40 insertions, 0 deletions
diff --git a/source3/rpc_parse/parse_reg.c b/source3/rpc_parse/parse_reg.c
index 2c871ab873..d2f670188b 100644
--- a/source3/rpc_parse/parse_reg.c
+++ b/source3/rpc_parse/parse_reg.c
@@ -79,6 +79,46 @@ void reg_io_r_open_policy(char *desc, REG_R_OPEN_POLICY *r_r, prs_struct *ps, i
}
+/*******************************************************************
+creates a structure.
+********************************************************************/
+void make_reg_q_unk_b(REG_Q_UNK_B *q_u, POLICY_HND *pol)
+{
+ memcpy(&(q_u->pol), pol, sizeof(q_u->pol));
+}
+
+/*******************************************************************
+reads or writes a structure.
+********************************************************************/
+void reg_io_q_unk_b(char *desc, REG_Q_UNK_B *r_q, prs_struct *ps, int depth)
+{
+ if (r_q == NULL) return;
+
+ prs_debug(ps, depth, desc, "reg_io_q_unk_b");
+ depth++;
+
+ prs_align(ps);
+
+ smb_io_pol_hnd("", &(r_q->pol), ps, depth);
+}
+
+
+/*******************************************************************
+reads or writes a structure.
+********************************************************************/
+void reg_io_r_unk_b(char *desc, REG_R_UNK_B *r_r, prs_struct *ps, int depth)
+{
+ if (r_r == NULL) return;
+
+ prs_debug(ps, depth, desc, "reg_io_r_unk_b");
+ depth++;
+
+ prs_align(ps);
+
+ prs_uint32("status", ps, depth, &(r_r->status));
+}
+
+
/*******************************************************************
creates a structure.