summaryrefslogtreecommitdiffhomepage
path: root/src/conffile.h
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2004-08-13 20:19:50 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2004-08-13 20:19:50 +0000
commit9d0466784892c7768c68e0bd02cf76db2ab1185a (patch)
treee96634ed94e7a32108b4242a5f5af8111812d16b /src/conffile.h
parentb3943c21f2862dc180d47248fb02a990dc977432 (diff)
Added the new configuration parsing system (conffile.c and
conffile.h.) The new system is intended to replace the existing grammar.y and scanner.l files. I don't want to depend on flex/bison any longer.
Diffstat (limited to 'src/conffile.h')
-rw-r--r--src/conffile.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/conffile.h b/src/conffile.h
new file mode 100644
index 0000000..518bf3b
--- /dev/null
+++ b/src/conffile.h
@@ -0,0 +1,24 @@
+/* $Id: conffile.h,v 1.1 2004-08-13 20:19:50 rjkaes Exp $
+ *
+ * See 'conffile.c' for more details.
+ *
+ * Copyright (C) 2004 Robert James Kaes (rjkaes@users.sourceforge.net)
+ *
+ * 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 2, 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.
+ */
+
+#ifndef TINYPROXY_CONFFILE_H
+#define TINYPROXY_CONFFILE_H
+
+extern int config_compile(void);
+extern int config_parse(struct config_s* conf, FILE* f);
+
+#endif