Changeset 128 in libcf for trunk/include/cf_error.h
- Timestamp:
- 06/22/13 12:03:53 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/cf_error.h
r123 r128 1 1 /** 2 * \file cf_error.h 3 * \author myusgun <myusgun@gmail.com> 2 * \file cf_error.h 3 * 4 * \author myusgun <myusgun@gmail.com> 4 5 * 5 6 * \brief 오류코드 모음 … … 14 15 15 16 /* file {{{ */ 16 #define CF_ERROR_FILE CF_ERROR_BASE * 217 #define CF_ERROR_FILE CF_ERROR_BASE * 1 17 18 /*------------------------------------------------------------*/ 18 19 #define CF_ERROR_FILE_OPEN CF_ERROR_FILE - 1 … … 24 25 #define CF_ERROR_FILE_GET_SIZE CF_ERROR_FILE - 7 25 26 #define CF_ERROR_FILE_MAKE_DIRECTORY CF_ERROR_FILE - 8 26 27 27 /* }}} file */ 28 28 29 29 /* socket {{{ */ 30 #define CF_ERROR_SOCKET CF_ERROR_BASE * 330 #define CF_ERROR_SOCKET CF_ERROR_BASE * 2 31 31 /*------------------------------------------------------------*/ 32 32 #define CF_ERROR_SOCKET_INITIALIZE CF_ERROR_SOCKET - 1 … … 51 51 52 52 /* thread {{{ */ 53 #define CF_ERROR_THREAD CF_ERROR_BASE * 453 #define CF_ERROR_THREAD CF_ERROR_BASE * 3 54 54 /*------------------------------------------------------------*/ 55 55 #define CF_ERROR_THREAD_CREATE_CTX CF_ERROR_THREAD - 1 … … 64 64 65 65 /* mutex {{{ */ 66 #define CF_ERROR_MUTEX CF_ERROR_BASE * 566 #define CF_ERROR_MUTEX CF_ERROR_BASE * 4 67 67 /*------------------------------------------------------------*/ 68 68 #define CF_ERROR_MUTEX_CREATE_CTX CF_ERROR_MUTEX - 1 … … 73 73 74 74 /* debug {{{ */ 75 #define CF_ERROR_DEBUG CF_ERROR_BASE * 675 #define CF_ERROR_DEBUG CF_ERROR_BASE * 5 76 76 /*------------------------------------------------------------*/ 77 77 #define CF_ERROR_DEBUG_INVALID_CTX CF_ERROR_DEBUG - 1 … … 83 83 84 84 /* log {{{ */ 85 #define CF_ERROR_LOG CF_ERROR_BASE * 785 #define CF_ERROR_LOG CF_ERROR_BASE * 6 86 86 /*------------------------------------------------------------*/ 87 87 #define CF_ERROR_LOG_INITIALIZE CF_ERROR_LOG - 1 … … 103 103 104 104 /* codec {{{ */ 105 #define CF_ERROR_CODEC CF_ERROR_BASE * 8105 #define CF_ERROR_CODEC CF_ERROR_BASE * 7 106 106 /*------------------------------------------------------------*/ 107 107 #define CF_ERROR_CODEC_INVALID_ARGS CF_ERROR_CODEC - 1 … … 111 111 112 112 /* data structure - list/queue/stack {{{ */ 113 #define CF_ERROR_DS CF_ERROR_BASE * 9113 #define CF_ERROR_DS CF_ERROR_BASE * 8 114 114 /*------------------------------------------------------------*/ 115 115 #define CF_ERROR_DS_INVALID_CTX CF_ERROR_DS - 1 … … 121 121 /* }}} data structure - list/queue/stack */ 122 122 123 /* bitwise {{{ */ 124 #define CF_ERROR_BITWISE CF_ERROR_BASE * 9 125 /*------------------------------------------------------------*/ 126 #define CF_ERROR_BITWISE_INVALID_ARGS CF_ERROR_BITWISE - 1 127 #define CF_ERROR_BITWISE_ALLOCATE_BUFFER CF_ERROR_BITWISE - 2 128 /* }}} bitwise */ 129 123 130 #endif // #ifndef __CF_ERROR_H__
Note:
See TracChangeset
for help on using the changeset viewer.