client-c  0.8.1
ext_status.h
Go to the documentation of this file.
1 
22 #ifndef EXT_STATUS_H_
23 #define EXT_STATUS_H_
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
29 
42 void ext_status_read(char **buffer, size_t *buffer_size, bool *needs_deallocation);
43 
44 
52 void ext_status_store(const char *buffer, size_t buffer_size);
53 
54 #ifdef __cplusplus
55 } /* extern "C" */
56 #endif
57 
58 #endif /* SRC_PLATFORM_EXT_STATUS_H_ */
void ext_status_store(const char *buffer, size_t buffer_size)
Called when Kaa is ready to persist its state.
void ext_status_read(char **buffer, size_t *buffer_size, bool *needs_deallocation)
Called on Kaa startup to restore the persisted state.