andrei,
one question regarding this:
static int foo_var(struct sip_msg* msg, int argc, action_u_t argv[]) { int i; for (i = 0; i < argc; i++) do_something(argv[i].u.string); return 1; }
what is value of argc if there is no params? why argc tells the number of params - 1 rather than the number of params?
-- juha