summaryrefslogtreecommitdiffabout
path: root/src/grecs.h
authorSergey Poznyakoff <gray@gnu.org.ua>2011-05-16 16:31:53 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2011-05-16 16:31:53 (GMT)
commitc8865a0d524f3d545836bd4581329089a357661e (patch) (side-by-side diff)
tree4fc437a07086c4304e7ec2446be2a504a3dbd507 /src/grecs.h
parent50e703a9a92e755f928699b705612cd4153ffb9f (diff)
downloadgrecs-c8865a0d524f3d545836bd4581329089a357661e.tar.gz
grecs-c8865a0d524f3d545836bd4581329089a357661e.tar.bz2
Add bind testsuite.
* README.submodule: Update URL. * src/bind-lex.l (grecs_bind_new_source): Scan include path. * src/grecs.h (grecs_find_include_file): new proto. * src/preproc.c (try_file): Rename to grecs_find_include_file. Change signature and return type. All uses updated. * tests/Makefile.am (EXTRA_DIST): Add new configs. (TESTSUITE_AT): Add parser-bind.at. * tests/gcffmt.c: Add -I (-include) option. * tests/testsuite.at: Include parser-bind.at. * tests/bind.conf: New file. * tests/bind.dlz: New file. * tests/bind.ext.conf: New file. * tests/bind.int.conf: New file. * tests/bind.keys: New file. * tests/parser-bind.at: New file.
Diffstat (limited to 'src/grecs.h') (more/less context) (ignore whitespace changes)
-rw-r--r--src/grecs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/grecs.h b/src/grecs.h
index b839d71..5eef48d 100644
--- a/src/grecs.h
+++ b/src/grecs.h
@@ -263,6 +263,8 @@ int grecs_preproc_init(const char *name);
void grecs_preproc_done(void);
int grecs_preproc_run(const char *config_file, const char *extpp);
+char *grecs_find_include_file(const char *name, int allow_cwd);
+
FILE *grecs_preproc_extrn_start(const char *file, pid_t *ppid);
void grecs_preproc_extrn_shutdown(pid_t pid);

Return to:

Send suggestions and report system problems to the System administrator.