1 2 3 /* conf set functions */ 4 5 char * ndk_conf_set_true_slot (ngx_conf_t *cf, ngx_command_t *cmd, void *conf); 6 char * ndk_conf_set_false_slot (ngx_conf_t *cf, ngx_command_t *cmd, void *conf); 7 char * ndk_conf_set_full_path_slot (ngx_conf_t *cf, ngx_command_t *cmd, void *conf); 8 char * ndk_conf_set_ptr_slot (ngx_conf_t *cf, ngx_command_t *cmd, void *conf); 9 char * ndk_conf_set_null_slot (ngx_conf_t *cf, ngx_command_t *cmd, void *conf); 10 char * ndk_conf_set_str_array_multi_slot (ngx_conf_t *cf, ngx_command_t *cmd, void *conf); 11 char * ndk_conf_set_keyval1_slot (ngx_conf_t *cf, ngx_command_t *cmd, void *conf); 12 char * ndk_conf_set_num_flag (ngx_conf_t *cf, ngx_command_t *cmd, void *conf); 13 char * ndk_conf_set_num64_slot (ngx_conf_t *cf, ngx_command_t *cmd, void *conf); 14 char * ndk_conf_set_sec_flag_slot (ngx_conf_t *cf, ngx_command_t *cmd, void *conf); 15 16 ngx_http_conf_ctx_t * ndk_conf_create_http_location (ngx_conf_t *cf); 17 ngx_http_conf_ctx_t * ngx_conf_create_http_named_location (ngx_conf_t *cf, ngx_str_t *name); 18 19 ngx_int_t ndk_replace_command (ngx_command_t *new_cmd, ngx_uint_t module_type); 20 21 22 /* values for conf_set_xxx_flag */ 23 24 #define NDK_CONF_SET_TRUE -2 25 #define NDK_CONF_SET_FALSE -3 26 27 28 /* wrappers for utility macros */ 29 30 #define ndk_conf_set_bitmask_slot ngx_conf_set_bitmask_slot 31 #define ndk_conf_set_bufs_slot ngx_conf_set_bufs_slot 32 #define ndk_conf_set_enum_slot ngx_conf_set_enum_slot 33 #define ndk_conf_set_flag_slot ngx_conf_set_flag_slot 34 #define ndk_conf_set_keyval_slot ngx_conf_set_keyval_slot 35 #define ndk_conf_set_msec_slot ngx_conf_set_msec_slot 36 #define ndk_conf_set_num_slot ngx_conf_set_num_slot 37 #define ndk_conf_set_off_slot ngx_conf_set_off_slot 38 #define ndk_conf_set_sec_slot ngx_conf_set_sec_slot 39 #define ndk_conf_set_size_slot ngx_conf_set_size_slot 40 #define ndk_conf_set_str_slot ngx_conf_set_str_slot 41 42 43 44 45