#ifndef NGX_HTTP_SET_MISC_MODULE_H #define NGX_HTTP_SET_MISC_MODULE_H #include <ngx_core.h> #include <ngx_config.h> #include <ngx_http.h> #include <nginx.h> #ifndef NGX_HAVE_SHA1 # if (nginx_version >= 1011002) # define NGX_HAVE_SHA1 1 # endif #endif typedef struct { ngx_flag_t base32_padding; ngx_str_t base32_alphabet; u_char basis32[256]; ngx_int_t current; /* for set_rotate */ } ngx_http_set_misc_loc_conf_t; extern ngx_module_t ngx_http_set_misc_module; #endif /* NGX_HTTP_SET_MISC_MODULE_H */