client-c
0.9.0
Main Page
Related Pages
Classes
Files
File List
File Members
kaa_error.h
Go to the documentation of this file.
1
/*
2
* Copyright 2014-2016 CyberVision, Inc.
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
*
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*/
16
24
#ifndef KAA_ERROR_H_
25
#define KAA_ERROR_H_
26
27
#ifdef __cplusplus
28
extern
"C"
{
29
#endif
30
31
typedef
enum
{
32
KAA_ERR_NONE
= 0,
33
34
/* General errors */
35
KAA_ERR_NOMEM
= -1,
36
KAA_ERR_BADDATA
= -2,
37
KAA_ERR_BADPARAM
= -3,
38
KAA_ERR_READ_FAILED
= -4,
39
KAA_ERR_WRITE_FAILED
= -5,
40
KAA_ERR_NOT_FOUND
= -6,
41
KAA_ERR_NOT_INITIALIZED
= -7,
42
KAA_ERR_BAD_STATE
= -8,
43
KAA_ERR_INVALID_PUB_KEY
= -9,
44
KAA_ERR_INVALID_BUFFER_SIZE
= -10,
45
KAA_ERR_UNSUPPORTED
= -11,
46
KAA_ERR_BAD_PROTOCOL_ID
= -12,
47
KAA_ERR_BAD_PROTOCOL_VERSION
= -13,
48
KAA_ERR_INSUFFICIENT_BUFFER
= -14,
49
KAA_ERR_ALREADY_EXISTS
= -15,
50
KAA_ERR_TIMEOUT
= -16,
51
KAA_ERR_PROFILE_IS_NOT_SET
= -17,
52
/* TODO(KAA-924): temporary solution to initiate SDK stop in certian cases */
53
KAA_ERR_SDK_STOP
= -18,
54
55
KAA_ERR_EVENT_NOT_ATTACHED
= -41,
56
KAA_ERR_EVENT_BAD_FQN
= -42,
57
KAA_ERR_EVENT_TRX_NOT_FOUND
= -43,
58
59
KAA_ERR_BUFFER_IS_NOT_ENOUGH
= -51,
60
KAA_ERR_BUFFER_INVALID_SIZE
= -52,
61
62
KAA_ERR_SOCKET_ERROR
= -91,
63
KAA_ERR_SOCKET_CONNECT_ERROR
= -92,
64
KAA_ERR_SOCKET_INVALID_FAMILY
= -93,
65
66
KAA_ERR_TCPCHANNEL_AP_RESOLVE_FAILED
= -101,
67
KAA_ERR_TCPCHANNEL_PARSER_INIT_FAILED
= -102,
68
KAA_ERR_TCPCHANNEL_PARSER_ERROR
= -103,
69
}
kaa_error_t
;
70
71
#ifdef __cplusplus
72
}
/* extern "C" */
73
#endif
74
#endif
/* KAA_ERROR_H_ */
KAA_ERR_NOT_INITIALIZED
Definition:
kaa_error.h:41
KAA_ERR_NONE
Definition:
kaa_error.h:32
KAA_ERR_SOCKET_ERROR
Definition:
kaa_error.h:62
KAA_ERR_NOMEM
Definition:
kaa_error.h:35
KAA_ERR_NOT_FOUND
Definition:
kaa_error.h:40
KAA_ERR_ALREADY_EXISTS
Definition:
kaa_error.h:49
KAA_ERR_TIMEOUT
Definition:
kaa_error.h:50
KAA_ERR_BADPARAM
Definition:
kaa_error.h:37
KAA_ERR_BAD_STATE
Definition:
kaa_error.h:42
KAA_ERR_BUFFER_IS_NOT_ENOUGH
Definition:
kaa_error.h:59
kaa_error_t
kaa_error_t
Definition:
kaa_error.h:31
KAA_ERR_PROFILE_IS_NOT_SET
Definition:
kaa_error.h:51
KAA_ERR_BAD_PROTOCOL_VERSION
Definition:
kaa_error.h:47
KAA_ERR_TCPCHANNEL_PARSER_ERROR
Definition:
kaa_error.h:68
KAA_ERR_READ_FAILED
Definition:
kaa_error.h:38
KAA_ERR_BAD_PROTOCOL_ID
Definition:
kaa_error.h:46
KAA_ERR_SDK_STOP
Definition:
kaa_error.h:53
KAA_ERR_UNSUPPORTED
Definition:
kaa_error.h:45
KAA_ERR_EVENT_NOT_ATTACHED
Definition:
kaa_error.h:55
KAA_ERR_TCPCHANNEL_PARSER_INIT_FAILED
Definition:
kaa_error.h:67
KAA_ERR_TCPCHANNEL_AP_RESOLVE_FAILED
Definition:
kaa_error.h:66
KAA_ERR_WRITE_FAILED
Definition:
kaa_error.h:39
KAA_ERR_INSUFFICIENT_BUFFER
Definition:
kaa_error.h:48
KAA_ERR_EVENT_BAD_FQN
Definition:
kaa_error.h:56
KAA_ERR_INVALID_BUFFER_SIZE
Definition:
kaa_error.h:44
KAA_ERR_BUFFER_INVALID_SIZE
Definition:
kaa_error.h:60
KAA_ERR_SOCKET_INVALID_FAMILY
Definition:
kaa_error.h:64
KAA_ERR_INVALID_PUB_KEY
Definition:
kaa_error.h:43
KAA_ERR_EVENT_TRX_NOT_FOUND
Definition:
kaa_error.h:57
KAA_ERR_SOCKET_CONNECT_ERROR
Definition:
kaa_error.h:63
KAA_ERR_BADDATA
Definition:
kaa_error.h:36
data
git
kaa_github
client
client-multi
client-c
src
kaa
kaa_error.h
Generated on Thu Apr 28 2016 18:50:51 for client-c by
1.8.6