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

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

#1 fix interface and add util module

File size: 1.1 KB
RevLine 
[4]1/**
[128]2 * \file cf_base.h
3 *
4 * \author myusgun <myusgun@gmail.com>
5 *
[119]6 * \version 0.1
[37]7 *
[119]8 * \brief 기본 정의
[73]9 *
[119]10 * \mainpage
[37]11
[151]12<h2 style="line-height: 10%;">Welcome to documentation for libcf</h2>
13&nbsp; :: CFLibrary (Cheese Foundation Library)
[37]14
15&nbsp; This documentation (suggested by nvdark) includes only manual of APIs.
16
17&nbsp; 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>
[112]27 <li> Data Structure </li>
[37]28 <li> ..more needs ? </li>
29</ol>
30
[145]31*/
[4]32#ifndef __CF_BASE_H__
33#define __CF_BASE_H__
34
[26]35/** boolean 타입 */
[109]36typedef enum
37{
[26]38 CF_FALSE = 0, /**< 거짓 */
39 CF_TRUE = 1 /**< 참 */
[109]40} CF_BOOL;
[4]41
[151]42/** 공용 건텍스트 */
43typedef void * cf_ctx;
44
[26]45/** 성공 시, 반환 값 */
[4]46#define CF_OK 0
[26]47/** 오류 코드 */
[4]48#define CF_ERROR -1
[6]49
[26]50/** Windows 에서의 함수 EXPORT 구문 정의 */
[50]51#if defined(_WIN32) || defined(_WIN64)
[4]52# define CF_EXPORT __declspec(dllexport)
[50]53#else
[4]54# define CF_EXPORT
[50]55#endif
[4]56
57#endif // #ifndef __CF_BASE_H__
Note: See TracBrowser for help on using the repository browser.