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

Last change on this file since 109 was 109, checked in by cheese, 11 years ago

#1 add typical data structure algorithms (linked-list / queue / stak) and rename symbol for context of each modules

File size: 1.1 KB
Line 
1/**
2 * @file cf_base.h
3 * @author myusgun <myusgun@gmail.com>
4 * @version 0.1
5 *
6 * @remarks 기본 정의
7 *
8 * @mainpage
9
10<h2 style="line-height: 10%;">Welcome to documentation page of libCF</h2>
11&nbsp; - CFLibrary (cheese's foundation library)
12
13&nbsp; This documentation (suggested by nvdark) includes only manual of APIs.
14
15&nbsp; 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>
24 <li> Codec </li>
25 <li> ..more needs ? </li>
26</ol>
27
28사츠키 하앜
29
30 */
31#ifndef __CF_BASE_H__
32#define __CF_BASE_H__
33
34/** boolean 타입 */
35typedef enum
36{
37 CF_FALSE = 0, /**< 거짓 */
38 CF_TRUE = 1 /**< 참 */
39} CF_BOOL;
40
41/** 성공 시, 반환 값 */
42#define CF_OK 0
43/** 오류 코드 */
44#define CF_ERROR -1
45
46/** Windows 에서의 함수 EXPORT 구문 정의 */
47#if defined(_WIN32) || defined(_WIN64)
48# define CF_EXPORT __declspec(dllexport)
49#else
50# define CF_EXPORT
51#endif
52
53#endif // #ifndef __CF_BASE_H__
Note: See TracBrowser for help on using the repository browser.