client-c  0.7.0
kaa.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_H_
25 #define KAA_H_
26 
27 #include "kaa_context.h"
28 #include "kaa_error.h"
29 
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
33 
34 
35 
45 kaa_error_t kaa_init(kaa_context_t **kaa_context_p);
46 
47 
48 
58 kaa_error_t kaa_start(kaa_context_t *kaa_context);
59 
60 
61 
72 
73 #ifdef __cplusplus
74 } /* extern "C" */
75 #endif
76 #endif /* KAA_H_ */
kaa_error_t
Definition: kaa_error.h:31
Kaa endpoint context definition.
Kaa error codes.
kaa_error_t kaa_init(kaa_context_t **kaa_context_p)
Creates and initializes general Kaa endpoint context.
kaa_error_t kaa_deinit(kaa_context_t *kaa_context)
De-initializes and destroys general Kaa endpoint context.
kaa_error_t kaa_start(kaa_context_t *kaa_context)
Starts Kaa's workflow.