blob: 002dc1a091e6d9eb5d443f357ae2ec0e24d8fb12 [file] [log] [blame]
/*********************************************************************************
* @file zxic_errno.h
* @brief ¶¨ÒåÆ½Ì¨µÄ´íÎóÂë
*
* Copyright (C) 2017 Sanechips Technology Co., Ltd.
* @author
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
***********************************************************************************/
#ifndef _ZXIC_ERRNO_H_
#define _ZXIC_ERRNO_H_
#include "max_macro.h"
#ifndef NULL
#define NULL ((void*)0)
#endif
typedef struct {
int err_no;
unsigned long err_time; //´íÎó·¢Éúʱ¼ä
} ERR_INFO;
typedef struct {
unsigned int num; //¼Ç¼errno×ܸöÊý
ERR_INFO errInfo[ERR_TRACK_MAX_NUM]; //Ñ­»·¸²¸Çϱê num % ERR_TRACK_MAX_NUM
} ERR_TRACK;
#endif