client-c  0.7.0
kaa_status.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 
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 "platform/ext_sha.h"
27 
28 #ifndef KAA_STATUS_T
29 # define KAA_STATUS_T
30 typedef struct
31 {
32  uint32_t event_seq_n;
33  uint32_t config_seq_n;
34  uint16_t log_bucket_id;
39 
41 } kaa_status_t;
42 
43 #endif
44 
45 
46 #ifdef __cplusplus
47 } // extern "C"
48 #endif
49 #endif /* KAA_STATUS_H_ */
bool is_attached
Definition: kaa_status.h:36
unsigned char kaa_digest[SHA_1_DIGEST_LENGTH]
Definition: ext_sha.h:34
bool is_registered
Definition: kaa_status.h:35
Common C EP SDK definitions and small utilities.
uint16_t log_bucket_id
Definition: kaa_status.h:34
char * endpoint_access_token
Definition: kaa_status.h:40
Kaa error codes.
kaa_digest profile_hash
Definition: kaa_status.h:38
uint32_t event_seq_n
Definition: kaa_status.h:32
kaa_digest endpoint_public_key_hash
Definition: kaa_status.h:37
uint32_t config_seq_n
Definition: kaa_status.h:33
struct kaa_status_t kaa_status_t
Definition: kaa_context.h:33