Changeset 16 in libcf for trunk/include/cf_file.h


Ignore:
Timestamp:
02/01/13 09:37:19 (11 years ago)
Author:
cheese
Message:

#1 add function for non-context debugging message printing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/cf_file.h

    r15 r16  
    1616#define CF_ERROR_FILE_GET_SIZE          CF_ERROR_FILE - 7
    1717
    18 #define RO      O_RDONLY
    19 #define WO      O_WRONLY
    20 #define WR      O_RDWR
    21 #define CR      O_CREAT
    22 #define TR      O_TRUNC
     18typedef enum{
     19    CF_FILE_RO = O_RDONLY,
     20    CF_FILE_WO = O_WRONLY,
     21    CF_FILE_WR = O_RDWR,
     22    CF_FILE_CR = O_CREAT,
     23    CF_FILE_TR = O_TRUNC
     24} E_CF_FILE_FLAG, CF_FILE_FLAG;
    2325
    2426#ifdef __cplusplus
     
    2729
    2830CF_EXPORT int
    29 CF_File_Open            (const char * path,
    30                          const int  flag);
     31CF_File_Open            (const char         * path,
     32                         const CF_FILE_FLAG flag);
    3133
    3234CF_EXPORT int
Note: See TracChangeset for help on using the changeset viewer.