diff options
author | twilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-04-02 15:25:48 +0000 |
---|---|---|
committer | twilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-04-02 15:25:48 +0000 |
commit | 03c243323c91d0245abb28fa5404c9c1515b4f6d (patch) | |
tree | afc99e2b81810955ebf6293a9a36e7f5be994448 /res/res_phoneprov.c | |
parent | c0963a561074aa5fb73f04118693043218dd3ea6 (diff) |
Re-add HTTP post support by moving to res_http_post.c
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@112426 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res/res_phoneprov.c')
-rw-r--r-- | res/res_phoneprov.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/res/res_phoneprov.c b/res/res_phoneprov.c index 69e97c0ee..55362c1e0 100644 --- a/res/res_phoneprov.c +++ b/res/res_phoneprov.c @@ -323,8 +323,7 @@ static int load_file(const char *filename, char **ret) } /*! \brief Callback that is executed everytime an http request is received by this module */ -static struct ast_str *phoneprov_callback(struct ast_tcptls_session_instance *ser, const char *uri, enum ast_http_method method, - struct ast_variable *vars, int *status, char **title, int *contentlength) +static struct ast_str *phoneprov_callback(struct ast_tcptls_session_instance *ser, const struct ast_http_uri *urih, const char *uri, enum ast_http_method method, struct ast_variable *vars, struct ast_variable *headers, int *status, char **title, int *contentlength) { struct http_route *route; struct http_route search_route = { @@ -987,6 +986,8 @@ static struct ast_http_uri phoneprovuri = { .uri = "phoneprov", .has_subtree = 1, .supports_get = 1, + .data = NULL, + .key = __FILE__, }; static int load_module(void) |