summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_process_type.h
blob: 5ff06d63af8ad2a696e0e8b026a0cbca9e3b47a3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

/*
 * Copyright (C) Igor Sysoev
 * Copyright (C) NGINX, Inc.
 */

#ifndef _NXT_PROCESS_TYPE_H_INCLUDED_
#define _NXT_PROCESS_TYPE_H_INCLUDED_


typedef enum {
    NXT_PROCESS_MAIN = 0,
    NXT_PROCESS_DISCOVERY,
    NXT_PROCESS_CONTROLLER,
    NXT_PROCESS_ROUTER,
    NXT_PROCESS_WORKER,

    NXT_PROCESS_MAX,
} nxt_process_type_t;


#endif /* _NXT_PROCESS_TYPE_H_INCLUDED_ */