More public API name changes to use an appropriate ast_ prefix

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@105785 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2008-03-04 22:23:21 +00:00
parent efb1e30a38
commit cc55483858
5 changed files with 33 additions and 33 deletions

View File

@@ -73,7 +73,7 @@ static struct server_args http_desc = {
.tls_cfg = NULL,
.poll_timeout = -1,
.name = "http server",
.accept_fn = server_root,
.accept_fn = ast_tcptls_server_root,
.worker_fn = httpd_helper_thread,
};
@@ -83,7 +83,7 @@ static struct server_args https_desc = {
.tls_cfg = &http_tls_cfg,
.poll_timeout = -1,
.name = "https server",
.accept_fn = server_root,
.accept_fn = ast_tcptls_server_root,
.worker_fn = httpd_helper_thread,
};
@@ -1028,9 +1028,9 @@ static int __ast_http_load(int reload)
if (strcmp(prefix, newprefix))
ast_copy_string(prefix, newprefix, sizeof(prefix));
enablestatic = newenablestatic;
server_start(&http_desc);
if (ssl_setup(https_desc.tls_cfg))
server_start(&https_desc);
ast_tcptls_server_start(&http_desc);
if (ast_ssl_setup(https_desc.tls_cfg))
ast_tcptls_server_start(&https_desc);
return 0;
}