From c3ded5c8c28c37e87e53820da269ed2d9ccc608a Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Mon, 16 Feb 2009 13:26:25 +0100 Subject: [PATCH] src/filter_chain.c: Document the `meta' argument passed to matches and targets inline. --- src/filter_chain.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/filter_chain.c b/src/filter_chain.c index 4c324a80..e7f51d88 100644 --- a/src/filter_chain.c +++ b/src/filter_chain.c @@ -915,6 +915,7 @@ int fc_process_chain (const data_set_t *ds, value_list_t *vl, /* {{{ */ /* N. B.: rule->matches may be NULL. */ for (match = rule->matches; match != NULL; match = match->next) { + /* FIXME: Pass the meta-data to match targets here (when implemented). */ status = (*match->proc.match) (ds, vl, /* meta = */ NULL, &match->user_data); if (status < 0) @@ -943,6 +944,7 @@ int fc_process_chain (const data_set_t *ds, value_list_t *vl, /* {{{ */ { /* If we get here, all matches have matched the value. Execute the * target. */ + /* FIXME: Pass the meta-data to match targets here (when implemented). */ status = (*target->proc.invoke) (ds, vl, /* meta = */ NULL, &target->user_data); if (status < 0) @@ -999,6 +1001,7 @@ int fc_process_chain (const data_set_t *ds, value_list_t *vl, /* {{{ */ { /* If we get here, all matches have matched the value. Execute the * target. */ + /* FIXME: Pass the meta-data to match targets here (when implemented). */ status = (*target->proc.invoke) (ds, vl, /* meta = */ NULL, &target->user_data); if (status < 0) @@ -1044,6 +1047,7 @@ int fc_process_chain (const data_set_t *ds, value_list_t *vl, /* {{{ */ * matches match. */ int fc_default_action (const data_set_t *ds, value_list_t *vl) /* {{{ */ { + /* FIXME: Pass the meta-data to match targets here (when implemented). */ return (fc_bit_write_invoke (ds, vl, /* meta = */ NULL, /* user_data = */ NULL)); } /* }}} int fc_default_action */ -- 2.11.0