Changeset 26 in libcf for trunk/include/cf_base.h


Ignore:
Timestamp:
02/04/13 17:00:53 (11 years ago)
Author:
cheese
Message:

#1 documentation with doxygen

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/cf_base.h

    r11 r26  
    11/**
    2  * cf_base.h
     2 * @file    cf_base.h
     3 * @author  myusgun <myusgun@gmail.com>
     4 * @version 0.1
    35 */
    46#ifndef __CF_BASE_H__
    57#define __CF_BASE_H__
    68
     9/** boolean 타입 */
    710typedef enum {
    8     CF_FALSE = 0,
    9     CF_TRUE = 1
    10 } E_CF_BOOL, CF_BOOL;
     11    CF_FALSE = 0,   /**< 거짓 */
     12    CF_TRUE = 1     /**< 참 */
     13} E_CF_BOOL,
     14/**
     15 * boolean 타입
     16 * @see E_CF_BOOL
     17 */
     18    CF_BOOL;
    1119
     20/** 성공 시, 반환 값 */
    1221#define CF_OK                           0
     22/** 오류 코드 */
    1323#define CF_ERROR                        -1
    1424
     25/** 파일 이름 및 경로 길이 */
    1526#define NAME_LENGTH                     128
    1627
     28/** 오류 코드 베이스 넘버 */
    1729#define CF_ERROR_BASE                   CF_ERROR * 1000
    18 
     30/** @see cf_file.h */
    1931#define CF_ERROR_FILE                   CF_ERROR_BASE * 2
     32/** @see cf_socket.h */
    2033#define CF_ERROR_SOCKET                 CF_ERROR_BASE * 3
     34/** @see cf_thread.h */
    2135#define CF_ERROR_THREAD                 CF_ERROR_BASE * 4
     36/** @see cf_thread.h */
    2237#define CF_ERROR_MUTEX                  CF_ERROR_BASE * 5
     38/** @see cf_debug.h */
    2339#define CF_ERROR_DEBUG                  CF_ERROR_BASE * 6
     40/** @see cf_log.h */
    2441#define CF_ERROR_LOG                    CF_ERROR_BASE * 7
    2542
     43/** Windows 에서의 함수 EXPORT 구문 정의 */
    2644#ifdef _WIN32
    2745# define CF_EXPORT      __declspec(dllexport)
Note: See TracChangeset for help on using the changeset viewer.