diff options
author | Zhidao HONG <z.hong@f5.com> | 2022-11-22 10:13:18 +0800 |
---|---|---|
committer | Zhidao HONG <z.hong@f5.com> | 2022-11-22 10:13:18 +0800 |
commit | e3bbf5b3b5be384a39bbd1c42d44379b17d94185 (patch) | |
tree | 5786bb3116a474f8ff837e796c35972401b648b1 /src/nxt_runtime.h | |
parent | 4d6d146e920667a8afeacd355e4fb6a94387066e (diff) | |
download | unit-e3bbf5b3b5be384a39bbd1c42d44379b17d94185.tar.gz unit-e3bbf5b3b5be384a39bbd1c42d44379b17d94185.tar.bz2 |
NJS: added http request prototype.
Diffstat (limited to '')
-rw-r--r-- | src/nxt_runtime.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nxt_runtime.h b/src/nxt_runtime.h index d7fe2f38..687914f0 100644 --- a/src/nxt_runtime.h +++ b/src/nxt_runtime.h @@ -138,6 +138,9 @@ void nxt_cdecl nxt_log_time_handler(nxt_uint_t level, nxt_log_t *log, void nxt_stream_connection_init(nxt_task_t *task, void *obj, void *data); nxt_int_t nxt_http_register_variables(void); +#if (NXT_HAVE_NJS) +void nxt_http_register_js_proto(nxt_js_conf_t *jcf); +#endif #define nxt_runtime_process_each(rt, process) \ |