[sr-dev] do_action error

Juha Heinanen jh at tutpro.com
Thu Nov 12 10:44:56 CET 2009


Andrei Pelinescu-Onciul writes:

 > I haven't thought that someone might use do_action() w/ APPEND_BRANCH_T
 >  instead of directly using append_branch().

andrei,

as i mentioned, i converted the do action thing to append_branch.  i
still have in lcr module this:

 	memset(&act, '\0', sizeof(act));
	act.type = SET_URI_T;
	act.val[0].type = STRING_ST;
	act.val[0].u.string = r_uri;
	init_run_actions_ctx(&ra_ctx);
	rval = do_action(&ra_ctx, &act, _m);

is there a similar high-level replacement for SET_URI_T do_action?

-- juha



More information about the sr-dev mailing list