Commit 8c62d6e3 authored by Pavel Machek's avatar Pavel Machek

Minor documentation update.

parent 468f2347
......@@ -631,10 +631,14 @@ i_same(struct f_inst *f1, struct f_inst *f2)
* arguments (a1, a2). Some instructinos contain pointer(s) to other
* instructions in their (a1, a2) fields.
*
* Filters use structure &f_val for its variables. Each &f_val contains
* type and value. Types are constants prefixed with %T_. Few of types
* are special; %T_RETURN can be or-ed with type to indicate that return
* from function/from whole filter should be forced.
* Filters use structure &f_val for its variables. Each &f_val
* contains type and value. Types are constants prefixed with %T_. Few
* of types are special; %T_RETURN can be or-ed with type to indicate
* that return from function/from whole filter should be
* forced. Important thing about &f_val s is that they may be copied
* with simple =. That's fine for all currently defined types: strings
* are read-only (and therefore okay), paths are copied for each
* operation (okay too).
*/
int
f_run(struct filter *filter, struct rte **rte, struct ea_list **tmp_attrs, struct linpool *tmp_pool, int flags)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment