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

📄 eberror.h

📁 eybuild中文手册 eybuild中文手册 eybuild中文手册
💻 H
字号:
/* eberror.h - eybuild errors header file */

/* Copyright(C) eyBuild Group, 2005, 2006. All Rights Reserved. */

/*
modification history
--------------------
01b, 2006-04-09, newzy   support fastcgi
01a, 2005-12-25, newzy   create
*/

#ifndef _INC_EBERROR_H_
#define _INC_EBERROR_H_

#ifdef HAVE_FASTCGI
#   include <fcgi_stdio.h>
#else
#   include <stdio.h>
#endif /* HAVE_FASTCGI */

#include <eblog.h>

#ifdef __cplusplus
extern "C" {
#endif

/* note 'msg' must be add () */
#define ebSendErrorLog(errnum, msg)	{		\
		ebLogMsg(EBLOG_ERROR, ebMakeMsg msg);	\
		ebSendError(errnum, ebMakeMsg msg);		\
		}

extern const char * ebHttpError(int errnum);
extern int ebSendError (int errnum, char * errfmt, ...);

#ifdef __cplusplus
}
#endif

#endif /* _INC_EBERROR_H_ */

⌨️ 快捷键说明

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