⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lc_syslog.h

📁 open source for car navigation in linux
💻 H
字号:
#ifndef LC_SYSLOG#   define LC_SYSLOGvoid vLC_syslog(int iCode, ...);#define LCLOG_MIN_WAR		0#define LCLOG_WAR_GPSRECSTART	LCLOG_MIN_WAR + 0#define LCLOG_WAR_GPSRECSTART_MSG "recGPS Started"#define LCLOG_WAR_WGS2UTMERR	LCLOG_MIN_WAR + 10#define LCLOG_WAR_WGS2UTMERR_MSG "Conversion from lat,lon to UTM failed, procedure:"#define LCLOG_WAR_DATUMCONVERR	LCLOG_MIN_WAR + 11#define LCLOG_WAR_DATUMCONVERR_MSG "Datum conversion failed, procedure:"#define LCLOG_MIN_ERR		100#define LCLOG_ERR_MALLOC	LCLOG_MIN_ERR + 0#define LCLOG_ERR_MALLOC_MSG "malloc error, procedure:"#define LCLOG_ERR_REALLOC	LCLOG_MIN_ERR + 1#define LCLOG_ERR_REALLOC_MSG "realloc error, procedure:"#define LCLOG_ERR_MEMCPY	LCLOG_MIN_ERR + 2#define LCLOG_ERR_MEMCPY_MSG "memcpy error, procedure:"#define LCLOG_ERR_MSGQCREATE	LCLOG_MIN_ERR + 3#define LCLOG_ERR_MSGQCREATE_MSG "Error creating msg queue, procedure, key:"#define LCLOG_ERR_MSGQOPEN	LCLOG_MIN_ERR + 4#define LCLOG_ERR_MSGQOPEN_MSG "Error opening msg queue, procedure, key:"#define LCLOG_ERR_MSGQDEL	LCLOG_MIN_ERR + 5#define LCLOG_ERR_MSGQDEL_MSG "Error deleting msg queue, procedure, q_id:"#define LCLOG_ERR_MSGQSEND	LCLOG_MIN_ERR + 6#define LCLOG_ERR_MSGQSEND_MSG "Error sending msg to queue, procedure, q_id:"#define LCLOG_ERR_MSGQRECEIVE	LCLOG_MIN_ERR + 7#define LCLOG_ERR_MSGQRECEIVE_MSG "Error receiving from msg queue, procedure, q_id:"#define LCLOG_ERR_SHMGET	LCLOG_MIN_ERR + 8#define LCLOG_ERR_SHMGET_MSG "shmget error, procedure:"#define LCLOG_ERR_SHMAT		LCLOG_MIN_ERR + 9#define LCLOG_ERR_SHMAT_MSG "shmat error, procedure:"#define LCLOG_ERR_SHMRM		LCLOG_MIN_ERR + 10#define LCLOG_ERR_SHMRM_MSG "shmctl(remove) error, procedure:"#define LCLOG_ERR_SEMGET	LCLOG_MIN_ERR + 11#define LCLOG_ERR_SEMGET_MSG "semget error, procedure, key:"#define LCLOG_ERR_SEMULK	LCLOG_MIN_ERR + 12#define LCLOG_ERR_SEMULK_MSG "semop (unlock) error, procedure, sem_id:"#define LCLOG_ERR_SEMLK		LCLOG_MIN_ERR + 13#define LCLOG_ERR_SEMLK_MSG "semop (lock) error, procedure, sem_id:"#define LCLOG_ERR_SEMRM		LCLOG_MIN_ERR + 14#define LCLOG_ERR_SEMRM_MSG "semctl (remove) error, procedure, sem_id:"#define LCLOG_ERR_NOGPSINIT	LCLOG_MIN_ERR + 15#define LCLOG_ERR_NOGPSINIT_MSG "Error in GPS_init function, Port:"#define LCLOG_ERR_NOGPSOFF	LCLOG_MIN_ERR + 16#define LCLOG_ERR_NOGPSOFF_MSG "Error in Do_Off function, Port:"#define LCLOG_ERR_PTVCONS	LCLOG_MIN_ERR + 17#define LCLOG_ERR_PTVCONS_MSG "Error PTV constructor function, module:"#define LCLOG_ERR_PTVON		LCLOG_MIN_ERR + 18#define LCLOG_ERR_PTVON_MSG "PTV on error; module, error:"#define LCLOG_ERR_THREADCREATE	LCLOG_MIN_ERR + 30#define LCLOG_ERR_THREADCREATE_MSG "Thread creation error; procedure, errno: "#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -