Rtos API example

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers configuration_store_stub.h Source File

configuration_store_stub.h

00001 /*
00002  * Copyright (c) 2016 ARM Limited. All rights reserved.
00003  */
00004 #ifndef __CONFIGURATION_STORE_STUB_H__
00005 #define __CONFIGURATION_STORE_STUB_H__
00006 
00007 #ifdef __cplusplus
00008 extern "C" {
00009 #endif
00010 
00011 #include "stdint.h"
00012 
00013 typedef struct {
00014     int32_t ret_val;
00015     int32_t delete_ret_val;
00016     int32_t read_ret_val;
00017     int32_t close_ret_val;
00018     int32_t write_ret_val;
00019     ARM_CFSTORE_OPCODE cmd_code;
00020     void *client_context;
00021     ARM_CFSTORE_HANDLE  handle;
00022     ARM_CFSTORE_CALLBACK callback;
00023 } configuration_store_stub_data_t;
00024 
00025 extern configuration_store_stub_data_t cfstore_stub;
00026 
00027 void test_cfstore_callback_trigger(void);
00028 
00029 #ifdef __cplusplus
00030 }
00031 #endif
00032 
00033 #endif