| 160 | /************* Functions related to ASYNC Launch support ***************/ |
| 161 | |
| 162 | int launch_route_param_get(struct sip_msg *msg, pv_param_t *ip, |
| 163 | pv_value_t *res, void *params, void *extra) |
| 164 | { |
| 165 | str *val = (str*)params; |
| 166 | |
| 167 | /* we do accept here only one param with index */ |
| 168 | if (ip->pvn.type!=PV_NAME_INTSTR || ip->pvn.u.isname.type!=0 |
| 169 | || ip->pvn.u.isname.name.n!=1) |
| 170 | return pv_get_null(msg, ip, res); |
| 171 | |
| 172 | res->flags = PV_VAL_STR; |
| 173 | res->rs.s =val->s; |
| 174 | res->rs.len = val->len; |
| 175 | |
| 176 | return 0; |
| 177 | } |
| 178 | |
| 179 | |
| 180 | int async_launch_resume(int fd, void *param) |
nothing calls this directly
no test coverage detected