From c246649e3d7fb828b6d1c9531dfea40c92e2e368 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Mon, 17 Oct 2005 15:53:12 +0000 Subject: r11123: * patches from Brian Moran for creating new eventlog source keys * my patches to get registry utility functions linking with eventlogadm tool (This used to be commit 24e7663086f5d15c7e3fd8069667169b91d1acda) --- source3/utils/eventlogadm.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'source3/utils') diff --git a/source3/utils/eventlogadm.c b/source3/utils/eventlogadm.c index bb3c1bc9bb..172f2b9cd2 100644 --- a/source3/utils/eventlogadm.c +++ b/source3/utils/eventlogadm.c @@ -1,6 +1,7 @@ /* * Samba Unix/Linux SMB client utility - * Write Eventlog records to a tdb + * Write Eventlog records to a tdb, perform other eventlog related functions + * * * Copyright (C) Brian Moran 2005. * @@ -74,6 +75,10 @@ int main( int argc, char *argv[] ) exename = argv[0]; +#if 1 /* TESTING CODE */ + eventlog_add_source("System","TestSourceX","SomeTestPathX"); +#endif + while ( ( opt = getopt( argc, argv, "dh" ) ) != -1 ) { switch ( opt ) { case 'h': -- cgit