client-c
0.9.0
Main Page
Related Pages
Classes
Files
File List
File Members
kaa_bootstrap_manager.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_BOOTSTRAP_MANAGER_H_
25
#define KAA_BOOTSTRAP_MANAGER_H_
26
27
#include <stdbool.h>
28
#include "
kaa_error.h
"
29
#include "
kaa_common.h
"
30
#include "
platform/ext_kaa_failover_strategy.h
"
31
32
#ifdef __cplusplus
33
extern
"C"
{
34
#endif
35
36
37
#ifndef KAA_BOOTSTRAP_MANAGER_T
38
# define KAA_BOOTSTRAP_MANAGER_T
39
typedef
struct
kaa_bootstrap_manager_t
kaa_bootstrap_manager_t
;
40
#endif
41
42
43
44
typedef
enum
{
45
KAA_SERVER_BOOTSTRAP
= 0,
46
KAA_SERVER_OPERATIONS
= 1
47
}
kaa_server_type_t
;
48
49
50
62
kaa_error_t
kaa_bootstrap_manager_on_access_point_failed
(
kaa_bootstrap_manager_t
*
self
,
63
kaa_transport_protocol_id_t
*protocol_id,
64
kaa_server_type_t
type,
65
kaa_failover_reason
reason_code);
66
67
#ifdef __cplusplus
68
}
/* extern "C" */
69
#endif
70
#endif
/* KAA_BOOTSTRAP_MANAGER_H_ */
kaa_server_type_t
kaa_server_type_t
Definition:
kaa_bootstrap_manager.h:44
kaa_failover_reason
kaa_failover_reason
Definition:
ext_kaa_failover_strategy.h:35
kaa_transport_protocol_id_t
Identifier used to uniquely represent transport protocol.
Definition:
kaa_common.h:71
kaa_common.h
Common C EP SDK definitions and small utilities.
kaa_bootstrap_manager_on_access_point_failed
kaa_error_t kaa_bootstrap_manager_on_access_point_failed(kaa_bootstrap_manager_t *self, kaa_transport_protocol_id_t *protocol_id, kaa_server_type_t type, kaa_failover_reason reason_code)
Notifies some error has occurred while using an access point.
KAA_SERVER_BOOTSTRAP
Definition:
kaa_bootstrap_manager.h:45
kaa_error_t
kaa_error_t
Definition:
kaa_error.h:31
kaa_error.h
Kaa error codes.
KAA_SERVER_OPERATIONS
Definition:
kaa_bootstrap_manager.h:46
ext_kaa_failover_strategy.h
kaa_bootstrap_manager_t
struct kaa_bootstrap_manager_t kaa_bootstrap_manager_t
Definition:
kaa_bootstrap_manager.h:39
data
git
kaa_github
client
client-multi
client-c
src
kaa
kaa_bootstrap_manager.h
Generated on Thu Apr 28 2016 18:50:51 for client-c by
1.8.6