diff options
author | twilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-07-02 20:28:17 +0000 |
---|---|---|
committer | twilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-07-02 20:28:17 +0000 |
commit | 3990fcb8c27ec9b1c836fb0acd8d86f0db2a7e77 (patch) | |
tree | aed9470e8a97c3d8b00dd9b5406b6307cc783c4b /include | |
parent | b535c105b0c3dd5a5af02f85a723ee2fd630d082 (diff) |
Expose the prefix variable so that it can be used by modules depending on http support
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127545 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/http.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asterisk/http.h b/include/asterisk/http.h index 72a164997..1f46b1eed 100644 --- a/include/asterisk/http.h +++ b/include/asterisk/http.h @@ -105,4 +105,7 @@ void ast_http_uri_unlink_all_with_key(const char *key); /*! \brief Return an ast_str malloc()'d string containing an HTTP error message */ struct ast_str *ast_http_error(int status, const char *title, const char *extra_header, const char *text); +/*! \brief Return the current prefix */ +void ast_http_prefix(char *buf, int len); + #endif /* _ASTERISK_SRV_H */ |