diff options
Diffstat (limited to 'source3/registry')
-rw-r--r-- | source3/registry/reg_eventlog.c | 1 | ||||
-rw-r--r-- | source3/registry/reg_eventlog.h | 29 | ||||
-rw-r--r-- | source3/registry/reg_init_full.c | 1 |
3 files changed, 31 insertions, 0 deletions
diff --git a/source3/registry/reg_eventlog.c b/source3/registry/reg_eventlog.c index 43b6bb8968..b2bf69fa51 100644 --- a/source3/registry/reg_eventlog.c +++ b/source3/registry/reg_eventlog.c @@ -23,6 +23,7 @@ #include "includes.h" #include "registry.h" #include "reg_backend_db.h" +#include "reg_eventlog.h" #undef DBGC_CLASS #define DBGC_CLASS DBGC_REGISTRY diff --git a/source3/registry/reg_eventlog.h b/source3/registry/reg_eventlog.h new file mode 100644 index 0000000000..69f2f99aad --- /dev/null +++ b/source3/registry/reg_eventlog.h @@ -0,0 +1,29 @@ +/* + * Unix SMB/CIFS implementation. + * Virtual Windows Registry Layer + * Copyright (C) Marcin Krzysztof Porwit 2005, + * Copyright (C) Brian Moran 2005. + * Copyright (C) Gerald (Jerry) Carter 2005. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef _REG_EVENTLOG_H +#define _REG_EVENTLOG_H + +bool eventlog_init_keys(void); +bool eventlog_add_source( const char *eventlog, const char *sourcename, + const char *messagefile ); + +#endif /* _REG_EVENTLOG_H */ diff --git a/source3/registry/reg_init_full.c b/source3/registry/reg_init_full.c index a3604e6c38..265fed30ca 100644 --- a/source3/registry/reg_init_full.c +++ b/source3/registry/reg_init_full.c @@ -25,6 +25,7 @@ #include "reg_cachehook.h" #include "reg_backend_db.h" #include "reg_perfcount.h" +#include "reg_eventlog.h" #undef DBGC_CLASS #define DBGC_CLASS DBGC_REGISTRY |