diff options
author | Valentin Bartenev <vbart@nginx.com> | 2018-09-20 15:27:08 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2018-09-20 15:27:08 +0300 |
commit | 8d844bc2aa78d5acc789c5865a62bedbeba76902 (patch) | |
tree | cbc6e225402434d5b14cb454a2b7c02cebc93bbf /src/nxt_main_process.h | |
parent | 2dfd8ffc2fa36712c8987afa870c355185d61af9 (diff) | |
download | unit-8d844bc2aa78d5acc789c5865a62bedbeba76902.tar.gz unit-8d844bc2aa78d5acc789c5865a62bedbeba76902.tar.bz2 |
Controller: certificates storage interface.
Diffstat (limited to '')
-rw-r--r-- | src/nxt_main_process.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/nxt_main_process.h b/src/nxt_main_process.h index 9d74787e..d932e11f 100644 --- a/src/nxt_main_process.h +++ b/src/nxt_main_process.h @@ -19,6 +19,14 @@ typedef enum { } nxt_socket_error_t; +typedef struct { + nxt_str_t conf; +#if (NXT_TLS) + nxt_array_t *certs; +#endif +} nxt_controller_init_t; + + nxt_int_t nxt_main_process_start(nxt_thread_t *thr, nxt_task_t *task, nxt_runtime_t *runtime); void nxt_main_stop_all_processes(nxt_task_t *task, nxt_runtime_t *runtime); |