diff options
author | Terry Wilson <twilson@digium.com> | 2008-07-02 20:28:17 +0000 |
---|---|---|
committer | Terry Wilson <twilson@digium.com> | 2008-07-02 20:28:17 +0000 |
commit | a32369fcd546938667c28dcca7945cf84268c688 (patch) | |
tree | aed9470e8a97c3d8b00dd9b5406b6307cc783c4b /include/asterisk/http.h | |
parent | dea559d7daf66c5698074317a47685de50c143b6 (diff) |
Expose the prefix variable so that it can be used by modules depending on http support
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@127545 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/http.h')
-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 */ |