histui/source/storage.hpp
2024-08-05 17:50:40 +02:00

19 lines
379 B
C++

#ifndef STORAGE_HPP
#define STORAGE_HPP
#include <stddef.h>
#include "entry.h"
extern bool is_levenstein;
extern bool is_caseless;
int init_storage(void);
int deinit_storage(void);
int insert_entry(int timestamp, const char * const command);
void query(const char * const string, const size_t limit, const size_t offset);
void requery(void);
entry_t get_entry(void);
#endif