Commit 69415086 authored by Wandenberg Peixoto's avatar Wandenberg Peixoto

rename function push_stream_channels_statistics_handler

parent 6a63c718
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
#include <ngx_http_push_stream_module.h> #include <ngx_http_push_stream_module.h>
static ngx_int_t push_stream_channels_statistics_handler(ngx_http_request_t *r); static ngx_int_t ngx_http_push_stream_channels_statistics_handler(ngx_http_request_t *r);
static ngx_int_t ngx_http_push_stream_publisher_handler(ngx_http_request_t *r); static ngx_int_t ngx_http_push_stream_publisher_handler(ngx_http_request_t *r);
static void ngx_http_push_stream_publisher_body_handler(ngx_http_request_t *r); static void ngx_http_push_stream_publisher_body_handler(ngx_http_request_t *r);
......
...@@ -47,7 +47,7 @@ static time_t NGX_HTTP_PUSH_STREAM_DEFAULT_MEMORY_CLEANUP_TIMEOUT = 30; // 30 se ...@@ -47,7 +47,7 @@ static time_t NGX_HTTP_PUSH_STREAM_DEFAULT_MEMORY_CLEANUP_TIMEOUT = 30; // 30 se
static ngx_str_t ngx_http_push_stream_channel_id = ngx_string("push_stream_channel_id"); static ngx_str_t ngx_http_push_stream_channel_id = ngx_string("push_stream_channel_id");
static ngx_str_t ngx_http_push_stream_channels_path = ngx_string("push_stream_channels_path"); static ngx_str_t ngx_http_push_stream_channels_path = ngx_string("push_stream_channels_path");
static char * push_stream_channels_statistics(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); static char * ngx_http_push_stream_channels_statistics(ngx_conf_t *cf, ngx_command_t *cmd, void *conf);
// publisher // publisher
static char * ngx_http_push_stream_publisher(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); static char * ngx_http_push_stream_publisher(ngx_conf_t *cf, ngx_command_t *cmd, void *conf);
......
...@@ -210,7 +210,7 @@ ngx_http_push_stream_publisher_body_handler(ngx_http_request_t *r) ...@@ -210,7 +210,7 @@ ngx_http_push_stream_publisher_body_handler(ngx_http_request_t *r)
} }
static ngx_int_t static ngx_int_t
push_stream_channels_statistics_handler(ngx_http_request_t *r) ngx_http_push_stream_channels_statistics_handler(ngx_http_request_t *r)
{ {
ngx_str_t *id = NULL; ngx_str_t *id = NULL;
ngx_http_push_stream_channel_t *channel = NULL; ngx_http_push_stream_channel_t *channel = NULL;
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
static ngx_command_t ngx_http_push_stream_commands[] = { static ngx_command_t ngx_http_push_stream_commands[] = {
{ ngx_string("push_stream_channels_statistics"), { ngx_string("push_stream_channels_statistics"),
NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_NOARGS, NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_NOARGS,
push_stream_channels_statistics, ngx_http_push_stream_channels_statistics,
NGX_HTTP_LOC_CONF_OFFSET, NGX_HTTP_LOC_CONF_OFFSET,
0, 0,
NULL }, NULL },
...@@ -496,9 +496,9 @@ ngx_http_push_stream_setup_handler(ngx_conf_t *cf, void *conf, ngx_int_t (*handl ...@@ -496,9 +496,9 @@ ngx_http_push_stream_setup_handler(ngx_conf_t *cf, void *conf, ngx_int_t (*handl
} }
static char * static char *
push_stream_channels_statistics(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) ngx_http_push_stream_channels_statistics(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
{ {
char *rc = ngx_http_push_stream_setup_handler(cf, conf, &push_stream_channels_statistics_handler); char *rc = ngx_http_push_stream_setup_handler(cf, conf, &ngx_http_push_stream_channels_statistics_handler);
if (rc == NGX_CONF_OK) { if (rc == NGX_CONF_OK) {
ngx_http_push_stream_loc_conf_t *pslcf = conf; ngx_http_push_stream_loc_conf_t *pslcf = conf;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment