summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-04 10:45:50 +0100
committerGünther Deschner <gd@samba.org>2008-02-04 10:45:50 +0100
commit2432628b141607c6edc66974cfec178a4d842989 (patch)
treef0c837873bac9542d3e12b5d2147bc52172cdb52 /source3
parent8d20f3f9995219ed9459b6c96a2c1285a2b9c204 (diff)
downloadsamba-2432628b141607c6edc66974cfec178a4d842989.tar.gz
samba-2432628b141607c6edc66974cfec178a4d842989.tar.bz2
samba-2432628b141607c6edc66974cfec178a4d842989.zip
Remove unused marshalling for EVENTLOG_GET_OLDEST_ENTRY.
Guenther (This used to be commit f837fff80ef369133761f7a33a616fd4721c5a68)
Diffstat (limited to 'source3')
-rw-r--r--source3/include/rpc_eventlog.h12
-rw-r--r--source3/rpc_parse/parse_eventlog.c39
2 files changed, 0 insertions, 51 deletions
diff --git a/source3/include/rpc_eventlog.h b/source3/include/rpc_eventlog.h
index 9789d26845..df17159eac 100644
--- a/source3/include/rpc_eventlog.h
+++ b/source3/include/rpc_eventlog.h
@@ -81,18 +81,6 @@ typedef struct {
/***********************************/
-typedef struct {
- POLICY_HND handle;
-} EVENTLOG_Q_GET_OLDEST_ENTRY;
-
-typedef struct {
- uint32 oldest_entry;
- NTSTATUS status;
-} EVENTLOG_R_GET_OLDEST_ENTRY;
-
-
-/***********************************/
-
typedef struct
{
POLICY_HND handle;
diff --git a/source3/rpc_parse/parse_eventlog.c b/source3/rpc_parse/parse_eventlog.c
index 37fd5b17e0..4586abe23e 100644
--- a/source3/rpc_parse/parse_eventlog.c
+++ b/source3/rpc_parse/parse_eventlog.c
@@ -95,45 +95,6 @@ bool eventlog_io_r_open_eventlog(const char *desc, EVENTLOG_R_OPEN_EVENTLOG *r_u
return True;
}
-bool eventlog_io_q_get_oldest_entry(const char *desc, EVENTLOG_Q_GET_OLDEST_ENTRY *q_u,
- prs_struct *ps, int depth)
-{
- if(q_u == NULL)
- return False;
-
- prs_debug(ps, depth, desc, "eventlog_io_q_get_oldest_entry");
- depth++;
-
- if(!(prs_align(ps)))
- return False;
-
- if(!(smb_io_pol_hnd("log handle", &(q_u->handle), ps, depth)))
- return False;
-
- return True;
-}
-
-bool eventlog_io_r_get_oldest_entry(const char *desc, EVENTLOG_R_GET_OLDEST_ENTRY *r_u,
- prs_struct *ps, int depth)
-{
- if(r_u == NULL)
- return False;
-
- prs_debug(ps, depth, desc, "eventlog_io_r_get_oldest_entry");
- depth++;
-
- if(!(prs_align(ps)))
- return False;
-
- if(!(prs_uint32("oldest entry", ps, depth, &(r_u->oldest_entry))))
- return False;
-
- if(!(prs_ntstatus("status code", ps, depth, &r_u->status)))
- return False;
-
- return True;
-}
-
bool eventlog_io_q_read_eventlog(const char *desc, EVENTLOG_Q_READ_EVENTLOG *q_u,
prs_struct *ps, int depth)
{