| 887 | } |
| 888 | |
| 889 | static int mod_load(void) |
| 890 | { |
| 891 | if(register_pv_context("request", tm_pv_context_request)< 0) { |
| 892 | LM_ERR("Failed to register pv contexts\n"); |
| 893 | return -1; |
| 894 | } |
| 895 | |
| 896 | if(register_pv_context("reply", tm_pv_context_reply)< 0) { |
| 897 | LM_ERR("Failed to register pv contexts\n"); |
| 898 | return -1; |
| 899 | } |
| 900 | return 0; |
| 901 | } |
| 902 | |
| 903 | static int mod_init(void) |
| 904 | { |
nothing calls this directly
no test coverage detected