client-c
0.9.0
Main Page
Related Pages
Classes
Files
File List
File Members
kaa_status.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
#ifndef KAA_STATUS_H_
18
#define KAA_STATUS_H_
19
20
#ifdef __cplusplus
21
extern
"C"
{
22
#endif
23
24
#include "
kaa_error.h
"
25
#include "
kaa_common.h
"
26
#include "
collections/kaa_list.h
"
27
#include "
platform/ext_sha.h
"
28
29
typedef
struct
{
30
uint64_t
topic_id
;
31
uint32_t
sqn_number
;
32
}
kaa_topic_state_t
;
33
34
#ifndef KAA_STATUS_T
35
# define KAA_STATUS_T
36
typedef
struct
37
{
38
uint32_t
event_seq_n
;
39
bool
is_registered
;
40
bool
is_attached
;
41
bool
is_updated
;
42
kaa_digest
endpoint_public_key_hash
;
43
kaa_digest
profile_hash
;
44
bool
profile_needs_resync
;
46
kaa_list_t
*
topic_states
;
47
kaa_list_t
*
topics
;
48
int32_t
topic_list_hash
;
49
char
*
endpoint_access_token
;
50
bool
has_update
;
51
}
kaa_status_t
;
52
53
#endif
54
55
56
#ifdef __cplusplus
57
}
// extern "C"
58
#endif
59
#endif
/* KAA_STATUS_H_ */
kaa_status_t::is_attached
bool is_attached
Definition:
kaa_status.h:40
kaa_digest
unsigned char kaa_digest[SHA_1_DIGEST_LENGTH]
Definition:
ext_sha.h:34
kaa_status_t::is_registered
bool is_registered
Definition:
kaa_status.h:39
kaa_status_t::has_update
bool has_update
Definition:
kaa_status.h:50
kaa_common.h
Common C EP SDK definitions and small utilities.
kaa_topic_state_t::topic_id
uint64_t topic_id
Definition:
kaa_status.h:30
ext_sha.h
kaa_status_t::endpoint_access_token
char * endpoint_access_token
Definition:
kaa_status.h:49
kaa_list_t
struct kaa_list_t kaa_list_t
Definition:
kaa_list.h:30
kaa_status_t::topic_states
kaa_list_t * topic_states
Definition:
kaa_status.h:46
kaa_error.h
Kaa error codes.
kaa_topic_state_t::sqn_number
uint32_t sqn_number
Definition:
kaa_status.h:31
kaa_status_t::topics
kaa_list_t * topics
Definition:
kaa_status.h:47
kaa_status_t::topic_list_hash
int32_t topic_list_hash
Definition:
kaa_status.h:48
kaa_topic_state_t
Definition:
kaa_status.h:29
kaa_status_t::profile_needs_resync
bool profile_needs_resync
Definition:
kaa_status.h:44
kaa_status_t::profile_hash
kaa_digest profile_hash
Definition:
kaa_status.h:43
kaa_status_t::event_seq_n
uint32_t event_seq_n
Definition:
kaa_status.h:38
kaa_status_t::endpoint_public_key_hash
kaa_digest endpoint_public_key_hash
Definition:
kaa_status.h:42
kaa_status_t
Definition:
kaa_status.h:36
kaa_list.h
kaa_status_t::is_updated
bool is_updated
Definition:
kaa_status.h:41
data
git
kaa_github
client
client-multi
client-c
src
kaa
kaa_status.h
Generated on Thu Apr 28 2016 18:50:51 for client-c by
1.8.6