diff options
author | Gerald Carter <jerry@samba.org> | 2006-09-11 22:02:34 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:51:22 -0500 |
commit | 5e1146ab5845169aba57dcd216f88589276e5df8 (patch) | |
tree | d82b7eaebe963350ba974378aff5f0e258a8f0f8 /source3/rpc_parse | |
parent | 68a2430c526ae4b94ecec9690a64936299808140 (diff) | |
download | samba-5e1146ab5845169aba57dcd216f88589276e5df8.tar.gz samba-5e1146ab5845169aba57dcd216f88589276e5df8.tar.bz2 samba-5e1146ab5845169aba57dcd216f88589276e5df8.zip |
r18404: * swap from POLICY_HND to the struct policy_handle from ndr/misc.h
* move OUR_HANDLE macro to include/rpc_misc.h
(This used to be commit 2b37079af2f569df7a58878150a61980c6fe06ee)
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r-- | source3/rpc_parse/parse_misc.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/source3/rpc_parse/parse_misc.c b/source3/rpc_parse/parse_misc.c index 541d2d771f..ef4d0e7689 100644 --- a/source3/rpc_parse/parse_misc.c +++ b/source3/rpc_parse/parse_misc.c @@ -1695,15 +1695,9 @@ BOOL smb_io_pol_hnd(const char *desc, POLICY_HND *pol, prs_struct *ps, int depth if(UNMARSHALLING(ps)) ZERO_STRUCTP(pol); - if (!prs_uint32("data1", ps, depth, &pol->data1)) + if (!prs_uint32("handle_type", ps, depth, &pol->handle_type)) return False; - if (!prs_uint32("data2", ps, depth, &pol->data2)) - return False; - if (!prs_uint16("data3", ps, depth, &pol->data3)) - return False; - if (!prs_uint16("data4", ps, depth, &pol->data4)) - return False; - if(!prs_uint8s (False, "data5", ps, depth, pol->data5, sizeof(pol->data5))) + if (!smb_io_uuid("uuid", (struct uuid*)&pol->uuid, ps, depth)) return False; return True; |