client-c  0.7.0
kaa_channel_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 
27 #ifndef KAA_CHANNEL_MANAGER_H_
28 #define KAA_CHANNEL_MANAGER_H_
29 
30 #include "kaa_common.h"
32 
33 #ifdef __cplusplus
34 extern "C" {
35 #endif
36 
40 #ifndef KAA_CHANNEL_MANAGER_T
41 # define KAA_CHANNEL_MANAGER_T
43 #endif
44 
45 
46 
56  , uint32_t *channel_id);
57 
77  , uint32_t *channel_id);
78 
92  , uint32_t channel_id);
93 
94 #ifdef __cplusplus
95 } /* extern "C" */
96 #endif
97 #endif /* KAA_CHANNEL_MANAGER_H_ */
Common C EP SDK definitions and small utilities.
kaa_error_t
Definition: kaa_error.h:31
kaa_error_t kaa_channel_manager_remove_transport_channel(kaa_channel_manager_t *self, uint32_t channel_id)
Removes user-defined transport channel implementation from the currently registered list...
Interface for a client transport channel implementation.
kaa_error_t kaa_transport_channel_id_calculate(kaa_transport_channel_interface_t *channel, uint32_t *channel_id)
Kaa channel manager structure.
struct kaa_channel_manager_t kaa_channel_manager_t
Definition: kaa_context.h:50
kaa_error_t kaa_channel_manager_add_transport_channel(kaa_channel_manager_t *self, kaa_transport_channel_interface_t *channel, uint32_t *channel_id)
Adds user-defined transport channel implementation as a sync request handler for the given list of se...