summaryrefslogtreecommitdiffstats
path: root/ulogd/cftest
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2008-05-18 18:35:35 +0200
committerPatrick McHardy <kaber@trash.net>2008-05-18 18:35:35 +0200
commit835110044bd970518e10b28348ce6619818ce363 (patch)
tree76abdc04a3b9b8a29e3daded34cb2779a939df9b /ulogd/cftest
parentdce17ab4526920f1930f1fee4245ea66c33093ec (diff)
Remove obsolete patches and files and move ulogd to repository top-level directory
Diffstat (limited to 'ulogd/cftest')
-rw-r--r--ulogd/cftest/cftest.c30
-rw-r--r--ulogd/cftest/test.txt3
2 files changed, 0 insertions, 33 deletions
diff --git a/ulogd/cftest/cftest.c b/ulogd/cftest/cftest.c
deleted file mode 100644
index b99882b..0000000
--- a/ulogd/cftest/cftest.c
+++ /dev/null
@@ -1,30 +0,0 @@
-#include <unistd.h>
-#include <stdio.h>
-#include "conffile.h"
-
-int bla(char *args)
-{
- printf("bla called: %s\n", args);
- return 0;
-}
-int main()
-{
- config_entry_t e,f;
- memset(&e, 0, sizeof(config_entry_t));
- strcpy(e.key, "zeile");
- e.u.parser = bla;
- e.type = CONFIG_TYPE_CALLBACK;
- config_register_key(&e);
-
- strcpy(f.key, "spalte");
- f.type = CONFIG_TYPE_STRING;
- f.options |= CONFIG_OPT_MANDATORY;
- f.u.str.string = (char *) malloc(100);
- f.u.str.maxlen = 99;
- config_register_key(&f);
-
- config_parse_file("test.txt");
- printf("SPALTE: %s\n", f.u.str.string);
-
- exit(0);
-}
diff --git a/ulogd/cftest/test.txt b/ulogd/cftest/test.txt
deleted file mode 100644
index 3c0b663..0000000
--- a/ulogd/cftest/test.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-zeile zeile1
-spalte 0815
-asdfasf