[sr-dev] run_top_route prototype

Daniel-Constantin Mierla miconda at gmail.com
Fri Jul 3 15:02:11 CEST 2009


Hello,

i am thinking of updating the prototype from:
int run_top_route(struct action* a, sip_msg_t* msg)
to:
int run_top_route(struct action* a, sip_msg_t* msg, struct run_act_ctx *h)

to be able to access to action context from calling function (useful to 
check run_flags for example when calling event_route). If h is null, 
then local declared context is to used, like now.

I will update all invocations, if there is nothing against.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
http://www.asipto.com/




More information about the sr-dev mailing list