Rev | Line | |
---|
[4] | 1 | /**
|
---|
[26] | 2 | * @file cf_base.h
|
---|
| 3 | * @author myusgun <myusgun@gmail.com>
|
---|
| 4 | * @version 0.1
|
---|
[37] | 5 | *
|
---|
[73] | 6 | * @remarks 기본 정의
|
---|
| 7 | *
|
---|
[37] | 8 | * @mainpage
|
---|
| 9 |
|
---|
| 10 | <h2 style="line-height: 10%;">Welcome to documentation page of libCF</h2>
|
---|
| 11 | - CFLibrary (cheese's foundation library)
|
---|
| 12 |
|
---|
| 13 | This documentation (suggested by nvdark) includes only manual of APIs.
|
---|
| 14 |
|
---|
| 15 | Please visit <a href="/trac/libcf">Trac</a> of libcf.
|
---|
| 16 |
|
---|
| 17 | <h3>supported functions</h3>
|
---|
| 18 | <ol>
|
---|
| 19 | <li> File I/O </li>
|
---|
| 20 | <li> Socket </li>
|
---|
| 21 | <li> Logging (advisor: vfire) </li>
|
---|
| 22 | <li> Utilities for Debug </li>
|
---|
| 23 | <li> Thread & Mutex </li>
|
---|
[82] | 24 | <li> Codec </li>
|
---|
[37] | 25 | <li> ..more needs ? </li>
|
---|
| 26 | </ol>
|
---|
| 27 |
|
---|
| 28 | 사츠키 하앜
|
---|
| 29 |
|
---|
[4] | 30 | */
|
---|
| 31 | #ifndef __CF_BASE_H__
|
---|
| 32 | #define __CF_BASE_H__
|
---|
| 33 |
|
---|
[26] | 34 | /** boolean 타입 */
|
---|
[4] | 35 | typedef enum {
|
---|
[26] | 36 | CF_FALSE = 0, /**< 거짓 */
|
---|
| 37 | CF_TRUE = 1 /**< 참 */
|
---|
| 38 | } E_CF_BOOL,
|
---|
| 39 | /**
|
---|
| 40 | * boolean 타입
|
---|
| 41 | * @see E_CF_BOOL
|
---|
| 42 | */
|
---|
| 43 | CF_BOOL;
|
---|
[4] | 44 |
|
---|
[26] | 45 | /** 성공 시, 반환 값 */
|
---|
[4] | 46 | #define CF_OK 0
|
---|
[26] | 47 | /** 오류 코드 */
|
---|
[4] | 48 | #define CF_ERROR -1
|
---|
[6] | 49 |
|
---|
[26] | 50 | /** 파일 이름 및 경로 길이 */
|
---|
[10] | 51 | #define NAME_LENGTH 128
|
---|
| 52 |
|
---|
[26] | 53 | /** Windows 에서의 함수 EXPORT 구문 정의 */
|
---|
[50] | 54 | #if defined(_WIN32) || defined(_WIN64)
|
---|
[4] | 55 | # define CF_EXPORT __declspec(dllexport)
|
---|
[50] | 56 | #else
|
---|
[4] | 57 | # define CF_EXPORT
|
---|
[50] | 58 | #endif
|
---|
[4] | 59 |
|
---|
| 60 | #endif // #ifndef __CF_BASE_H__
|
---|
Note:
See
TracBrowser
for help on using the repository browser.