summaryrefslogtreecommitdiffstats
path: root/filter.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2011-10-22 16:18:11 -0400
committerKaz Kylheku <kaz@kylheku.com>2011-10-22 16:18:11 -0400
commit6ddb4b8f329b14e6133f29573cfeb88d1ee30846 (patch)
tree3aa77c66532cf7aaaaf8aa7e9b05d9a634dfd2a7 /filter.h
parent70a3b3ae47671a8a73ac517cd7c3f6a4bce782e5 (diff)
downloadtxr-6ddb4b8f329b14e6133f29573cfeb88d1ee30846.tar.gz
txr-6ddb4b8f329b14e6133f29573cfeb88d1ee30846.tar.bz2
txr-6ddb4b8f329b14e6133f29573cfeb88d1ee30846.zip
* filter.c (get_filter_trie): Function renamed to get_filter. A filter
is not necessarily a trie. (string_filter, compound_filter): New functions. (get_filter): Recognize a compound filters and return a function which implements it. * filter.h (get_filter_trie): Declaration renamed. * match.c (format_field, v_bind, v_output): Follow get_filter_trie rename. Error message text updated. * txr.1: Describe compound filters.
Diffstat (limited to 'filter.h')
-rw-r--r--filter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter.h b/filter.h
index 7f37fa7c..d0d7d34b 100644
--- a/filter.h
+++ b/filter.h
@@ -30,7 +30,7 @@ extern val filter_k, to_html_k, from_html_k;
val trie_lookup_begin(val trie);
val trie_value_at(val node);
val trie_lookup_feed_char(val node, val ch);
-val get_filter_trie(val sym);
+val get_filter(val sym);
val filter_string(val trie, val str);
val filter_equal(val filter, val left, val right);
val register_filter(val sym, val table);