keyword arguments
Eddie Kohler
eddietwo at naugabutt.lcs.mit.edu
Tue Nov 14 12:38:19 EST 2000
Hey.
If your element takes a lot of arguments you may be interested in keyword
arguments which got added recently.
Now you can say for example
CheckTCPHeader(VERBOSE true, DETAILS false)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
these are keyword argumewnts
using a call like this:
cp_va_parse(conf, this, errh,
cpKeywords,
"VERBOSE", cpBool, "be verbose?", &verbose,
"DETAILS", cpBool, "keep detailed counts?", &details,
0);
love, ed
More information about the click
mailing list