diff options
author | Gerald Carter <jerry@samba.org> | 2005-10-17 15:53:12 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:05:00 -0500 |
commit | c246649e3d7fb828b6d1c9531dfea40c92e2e368 (patch) | |
tree | e4682f4d5fc5e5abb83af9ab2c2d90f27777a722 /source3/utils/eventlogadm.c | |
parent | 1c5c61e3703ffca912f81496324ce82c2f19efa0 (diff) | |
download | samba-c246649e3d7fb828b6d1c9531dfea40c92e2e368.tar.gz samba-c246649e3d7fb828b6d1c9531dfea40c92e2e368.tar.xz 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/eventlogadm.c')
-rw-r--r-- | source3/utils/eventlogadm.c | 7 |
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': |