client-c  0.7.0
kaa_profile.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_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"
35 
36 
37 
41 # ifndef KAA_PROFILE_MANAGER_T
42 # define KAA_PROFILE_MANAGER_T
44 # endif
45 
46 
47 
60 
61 
62 
72 
73 
74 
84 
85 
86 
87 # ifdef __cplusplus
88 } /* extern "C" */
89 # endif
90 
91 # endif /* KAA_PROFILE_H_ */
struct kaa_profile_manager_t kaa_profile_manager_t
Definition: kaa_context.h:55
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.
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:95