/** * \file cf_base.h * * \author myusgun * * \version 0.1 * * \brief 기본 정의 * * \mainpage

Welcome to documentation page of libCF

  - CFLibrary (cheese's foundation library)   This documentation (suggested by nvdark) includes only manual of APIs.   Please visit Trac of libcf.

supported functions

  1. File I/O
  2. Socket
  3. Logging (advisor: vfire)
  4. Utilities for Debug
  5. Thread & Mutex
  6. Codec
  7. Data Structure
  8. ..more needs ?
*/ #ifndef __CF_BASE_H__ #define __CF_BASE_H__ /** boolean 타입 */ typedef enum { CF_FALSE = 0, /**< 거짓 */ CF_TRUE = 1 /**< 참 */ } CF_BOOL; /** 성공 시, 반환 값 */ #define CF_OK 0 /** 오류 코드 */ #define CF_ERROR -1 /** Windows 에서의 함수 EXPORT 구문 정의 */ #if defined(_WIN32) || defined(_WIN64) # define CF_EXPORT __declspec(dllexport) #else # define CF_EXPORT #endif #endif // #ifndef __CF_BASE_H__