diff options
author | Günther Deschner <gd@samba.org> | 2008-02-04 10:12:08 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-02-04 10:12:08 +0100 |
commit | bea5ea5cad90e8a10ea5aadebf62f917faa60cf1 (patch) | |
tree | a60bcf5e32720e920e7370bd49d4b208b23677fd /source3 | |
parent | 72d0deddc46a12363f930596e1823105caad5f24 (diff) | |
download | samba-bea5ea5cad90e8a10ea5aadebf62f917faa60cf1.tar.gz samba-bea5ea5cad90e8a10ea5aadebf62f917faa60cf1.tar.bz2 samba-bea5ea5cad90e8a10ea5aadebf62f917faa60cf1.zip |
Remove unused marshalling for EVENTLOG_GET_NUM_RECORDS.
Guenther
(This used to be commit 0c8e0916d7a7a403255c814536f1ebde3c5c9905)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/include/rpc_eventlog.h | 12 | ||||
-rw-r--r-- | source3/rpc_parse/parse_eventlog.c | 39 |
2 files changed, 0 insertions, 51 deletions
diff --git a/source3/include/rpc_eventlog.h b/source3/include/rpc_eventlog.h index 9ec76a071c..9789d26845 100644 --- a/source3/include/rpc_eventlog.h +++ b/source3/include/rpc_eventlog.h @@ -83,18 +83,6 @@ typedef struct { typedef struct { POLICY_HND handle; -} EVENTLOG_Q_GET_NUM_RECORDS; - -typedef struct { - uint32 num_records; - NTSTATUS status; -} EVENTLOG_R_GET_NUM_RECORDS; - - -/***********************************/ - -typedef struct { - POLICY_HND handle; } EVENTLOG_Q_GET_OLDEST_ENTRY; typedef struct { diff --git a/source3/rpc_parse/parse_eventlog.c b/source3/rpc_parse/parse_eventlog.c index 70226bca15..37fd5b17e0 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_num_records(const char *desc, EVENTLOG_Q_GET_NUM_RECORDS *q_u, - prs_struct *ps, int depth) -{ - if(q_u == NULL) - return False; - - prs_debug(ps, depth, desc, "eventlog_io_q_get_num_records"); - 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_num_records(const char *desc, EVENTLOG_R_GET_NUM_RECORDS *r_u, - prs_struct *ps, int depth) -{ - if(r_u == NULL) - return False; - - prs_debug(ps, depth, desc, "eventlog_io_r_get_num_records"); - depth++; - - if(!(prs_align(ps))) - return False; - - if(!(prs_uint32("num records", ps, depth, &(r_u->num_records)))) - return False; - - if(!(prs_ntstatus("status code", ps, depth, &r_u->status))) - return False; - - return True; -} - bool eventlog_io_q_get_oldest_entry(const char *desc, EVENTLOG_Q_GET_OLDEST_ENTRY *q_u, prs_struct *ps, int depth) { |