diff options
author | Günther Deschner <gd@samba.org> | 2009-01-22 19:46:14 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-02-03 15:44:06 +0100 |
commit | 8fb6b18bac436d4babdafc4d8b97de70881c1238 (patch) | |
tree | d74bd2572e2e9e71f7e4561d6e7553b11f1bc96c /source3/include | |
parent | 35f1e02ca4c31214e85b7c25d8f695eb035871d7 (diff) | |
download | samba-8fb6b18bac436d4babdafc4d8b97de70881c1238.tar.gz samba-8fb6b18bac436d4babdafc4d8b97de70881c1238.tar.bz2 samba-8fb6b18bac436d4babdafc4d8b97de70881c1238.zip |
s3-eventlog: allow to open eventlog tdbs readonly.
Guenther
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index dfe42db245..f68c354642 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -6258,7 +6258,7 @@ 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 ); bool can_write_to_eventlog( TDB_CONTEXT * tdb, int32 needed ); -ELOG_TDB *elog_open_tdb( char *logname, bool force_clear ); +ELOG_TDB *elog_open_tdb( char *logname, bool force_clear, bool read_only ); int elog_close_tdb( ELOG_TDB *etdb, bool force_close ); int write_eventlog_tdb( TDB_CONTEXT * the_tdb, Eventlog_entry * ee ); void fixup_eventlog_entry( Eventlog_entry * ee ); |