Files
neuron/include/neu_errcodes.h
T
Parker Liu f14dadb4e3 Add support sync command of add/del/update node and group config
* Support these sync command in adapter.c
* Add some interface functions in neu_manager.c to support these command
* Add enum type of error code for neuron
2021-08-24 19:21:57 +08:00

40 lines
1.1 KiB
C

/**
* NEURON IIoT System for Industry 4.0
* Copyright (C) 2020-2021 EMQ Technologies Co., Ltd All rights reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
**/
#ifndef ERRORCODES_H
#define ERRORCODES_H
#ifdef __cplusplus
extern "C" {
#endif
#define NEU_ERRORCODE_NONE 0x00000000
#define NEU_ERRORCODE_OUTOFMEMORY 0xA0000000
typedef enum {
NEU_ERR_SUCCESS = 0,
NEU_ERR_FAILURE = -1,
} neu_err_code_e;
#ifdef __cplusplus
}
#endif
#endif /* ERRORCODES_H */