Changeset 26 in libcf for trunk/include/cf_base.h
- Timestamp:
- 02/04/13 17:00:53 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/cf_base.h
r11 r26 1 1 /** 2 * cf_base.h 2 * @file cf_base.h 3 * @author myusgun <myusgun@gmail.com> 4 * @version 0.1 3 5 */ 4 6 #ifndef __CF_BASE_H__ 5 7 #define __CF_BASE_H__ 6 8 9 /** boolean 타입 */ 7 10 typedef enum { 8 CF_FALSE = 0, 9 CF_TRUE = 1 10 } E_CF_BOOL, CF_BOOL; 11 CF_FALSE = 0, /**< 거짓 */ 12 CF_TRUE = 1 /**< 참 */ 13 } E_CF_BOOL, 14 /** 15 * boolean 타입 16 * @see E_CF_BOOL 17 */ 18 CF_BOOL; 11 19 20 /** 성공 시, 반환 값 */ 12 21 #define CF_OK 0 22 /** 오류 코드 */ 13 23 #define CF_ERROR -1 14 24 25 /** 파일 이름 및 경로 길이 */ 15 26 #define NAME_LENGTH 128 16 27 28 /** 오류 코드 베이스 넘버 */ 17 29 #define CF_ERROR_BASE CF_ERROR * 1000 18 30 /** @see cf_file.h */ 19 31 #define CF_ERROR_FILE CF_ERROR_BASE * 2 32 /** @see cf_socket.h */ 20 33 #define CF_ERROR_SOCKET CF_ERROR_BASE * 3 34 /** @see cf_thread.h */ 21 35 #define CF_ERROR_THREAD CF_ERROR_BASE * 4 36 /** @see cf_thread.h */ 22 37 #define CF_ERROR_MUTEX CF_ERROR_BASE * 5 38 /** @see cf_debug.h */ 23 39 #define CF_ERROR_DEBUG CF_ERROR_BASE * 6 40 /** @see cf_log.h */ 24 41 #define CF_ERROR_LOG CF_ERROR_BASE * 7 25 42 43 /** Windows 에서의 함수 EXPORT 구문 정의 */ 26 44 #ifdef _WIN32 27 45 # define CF_EXPORT __declspec(dllexport)
Note:
See TracChangeset
for help on using the changeset viewer.