summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-04 10:56:16 +0100
committerGünther Deschner <gd@samba.org>2008-02-04 10:56:16 +0100
commit2fd872fea7576497a24c1d981f3253dc3f042a04 (patch)
tree4d78e84efd8c88e26f380f162c7a60d2dcdb8d69 /source3
parent221a2a9a5f974fd428e83753af1b70f37332e184 (diff)
downloadsamba-2fd872fea7576497a24c1d981f3253dc3f042a04.tar.gz
samba-2fd872fea7576497a24c1d981f3253dc3f042a04.tar.bz2
samba-2fd872fea7576497a24c1d981f3253dc3f042a04.zip
Remove unused marshalling for EVENTLOG_CLEAR_EVENTLOG.
Guenther (This used to be commit badbdf1b88b270d298d44ed6fddb0c31fbcb3717)
Diffstat (limited to 'source3')
-rw-r--r--source3/include/rpc_eventlog.h12
-rw-r--r--source3/rpc_parse/parse_eventlog.c38
2 files changed, 0 insertions, 50 deletions
diff --git a/source3/include/rpc_eventlog.h b/source3/include/rpc_eventlog.h
index df17159eac..6b07b82daf 100644
--- a/source3/include/rpc_eventlog.h
+++ b/source3/include/rpc_eventlog.h
@@ -141,16 +141,4 @@ typedef struct {
NTSTATUS status;
} EVENTLOG_R_READ_EVENTLOG;
-
-/***********************************/
-
-typedef struct {
- POLICY_HND handle;
- UNISTR4 backupfile;
-} EVENTLOG_Q_CLEAR_EVENTLOG;
-
-typedef struct {
- NTSTATUS status;
-} EVENTLOG_R_CLEAR_EVENTLOG;
-
#endif /* _RPC_EVENTLOG_H */
diff --git a/source3/rpc_parse/parse_eventlog.c b/source3/rpc_parse/parse_eventlog.c
index 3e7af74cbb..0a4bf93048 100644
--- a/source3/rpc_parse/parse_eventlog.c
+++ b/source3/rpc_parse/parse_eventlog.c
@@ -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;
-}