created build tooling, subtrees, and stub code for a new NGINX core module
Signed-off-by: Ava Affine <ava@sunnypup.io>
This commit is contained in:
parent
2b63c55768
commit
300482b617
6 changed files with 4322 additions and 1 deletions
27
muninn.c
Normal file
27
muninn.c
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
#include <ngx_config.h>
|
||||
#include <ngx_core.h>
|
||||
|
||||
static ngx_command_t ngx_muninn_commands[] = {};
|
||||
|
||||
static ngx_core_module_t ngx_muninn_module_ctx = {
|
||||
ngx_string("muninn"),
|
||||
NULL, // create conf
|
||||
NULL // init conf
|
||||
};
|
||||
|
||||
ngx_module_t ngx_muninn_core_module = {
|
||||
NGX_MODULE_V1,
|
||||
&ngx_muninn_module_ctx, /* module context */
|
||||
ngx_muninn_commands, /* module directives */
|
||||
NGX_CORE_MODULE, /* module type */
|
||||
NULL, /* init master */
|
||||
NULL, /* init module */
|
||||
NULL, /* init process */
|
||||
NULL, /* init thread */
|
||||
NULL, /* exit thread */
|
||||
NULL, /* exit process */
|
||||
NULL, /* exit master */
|
||||
NGX_MODULE_V1_PADDING
|
||||
};
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue