root/source3/include/eventlog.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   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 /* Defines for TDB keys */
  21 #define  EVT_OLDEST_ENTRY  "INFO/oldest_entry"
  22 #define  EVT_NEXT_RECORD   "INFO/next_record"
  23 #define  EVT_VERSION       "INFO/version"
  24 #define  EVT_MAXSIZE       "INFO/maxsize"
  25 #define  EVT_RETENTION     "INFO/retention"
  26 
  27 #define ELOG_APPL       "Application"
  28 #define ELOG_SYS        "System"
  29 #define ELOG_SEC        "Security"
  30 
  31 typedef struct elog_tdb {
  32         struct elog_tdb *prev, *next;
  33         char *name;
  34         TDB_CONTEXT *tdb;
  35         int ref_count;
  36 } ELOG_TDB;
  37 
  38 #define ELOG_TDB_CTX(x) ((x)->tdb)
  39 
  40 
  41 #define  EVENTLOG_DATABASE_VERSION_V1    1

/* [<][>][^][v][top][bottom][index][help] */