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