From 6ef102b012088a39423aaa9c47884d4b1944d80b Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Sat, 12 Feb 2000 09:53:43 +0000 Subject: patch from lars (clean-up) --- source/winregd/srv_reg_nt.c | 35 ++--------------------------------- 1 file changed, 2 insertions(+), 33 deletions(-) (limited to 'source/winregd') diff --git a/source/winregd/srv_reg_nt.c b/source/winregd/srv_reg_nt.c index e1ef5ae826a..34809599f38 100644 --- a/source/winregd/srv_reg_nt.c +++ b/source/winregd/srv_reg_nt.c @@ -102,7 +102,7 @@ static void reg_reply_close(REG_Q_CLOSE *q_r, #endif /******************************************************************* - reg_reply_unknown_1 + _reg_close ********************************************************************/ uint32 _reg_close(POLICY_HND *pol) { @@ -115,7 +115,7 @@ uint32 _reg_close(POLICY_HND *pol) } /******************************************************************* - reg_reply_open + _reg_open ********************************************************************/ uint32 _reg_open(POLICY_HND *pol, uint32 access_mask) { @@ -167,37 +167,6 @@ uint32 _reg_open_entry(const POLICY_HND* pol, const UNISTR2* uni_name, uint32 un #if 0 -/******************************************************************* - api_reg_open_entry - ********************************************************************/ -static BOOL api_reg_open_entry( rpcsrv_struct *p, prs_struct *data, - prs_struct *rdata ) -{ - POLICY_HND entry_pol; - REG_Q_OPEN_ENTRY q_u; - REG_R_OPEN_ENTRY r_u; - ZERO_STRUCT(q_u); - ZERO_STRUCT(r_u); - - /* grab the reg open entry */ - if (!reg_io_q_open_entry("", &q_u, data, 0)) - { - return False; - } - - memcpy(&r_u.pol, &q_u.pol, sizeof(POLICY_HND)); - - /* construct reply. */ - - r_u.status = _reg_open_entry(&q_u.pol,&q_u.uni_name,q_u.unknown_0,q_u.access_mask,&entry_pol); - - make_reg_r_open_entry(&r_u, &entry_pol, r_u.status); - - /* store the response in the SMB stream */ - return reg_io_r_open_entry("", &r_u, rdata, 0); -} - - /******************************************************************* reg_reply_info ********************************************************************/ -- cgit v1.2.1