Distributed Publish Subscribe for IoT
Main Page
Related Pages
Data Structures
Files
File List
Globals
err.h
Go to the documentation of this file.
1
/*
2
*******************************************************************
3
*
4
* Copyright 2016 Intel Corporation All rights reserved.
5
*
6
*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
7
*
8
* Licensed under the Apache License, Version 2.0 (the "License");
9
* you may not use this file except in compliance with the License.
10
* You may obtain a copy of the License at
11
*
12
* http://www.apache.org/licenses/LICENSE-2.0
13
*
14
* Unless required by applicable law or agreed to in writing, software
15
* distributed under the License is distributed on an "AS IS" BASIS,
16
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
* See the License for the specific language governing permissions and
18
* limitations under the License.
19
*
20
*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
21
*/
22
23
#ifndef _DPS_ERR_H
24
#define _DPS_ERR_H
25
26
#ifdef __cplusplus
27
extern
"C"
{
28
#endif
29
30
typedef
int
DPS_Status
;
31
35
#define DPS_OK 0
36
#define DPS_ERR_OK 0
37
#define DPS_ERR_FAILURE 1
38
#define DPS_ERR_NULL 2
39
#define DPS_ERR_ARGS 3
40
#define DPS_ERR_RESOURCES 4
41
#define DPS_ERR_READ 5
42
#define DPS_ERR_WRITE 6
43
#define DPS_ERR_TIMEOUT 7
44
#define DPS_ERR_EOD 8
45
#define DPS_ERR_OVERFLOW 9
46
#define DPS_ERR_NETWORK 10
47
#define DPS_ERR_INVALID 11
48
#define DPS_ERR_BUSY 12
49
#define DPS_ERR_EXISTS 13
50
#define DPS_ERR_MISSING 14
51
#define DPS_ERR_STALE 15
52
#define DPS_ERR_NO_ROUTE 16
53
#define DPS_ERR_NOT_STARTED 17
54
#define DPS_ERR_NOT_INITIALIZED 18
55
#define DPS_ERR_EXPIRED 19
56
#define DPS_ERR_UNRESOLVED 20
57
#define DPS_ERR_NODE_DESTROYED 21
58
#define DPS_ERR_EOF 22
59
#define DPS_ERR_NOT_IMPLEMENTED 23
60
#define DPS_ERR_SECURITY 24
61
#define DPS_ERR_NOT_ENCRYPTED 25
62
#define DPS_ERR_STOPPING 26
64
const char* DPS_ErrTxt(DPS_Status s);
65
66
#ifdef __cplusplus
67
}
68
#endif
69
70
#endif
DPS_Status
int DPS_Status
Definition:
err.h:30
Distributed PubSub Manual
Generated Wed Sep 6 2017 15:31:16