mirror of
https://github.com/samba-team/samba.git
synced 2025-11-16 20:23:50 +03:00
Remove unused marshalling for EVENTLOG_CLEAR_EVENTLOG.
Guenther
This commit is contained in:
@@ -261,41 +261,3 @@ bool eventlog_io_r_read_eventlog(const char *desc,
|
||||
|
||||
return True;
|
||||
}
|
||||
|
||||
bool eventlog_io_q_clear_eventlog(const char *desc, EVENTLOG_Q_CLEAR_EVENTLOG *q_u,
|
||||
prs_struct *ps, int depth)
|
||||
{
|
||||
if(q_u == NULL)
|
||||
return False;
|
||||
|
||||
prs_debug(ps, depth, desc, "eventlog_io_q_clear_eventlog");
|
||||
depth++;
|
||||
|
||||
if(!prs_align(ps))
|
||||
return False;
|
||||
if(!(smb_io_pol_hnd("log handle", &(q_u->handle), ps, depth)))
|
||||
return False;
|
||||
|
||||
if ( !prs_unistr4("backupfile", ps, depth, &q_u->backupfile) )
|
||||
return False;
|
||||
|
||||
return True;
|
||||
|
||||
}
|
||||
|
||||
bool eventlog_io_r_clear_eventlog(const char *desc, EVENTLOG_R_CLEAR_EVENTLOG *r_u,
|
||||
prs_struct *ps, int depth)
|
||||
{
|
||||
if(r_u == NULL)
|
||||
return False;
|
||||
|
||||
prs_debug(ps, depth, desc, "eventlog_io_r_clear_eventlog");
|
||||
depth++;
|
||||
|
||||
if(!prs_align(ps))
|
||||
return False;
|
||||
if(!(prs_ntstatus("status code", ps, depth, &r_u->status)))
|
||||
return False;
|
||||
|
||||
return True;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user