aboutsummaryrefslogtreecommitdiff
path: root/src/direvent.h
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2016-06-20 13:59:30 +0300
committerSergey Poznyakoff <gray@gnu.org>2016-06-20 13:59:30 +0300
commitc0c95c69115dadc90aa69ddc3dc5792004f43d5e (patch)
treeef06ea932fb2bb226607692339e90a3cb57a4d4a /src/direvent.h
parent83c72b3c8500c2f1ff43c557d80d4e5a7e7669f2 (diff)
downloaddirevent-c0c95c69115dadc90aa69ddc3dc5792004f43d5e.tar.gz
direvent-c0c95c69115dadc90aa69ddc3dc5792004f43d5e.tar.bz2
Implement search path for #include and #include_once.
* src/Makefile.am (AM_CPPFLAGS): Define INCLUDE_PATH_ARGS * src/cmdline.opt: New option --include-directory (-I). (help_hook): Print the actual content of the include search path. * src/config.c (config_finish): Remove. (config_init): New function. Set up include search path. (config_parse): New function. * src/direvent.c (main): Call config_init and config_parse. * src/direvent.h (config_finish): Remove. (config_init,config_parse): New proto. * grecs: Upgrade. * NEWS: Document changes. * README: Document the --with-include-path option. * configure.ac: New option --with-include-path. * doc/direvent.8: Document the -I option and include search paths. * doc/direvent.conf.5: Document include search paths. * doc/direvent.texi: Document the -I option and include search paths.
Diffstat (limited to 'src/direvent.h')
-rw-r--r--src/direvent.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/direvent.h b/src/direvent.h
index 3ce4693..2cd5344 100644
--- a/src/direvent.h
+++ b/src/direvent.h
@@ -201,8 +201,7 @@ struct pathent {
};
void config_help(void);
-struct grecs_node;
-void config_finish(struct grecs_node *tree);
+void config_init(void);
void config_parse(const char *file);
int get_facility(const char *arg);

Return to:

Send suggestions and report system problems to the System administrator.