source: vendor/3.6.23/source3/lib/eventlog/eventlog.h

Last change on this file was 740, checked in by Silvan Scherrer, 13 years ago

Samba Server: update vendor to 3.6.0

File size: 1.4 KB
Line 
1/*
2 * Unix SMB/CIFS implementation.
3 * RPC Pipe client / server routines
4 * Copyright (C) Marcin Krzysztof Porwit 2005.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, see <http://www.gnu.org/licenses/>.
18 */
19
20#include <tdb.h>
21
22/* Defines for TDB keys */
23#define EVT_OLDEST_ENTRY "INFO/oldest_entry"
24#define EVT_NEXT_RECORD "INFO/next_record"
25#define EVT_VERSION "INFO/version"
26#define EVT_MAXSIZE "INFO/maxsize"
27#define EVT_RETENTION "INFO/retention"
28
29#define ELOG_APPL "Application"
30#define ELOG_SYS "System"
31#define ELOG_SEC "Security"
32
33typedef struct elog_tdb {
34 struct elog_tdb *prev, *next;
35 char *name;
36 TDB_CONTEXT *tdb;
37 int ref_count;
38} ELOG_TDB;
39
40#define ELOG_TDB_CTX(x) ((x)->tdb)
41
42#define EVENTLOG_DATABASE_VERSION_V1 1
43
44#include "../librpc/gen_ndr/ndr_eventlog.h"
45#include "lib/eventlog/proto.h"
Note: See TracBrowser for help on using the repository browser.