summaryrefslogtreecommitdiff
path: root/pith
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2024-05-17 21:03:29 +0200
committerErich Eckner <git@eckner.net>2024-05-17 21:06:43 +0200
commite57c7d523224962ce2f55370b06fee94750db31c (patch)
tree92c7abaaf656efccd2fd98348ebc6966d8cf635f /pith
parent007f24aafcef892459aefd5a3f2676142260df20 (diff)
downloadalpine-e57c7d523224962ce2f55370b06fee94750db31c.tar.xz
split gf_io_t into gf_i_t and gf_o_trules
Diffstat (limited to 'pith')
-rw-r--r--pith/rules.c3
-rw-r--r--pith/state.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/pith/rules.c b/pith/rules.c
index 3ab373e2..9792ed8f 100644
--- a/pith/rules.c
+++ b/pith/rules.c
@@ -1365,7 +1365,8 @@ char *
exec_fcn (RULEACTION_S *action, int ctxt, ENVELOPE *env)
{
STORE_S *output_so;
- gf_io_t gc, pc;
+ gf_i_t gc;
+ gf_o_t pc;
char *status, *rv, *cmd, *test;
if(!(action->context & ctxt))
diff --git a/pith/state.h b/pith/state.h
index 40e6dfd0..188f3922 100644
--- a/pith/state.h
+++ b/pith/state.h
@@ -367,7 +367,7 @@ struct pine {
struct {
char *(*display_filter)(char *, STORE_S *, gf_o_t, FILTLIST_S *);
char *(*display_filter_trigger)(BODY *, char *, size_t);
- char *(*exec_rule)(char *, gf_io_t, gf_io_t);
+ char *(*exec_rule)(char *, gf_i_t, gf_o_t);
} tools;
KEYWORD_S *keywords;