APUE course source code
guowenxue
yesterday 7b55c92f8d1401a93c8fd8e342da271dce742000
project/4.mqttd/booster/logger.h
@@ -4,11 +4,11 @@
 *
 *       Filename:  logger.h
 *    Description:  This file is common logger API functions
 *
 *
 *        Version:  1.0.0(11/08/23)
 *         Author:  Guo Wenxue <guowenxue@gmail.com>
 *      ChangeLog:  1, Release initial version on "11/08/23 16:18:43"
 *
 *
 ********************************************************************************/
#ifndef  _LOGGER_H_
@@ -34,7 +34,7 @@
    LOG_LOCK_ENABLE,  /* enable lock */
};
#define ROLLBACK_NONE          0
#define ROLLBACK_NONE   0
/* description: Initial the logger system
 * arguments  :
@@ -44,8 +44,6 @@
 *             $lock : thread lock enable or not
 * return     : <0: Failed  ==0: Sucessfully
 */
#define THREAD_LOCK_NONE       0
#define THREAD_LOCK_EN         1
int log_open(char *fname, int level, int size, int lock);