Zigbee Protocol Controller 1.6.0
datastore_fixt.c File Reference
#include "datastore.h"
#include "datastore_fixt.h"
#include "datastore_internals.h"
#include "sl_log.h"
#include "sl_status.h"
#include "uic_version.h"
#include <sqlite3.h>
#include <stddef.h>
#include <string.h>
#include <stdio.h>

Macros

#define LOG_TAG   "datastore_fixt"
 

Functions

static sl_status_t datastore_attribute_init ()
 
static sl_status_t datastore_open (const char *datastore_file)
 
sl_status_t datastore_init (const char *datastore_path)
 Initialize the Datastore component. More...
 
sl_status_t datastore_teardown ()
 Tear down the Datastore component. More...
 
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. More...
 
sl_status_t datastore_fixt_setup (const char *datastore_file)
 Fixture for setting up the datastore component. More...
 
int datastore_fixt_teardown ()
 Fixture to tear down the datastore. More...
 

Variables

sqlite3 * db = NULL
 

Macro Definition Documentation

◆ LOG_TAG

#define LOG_TAG   "datastore_fixt"

Function Documentation

◆ datastore_attribute_init()

static sl_status_t datastore_attribute_init ( )
static

◆ datastore_open()

static sl_status_t datastore_open ( const char *  datastore_file)
static

Variable Documentation

◆ db

sqlite3* db = NULL