aboutsummaryrefslogtreecommitdiff
path: root/src/grecs.h
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2011-05-07 01:47:16 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2011-05-07 01:49:38 +0300
commit72b77743f20f909e83eacca3b47558d943ac2fcb (patch)
tree51cb9c4a5ba7324fa8525fb04cda9603c21897e1 /src/grecs.h
parented39daa568d162617a183497010d70a55a38ae73 (diff)
downloadgrecs-72b77743f20f909e83eacca3b47558d943ac2fcb.tar.gz
grecs-72b77743f20f909e83eacca3b47558d943ac2fcb.tar.bz2
Implement tree join.
* src/join.c: New file. * src/Make.am: Add join.c * src/grecs.h (grecs_tree_join): New function. * tests/gcffmt.c (main): If several files are given, process them all and join the resulting trees. * tests/join.at: New testcase. * tests/testsuite.at: Include join.at. * tests/Makefile.am: Add join.at.
Diffstat (limited to 'src/grecs.h')
-rw-r--r--src/grecs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/grecs.h b/src/grecs.h
index dabcf7c..f32fc1f 100644
--- a/src/grecs.h
+++ b/src/grecs.h
@@ -330,6 +330,7 @@ typedef enum grecs_tree_recurse_res
int grecs_tree_recurse(struct grecs_node *node, grecs_tree_recursor_t recfun,
void *data);
+int grecs_tree_join(struct grecs_node *dst, struct grecs_node *src);
int grecs_tree_process(struct grecs_node *node, struct grecs_keyword *kwd);

Return to:

Send suggestions and report system problems to the System administrator.