Kaa client C SDK
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
kaa_profile.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_PROFILE_H_
25 #define KAA_PROFILE_H_
26 
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30 
31 #include <stdbool.h>
32 #include "kaa_error.h"
33 #include "kaa_common.h"
34 #include "gen/kaa_profile_definitions.h"
35 
36 
37 
38 #ifndef KAA_PROFILE_MANAGER_T
39 # define KAA_PROFILE_MANAGER_T
40 
44 #endif
45 
46 
47 
60 
61 
62 
72 
73 
74 
84 
85 #ifdef __cplusplus
86 } /* extern "C" */
87 #endif
88 
89 #endif /* KAA_PROFILE_H_ */
kaa_error_t kaa_profile_manager_get_endpoint_id(kaa_profile_manager_t *self, kaa_endpoint_id_p result_id)
Retrieves the endpoint ID.
Common C EP SDK definitions and small utilities.
kaa_error_t
Definition: kaa_error.h:31
Kaa error codes.
kaa_error_t kaa_profile_manager_set_endpoint_access_token(kaa_profile_manager_t *self, const char *token)
Updates user's access token.
struct kaa_profile_manager_t kaa_profile_manager_t
Private profile manager data structure.
Definition: kaa_profile.h:43
kaa_error_t kaa_profile_manager_update_profile(kaa_profile_manager_t *self, kaa_profile_t *profile)
Updates user profile.
const uint8_t * kaa_endpoint_id_p
Definition: kaa_common.h:96