forked from yzprofile/ngx_http_dyups_module
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathngx_http_dyups.h
30 lines (18 loc) · 818 Bytes
/
ngx_http_dyups.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
* Copyright (C) 2010-2015 Alibaba Group Holding Limited
*/
#ifndef _NGX_HTTP_DYUPS_H_INCLUDE_
#define _NGX_HTTP_DYUPS_H_INCLUDE_
#include <ngx_config.h>
#include <ngx_core.h>
ngx_int_t ngx_dyups_update_upstream(ngx_str_t *name, ngx_buf_t *buf,
ngx_str_t *rv);
ngx_int_t ngx_dyups_delete_upstream(ngx_str_t *name, ngx_str_t *rv);
typedef ngx_int_t (*ngx_dyups_add_upstream_filter_pt)
(ngx_http_upstream_main_conf_t *umcf, ngx_http_upstream_srv_conf_t *uscf);
typedef ngx_int_t (*ngx_dyups_del_upstream_filter_pt)
(ngx_http_upstream_main_conf_t *umcf, ngx_http_upstream_srv_conf_t *uscf);
extern ngx_flag_t ngx_http_dyups_api_enable;
extern ngx_dyups_add_upstream_filter_pt ngx_dyups_add_upstream_top_filter;
extern ngx_dyups_del_upstream_filter_pt ngx_dyups_del_upstream_top_filter;
#endif