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