client-c  0.7.0
kaa_bootstrap_manager.h
Go to the documentation of this file.
1 /*
2  * Copyright 2014 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 "kaa_error.h"
28 #include "kaa_common.h"
30 
31 #ifdef __cplusplus
32 extern "C" {
33 #endif
34 
35 
36 #ifndef KAA_BOOTSTRAP_MANAGER_T
37 # define KAA_BOOTSTRAP_MANAGER_T
39 #endif
40 
41 
42 
43 typedef enum {
47 
48 
49 
61  , kaa_transport_protocol_id_t *protocol_id
62  , kaa_server_type_t type);
63 
64 #ifdef __cplusplus
65 } /* extern "C" */
66 #endif
67 #endif /* KAA_BOOTSTRAP_MANAGER_H_ */
kaa_server_type_t
Identifier used to uniquely represent transport protocol.
Definition: kaa_common.h:69
Common C EP SDK definitions and small utilities.
kaa_error_t
Definition: kaa_error.h:31
Kaa error codes.
struct kaa_bootstrap_manager_t kaa_bootstrap_manager_t
Definition: kaa_context.h:45
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)
Notifies some error has occurred while using an access point.