client-c  0.9.0
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"
31 
32 #ifdef __cplusplus
33 extern "C" {
34 #endif
35 
36 
37 #ifndef KAA_BOOTSTRAP_MANAGER_T
38 # define KAA_BOOTSTRAP_MANAGER_T
40 #endif
41 
42 
43 
44 typedef enum {
48 
49 
50 
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
Identifier used to uniquely represent transport protocol.
Definition: kaa_common.h:71
Common C EP SDK definitions and small utilities.
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_error_t
Definition: kaa_error.h:31
Kaa error codes.
struct kaa_bootstrap_manager_t kaa_bootstrap_manager_t