summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-10-17 15:53:12 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:05:00 -0500
commitc246649e3d7fb828b6d1c9531dfea40c92e2e368 (patch)
treee4682f4d5fc5e5abb83af9ab2c2d90f27777a722 /source3/utils
parent1c5c61e3703ffca912f81496324ce82c2f19efa0 (diff)
downloadsamba-c246649e3d7fb828b6d1c9531dfea40c92e2e368.tar.gz
samba-c246649e3d7fb828b6d1c9531dfea40c92e2e368.tar.bz2
samba-c246649e3d7fb828b6d1c9531dfea40c92e2e368.zip
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)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/eventlogadm.c7
1 files changed, 6 insertions, 1 deletions
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':