1240Sigor@sysoev.ru 2240Sigor@sysoev.ru /* 3240Sigor@sysoev.ru * Copyright (C) Igor Sysoev 4240Sigor@sysoev.ru * Copyright (C) NGINX, Inc. 5240Sigor@sysoev.ru */ 6240Sigor@sysoev.ru 7240Sigor@sysoev.ru #ifndef _NXT_MAIN_PROCESS_H_INCLUDED_ 8240Sigor@sysoev.ru #define _NXT_MAIN_PROCESS_H_INCLUDED_ 9240Sigor@sysoev.ru 10240Sigor@sysoev.ru 11240Sigor@sysoev.ru typedef enum { 12240Sigor@sysoev.ru NXT_SOCKET_ERROR_SYSTEM = 0, 13240Sigor@sysoev.ru NXT_SOCKET_ERROR_NOINET6, 14240Sigor@sysoev.ru NXT_SOCKET_ERROR_PORT, 15240Sigor@sysoev.ru NXT_SOCKET_ERROR_INUSE, 16240Sigor@sysoev.ru NXT_SOCKET_ERROR_NOADDR, 17240Sigor@sysoev.ru NXT_SOCKET_ERROR_ACCESS, 18240Sigor@sysoev.ru NXT_SOCKET_ERROR_PATH, 19240Sigor@sysoev.ru } nxt_socket_error_t; 20240Sigor@sysoev.ru 21240Sigor@sysoev.ru 22240Sigor@sysoev.ru nxt_int_t nxt_main_process_start(nxt_thread_t *thr, nxt_task_t *task, 23240Sigor@sysoev.ru nxt_runtime_t *runtime); 24240Sigor@sysoev.ru 251302St.nateldemoura@f5.com 26*1488St.nateldemoura@f5.com NXT_EXPORT extern const nxt_process_init_t nxt_discovery_process; 27*1488St.nateldemoura@f5.com NXT_EXPORT extern const nxt_process_init_t nxt_controller_process; 28*1488St.nateldemoura@f5.com NXT_EXPORT extern const nxt_process_init_t nxt_router_process; 29*1488St.nateldemoura@f5.com NXT_EXPORT extern const nxt_process_init_t nxt_app_process; 30*1488St.nateldemoura@f5.com 31240Sigor@sysoev.ru extern const nxt_sig_event_t nxt_main_process_signals[]; 32*1488St.nateldemoura@f5.com extern const nxt_sig_event_t nxt_process_signals[]; 33240Sigor@sysoev.ru 34240Sigor@sysoev.ru 35240Sigor@sysoev.ru #endif /* _NXT_MAIN_PROCESS_H_INCLUDED_ */ 36