source: libcf/trunk/include/cf_base.h@ 48

Last change on this file since 48 was 40, checked in by cheese, 12 years ago

#1 change interface of log from context to id-number

File size: 1.1 KB
Line 
1/**
2 * @file cf_base.h
3 * @author myusgun <myusgun@gmail.com>
4 * @version 0.1
5 *
6 * @mainpage
7
8<h2 style="line-height: 10%;">Welcome to documentation page of libCF</h2>
9&nbsp; - CFLibrary (cheese's foundation library)
10
11&nbsp; This documentation (suggested by nvdark) includes only manual of APIs.
12
13&nbsp; 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
27 */
28#ifndef __CF_BASE_H__
29#define __CF_BASE_H__
30
31/** boolean 타입 */
32typedef enum {
33 CF_FALSE = 0, /**< 거짓 */
34 CF_TRUE = 1 /**< 참 */
35} E_CF_BOOL,
36/**
37 * boolean 타입
38 * @see E_CF_BOOL
39 */
40 CF_BOOL;
41
42/** 성공 시, 반환 값 */
43#define CF_OK 0
44/** 오류 코드 */
45#define CF_ERROR -1
46
47/** 파일 이름 및 경로 길이 */
48#define NAME_LENGTH 128
49
50/** Windows 에서의 함수 EXPORT 구문 정의 */
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.