Changeset 128 in libcf for trunk/include/cf_error.h


Ignore:
Timestamp:
06/22/13 12:03:53 (11 years ago)
Author:
cheese
Message:

#1 add bitwise util from ARIA of chevalier

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/cf_error.h

    r123 r128  
    11/**
    2  * \file    cf_error.h
    3  * \author  myusgun <myusgun@gmail.com>
     2 * \file cf_error.h
     3 *
     4 * \author myusgun <myusgun@gmail.com>
    45 *
    56 * \brief 오류코드 모음
     
    1415
    1516/* file {{{ */
    16 #define CF_ERROR_FILE                       CF_ERROR_BASE * 2
     17#define CF_ERROR_FILE                       CF_ERROR_BASE * 1
    1718/*------------------------------------------------------------*/
    1819#define CF_ERROR_FILE_OPEN                  CF_ERROR_FILE - 1
     
    2425#define CF_ERROR_FILE_GET_SIZE              CF_ERROR_FILE - 7
    2526#define CF_ERROR_FILE_MAKE_DIRECTORY        CF_ERROR_FILE - 8
    26 
    2727/* }}} file */
    2828
    2929/* socket {{{ */
    30 #define CF_ERROR_SOCKET                     CF_ERROR_BASE * 3
     30#define CF_ERROR_SOCKET                     CF_ERROR_BASE * 2
    3131/*------------------------------------------------------------*/
    3232#define CF_ERROR_SOCKET_INITIALIZE          CF_ERROR_SOCKET - 1
     
    5151
    5252/* thread {{{ */
    53 #define CF_ERROR_THREAD                     CF_ERROR_BASE * 4
     53#define CF_ERROR_THREAD                     CF_ERROR_BASE * 3
    5454/*------------------------------------------------------------*/
    5555#define CF_ERROR_THREAD_CREATE_CTX          CF_ERROR_THREAD - 1
     
    6464
    6565/* mutex {{{ */
    66 #define CF_ERROR_MUTEX                      CF_ERROR_BASE * 5
     66#define CF_ERROR_MUTEX                      CF_ERROR_BASE * 4
    6767/*------------------------------------------------------------*/
    6868#define CF_ERROR_MUTEX_CREATE_CTX           CF_ERROR_MUTEX - 1
     
    7373
    7474/* debug {{{ */
    75 #define CF_ERROR_DEBUG                      CF_ERROR_BASE * 6
     75#define CF_ERROR_DEBUG                      CF_ERROR_BASE * 5
    7676/*------------------------------------------------------------*/
    7777#define CF_ERROR_DEBUG_INVALID_CTX          CF_ERROR_DEBUG - 1
     
    8383
    8484/* log {{{ */
    85 #define CF_ERROR_LOG                        CF_ERROR_BASE * 7
     85#define CF_ERROR_LOG                        CF_ERROR_BASE * 6
    8686/*------------------------------------------------------------*/
    8787#define CF_ERROR_LOG_INITIALIZE             CF_ERROR_LOG - 1
     
    103103
    104104/* codec {{{ */
    105 #define CF_ERROR_CODEC                      CF_ERROR_BASE * 8
     105#define CF_ERROR_CODEC                      CF_ERROR_BASE * 7
    106106/*------------------------------------------------------------*/
    107107#define CF_ERROR_CODEC_INVALID_ARGS         CF_ERROR_CODEC - 1
     
    111111
    112112/* data structure - list/queue/stack {{{ */
    113 #define CF_ERROR_DS                         CF_ERROR_BASE * 9
     113#define CF_ERROR_DS                         CF_ERROR_BASE * 8
    114114/*------------------------------------------------------------*/
    115115#define CF_ERROR_DS_INVALID_CTX             CF_ERROR_DS - 1
     
    121121/* }}} data structure - list/queue/stack */
    122122
     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
    123130#endif // #ifndef __CF_ERROR_H__
Note: See TracChangeset for help on using the changeset viewer.