/* * Copyright (C) Kirill A. Korinskiy */ #ifndef _NGX_DC_H_INCLUDED_ #define _NGX_DC_H_INCLUDED_ #include #include #define NGX_DC_MODULE 0x00004443 /* "DC" */ #define NGX_DC_CONF 0x02000000 #define NGX_DC_CONF_OFFSET offsetof(ngx_dc_conf_ctx_t, conf) typedef struct { ngx_str_t name; void **conf; } ngx_dc_conf_ctx_t; typedef struct { ngx_str_t uri; } ngx_dc_core_conf_t; typedef struct { void *(*create_conf)(ngx_conf_t *cf); char *(*init_conf)(ngx_conf_t *cf, void *conf); } ngx_dc_module_t; #endif /* _NGX_DC_H_INCLUDED_ */ /* Local Variables: */ /* mode: c */ /* c-basic-offset: 4 */ /* End: */