Zigbee Protocol Controller 1.6.0
datastore_fixt.h
Go to the documentation of this file.
1/******************************************************************************
2 * # License
3 * <b>Copyright 2021 Silicon Laboratories Inc. www.silabs.com</b>
4 ******************************************************************************
5 * The licensor of this software is Silicon Laboratories Inc. Your use of this
6 * software is governed by the terms of Silicon Labs Master Software License
7 * Agreement (MSLA) available at
8 * www.silabs.com/about-us/legal/master-software-license-agreement. This
9 * software is distributed to you in Source Code format and is governed by the
10 * sections of the MSLA applicable to Source Code.
11 *
12 *****************************************************************************/
13
27#ifndef DATASTORE_FIXT_H
28#define DATASTORE_FIXT_H
29
30#include <stdbool.h>
31#include "sl_status.h"
32
33#ifdef __cplusplus
34extern "C" {
35#endif
36
40#define UIC_VERSION_MAX_LEN 100
41
54sl_status_t datastore_fixt_setup(const char *datastore_file);
55
88 datastore_fixt_setup_and_handle_version(const char *datastore_file,
89 int64_t db_version);
90#ifdef __cplusplus
91}
92#endif
93
95#endif // DATASTORE_FIXT_H
int datastore_fixt_teardown()
Fixture to tear down the datastore.
Definition: datastore_fixt.c:209
sl_status_t datastore_fixt_setup_and_handle_version(const char *datastore_file, int64_t db_version)
Function for setting up the datastore component handling the datastore version.
Definition: datastore_fixt.c:138
sl_status_t datastore_fixt_setup(const char *datastore_file)
Fixture for setting up the datastore component.
Definition: datastore_fixt.c:195
uint32_t sl_status_t
Definition: sl_status.h:139
SL Status Codes.