Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
dpl_error.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2020 Inria
3
*
4
* This file is subject to the terms and conditions of the GNU Lesser
5
* General Public License v2.1. See the file LICENSE in the top level
6
* directory for more details.
7
*/
8
20
#ifndef DPL_DPL_ERROR_H
21
#define DPL_DPL_ERROR_H
22
23
#ifdef __cplusplus
24
extern
"C"
{
25
#endif
26
30
enum
dpl_error
{
31
DPL_OK = 0,
32
DPL_ENOMEM = 1,
33
DPL_EINVAL = 2,
34
DPL_INVALID_PARAM = 3,
35
DPL_MEM_NOT_ALIGNED = 4,
36
DPL_BAD_MUTEX = 5,
37
DPL_TIMEOUT = 6,
38
DPL_ERR_IN_ISR = 7,
39
DPL_ERR_PRIV = 8,
40
DPL_OS_NOT_STARTED = 9,
41
DPL_ENOENT = 10,
42
DPL_EBUSY = 11,
43
DPL_ERROR = 12,
44
};
45
49
typedef
enum
dpl_error
dpl_error_t
;
50
51
#ifdef __cplusplus
52
}
53
#endif
54
55
#endif
/* DPL_DPL_ERROR_H */
dpl_error
dpl_error
DPL error types.
Definition:
dpl_error.h:30
dpl_error_t
enum dpl_error dpl_error_t
dep error type
Definition:
dpl_error.h:49
Generated on Tue Nov 24 2020 19:46:51 by
1.8.17