summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-05-06 11:42:52 +0200
committerGünther Deschner <gd@samba.org>2010-05-06 13:41:51 +0200
commitd2d7174394c1283a3ae8e313f9a6d97df8708334 (patch)
tree430ed97dd05c1244aab7dcf6346a5f14d6ef18c0 /source3/include/proto.h
parent0dfe1b9b13d9caec4ebda37a792e7eaa0b9c7200 (diff)
downloadsamba-d2d7174394c1283a3ae8e313f9a6d97df8708334.tar.gz
samba-d2d7174394c1283a3ae8e313f9a6d97df8708334.tar.bz2
samba-d2d7174394c1283a3ae8e313f9a6d97df8708334.zip
s3-eventlog: move all eventlog headers to lib/eventlog and only include where required.
Guenther
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r--source3/include/proto.h36
1 files changed, 0 insertions, 36 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 9c169ed11c..43de9e5b33 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -2107,7 +2107,6 @@ WERROR reg_apply_registry_entry(TALLOC_CTX *mem_ctx,
uint32_t flags);
-#include "librpc/gen_ndr/ndr_eventlog.h"
#include "librpc/gen_ndr/ndr_krb5pac.h"
#include "librpc/gen_ndr/ndr_spoolss.h"
@@ -5760,41 +5759,6 @@ void init_rpc_hdr_auth(RPC_HDR_AUTH *rai,
uint32 auth_context_id);
bool smb_io_rpc_hdr_auth(const char *desc, RPC_HDR_AUTH *rai, prs_struct *ps, int depth);
-/* The following definitions come from lib/eventlog/eventlog.c */
-
-TDB_CONTEXT *elog_init_tdb( char *tdbfilename );
-char *elog_tdbname(TALLOC_CTX *ctx, const char *name );
-int elog_tdb_size( TDB_CONTEXT * tdb, int *MaxSize, int *Retention );
-bool prune_eventlog( TDB_CONTEXT * tdb );
-ELOG_TDB *elog_open_tdb( const char *logname, bool force_clear, bool read_only );
-int elog_close_tdb( ELOG_TDB *etdb, bool force_close );
-bool parse_logentry( TALLOC_CTX *mem_ctx, char *line, struct eventlog_Record_tdb *entry, bool * eor );
-size_t fixup_eventlog_record_tdb(struct eventlog_Record_tdb *r);
-struct eventlog_Record_tdb *evlog_pull_record_tdb(TALLOC_CTX *mem_ctx,
- TDB_CONTEXT *tdb,
- uint32_t record_number);
-NTSTATUS evlog_push_record_tdb(TALLOC_CTX *mem_ctx,
- TDB_CONTEXT *tdb,
- struct eventlog_Record_tdb *r,
- uint32_t *record_number);
-NTSTATUS evlog_push_record(TALLOC_CTX *mem_ctx,
- TDB_CONTEXT *tdb,
- struct EVENTLOGRECORD *r,
- uint32_t *record_number);
-struct EVENTLOGRECORD *evlog_pull_record(TALLOC_CTX *mem_ctx,
- TDB_CONTEXT *tdb,
- uint32_t record_number);
-NTSTATUS evlog_evt_entry_to_tdb_entry(TALLOC_CTX *mem_ctx,
- const struct EVENTLOGRECORD *e,
- struct eventlog_Record_tdb *t);
-NTSTATUS evlog_tdb_entry_to_evt_entry(TALLOC_CTX *mem_ctx,
- const struct eventlog_Record_tdb *t,
- struct EVENTLOGRECORD *e);
-NTSTATUS evlog_convert_tdb_to_evt(TALLOC_CTX *mem_ctx,
- ELOG_TDB *etdb,
- DATA_BLOB *blob_p,
- uint32_t *num_records_p);
-
/* The following definitions come from rpc_server/srv_eventlog_nt.c */
/* The following definitions come from rpc_server/srv_lsa_hnd.c */