TcpServer/TcpReactor Framework
This commit is contained in:
@@ -49,6 +49,11 @@
|
||||
#include <ctype.h>
|
||||
#endif /*INCLUDED_CTYPE_H*/
|
||||
|
||||
#ifndef INCLUDED_ASSERT_H
|
||||
#define INCLUDED_ASSERT_H
|
||||
#include <assert.h>
|
||||
#endif /*INCLUDED_ASSERT_H*/
|
||||
|
||||
|
||||
|
||||
/* ------------------------------------------------------------------------------------------------------------------ */
|
||||
@@ -113,6 +118,7 @@ typedef int c_err_t;
|
||||
#define C_ERR_EMPTY (-5)
|
||||
#define C_ERR_FULL (-6)
|
||||
#define C_ERR_EXIST (-7)
|
||||
#define C_ERR_CLOSED (-8)
|
||||
|
||||
#define C_SUCCESS C_ERR_OK
|
||||
#define C_ERR_NOTFOUND C_ERR_FAIL
|
||||
|
||||
Reference in New Issue
Block a user