client-c
0.7.0
Main Page
Classes
Files
File List
File Members
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
"
34
# include "
gen/kaa_profile_definitions.h
"
35
36
37
41
# ifndef KAA_PROFILE_MANAGER_T
42
# define KAA_PROFILE_MANAGER_T
43
typedef
struct
kaa_profile_manager_t
kaa_profile_manager_t
;
44
# endif
45
46
47
59
kaa_error_t
kaa_profile_manager_update_profile
(
kaa_profile_manager_t
*
self
,
kaa_profile_t
*profile);
60
61
62
71
kaa_error_t
kaa_profile_manager_set_endpoint_access_token
(
kaa_profile_manager_t
*
self
,
const
char
*token);
72
73
74
83
kaa_error_t
kaa_profile_manager_get_endpoint_id
(
kaa_profile_manager_t
*
self
,
kaa_endpoint_id_p
result_id);
84
85
86
87
# ifdef __cplusplus
88
}
/* extern "C" */
89
# endif
90
91
# endif
/* KAA_PROFILE_H_ */
kaa_profile_manager_t
struct kaa_profile_manager_t kaa_profile_manager_t
Definition:
kaa_context.h:55
kaa_profile_manager_get_endpoint_id
kaa_error_t kaa_profile_manager_get_endpoint_id(kaa_profile_manager_t *self, kaa_endpoint_id_p result_id)
Retrieves the endpoint ID.
kaa_profile_basic_endpoint_profile_test_t
Definition:
kaa_profile_gen.h:28
kaa_common.h
Common C EP SDK definitions and small utilities.
kaa_error_t
kaa_error_t
Definition:
kaa_error.h:31
kaa_error.h
Kaa error codes.
kaa_profile_manager_set_endpoint_access_token
kaa_error_t kaa_profile_manager_set_endpoint_access_token(kaa_profile_manager_t *self, const char *token)
Updates user's access token.
kaa_profile_definitions.h
kaa_profile_manager_update_profile
kaa_error_t kaa_profile_manager_update_profile(kaa_profile_manager_t *self, kaa_profile_t *profile)
Updates user profile.
kaa_endpoint_id_p
const uint8_t * kaa_endpoint_id_p
Definition:
kaa_common.h:95
var
lib
jenkins
workspace
kaa_stable
client
client-multi
client-c
src
kaa
kaa_profile.h
Generated on Tue Mar 31 2015 13:20:49 for client-c by
1.8.7