blob: 002dc1a091e6d9eb5d443f357ae2ec0e24d8fb12 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001/*********************************************************************************
2 * @file zxic_errno.h
3 * @brief ¶¨ÒåÆ½Ì¨µÄ´íÎóÂë
4 *
5 * Copyright (C) 2017 Sanechips Technology Co., Ltd.
6 * @author
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 *
11***********************************************************************************/
12#ifndef _ZXIC_ERRNO_H_
13#define _ZXIC_ERRNO_H_
14
15#include "max_macro.h"
16
17
18
19#ifndef NULL
20#define NULL ((void*)0)
21#endif
22
23
24typedef struct {
25 int err_no;
26 unsigned long err_time; //´íÎó·¢Éúʱ¼ä
27} ERR_INFO;
28
29typedef struct {
30 unsigned int num; //¼Ç¼errno×ܸöÊý
31 ERR_INFO errInfo[ERR_TRACK_MAX_NUM]; //Ñ­»·¸²¸Çϱê num % ERR_TRACK_MAX_NUM
32} ERR_TRACK;
33#endif