mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 04:11:08 +00:00
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
This commit is contained in:
@@ -143,6 +143,13 @@ static uint32_t manid_from_vars(struct ast_variable *sid) {
|
||||
return mngid;
|
||||
}
|
||||
|
||||
void ast_http_prefix(char *buf, int len)
|
||||
{
|
||||
if (buf) {
|
||||
ast_copy_string(buf, prefix, len);
|
||||
}
|
||||
}
|
||||
|
||||
static struct ast_str *static_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)
|
||||
{
|
||||
char *path;
|
||||
|
Reference in New Issue
Block a user