2002-08-22 23:24:03 +08:00
|
|
|
#ifndef _NGX_CORE_H_INCLUDED_
|
|
|
|
#define _NGX_CORE_H_INCLUDED_
|
|
|
|
|
|
|
|
|
2002-09-11 23:18:33 +08:00
|
|
|
#define NGX_OK 0
|
|
|
|
#define NGX_ERROR -1
|
2002-09-12 22:42:29 +08:00
|
|
|
#define NGX_DONE NGX_ERROR
|
2002-09-11 23:18:33 +08:00
|
|
|
#define NGX_AGAIN -2
|
2002-12-06 00:21:24 +08:00
|
|
|
#define NGX_WAITING -3
|
|
|
|
#define NGX_DECLINED -4
|
2003-01-30 15:28:09 +08:00
|
|
|
#define NGX_ALERT -5
|
2002-08-22 23:24:03 +08:00
|
|
|
|
|
|
|
|
2003-01-15 15:02:27 +08:00
|
|
|
#define NGX_MAXHOSTNAMELEN 32
|
|
|
|
/*
|
|
|
|
#define NGX_MAXHOSTNAMELEN MAXHOSTNAMELEN
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
2002-08-22 23:24:03 +08:00
|
|
|
#endif /* _NGX_CORE_H_INCLUDED_ */
|