Kaa client C SDK
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
kaa_base64.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 
17 /*
18  * @file kaa_base64.h
19  *
20  * @breaf Decode base64 encoded data
21  *
22  */
23 
24 #ifndef KAA_BASE64_H_
25 #define KAA_BASE64_H_
26 
27 #include "kaa_error.h"
28 
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32 
45 kaa_error_t kaa_base64_decode(const char *encoded_data, size_t encoded_data_length, char *decoded_data, size_t *decoded_data_length);
46 
47 #ifdef __cplusplus
48 } /* extern "C" */
49 #endif
50 
51 #endif /* KAA_BASE64_H_ */
kaa_error_t
Definition: kaa_error.h:31
Kaa error codes.
kaa_error_t kaa_base64_decode(const char *encoded_data, size_t encoded_data_length, char *decoded_data, size_t *decoded_data_length)
Decode base64 encoded data.