生成的代码包

This commit is contained in:
2026-09-08 10:02:27 +08:00
commit 21a6f93b3f
905 changed files with 216720 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
#ifndef DATABASE_H
#define DATABASE_H
#include "typedef.h"
struct db_table {
const char *name;
u8 value_bits;
int value;
};
int db_select_buffer(u8 index, char *buffer, int len);
int db_update_buffer(u8 index, char *buffer, int len);
int db_create(const char *store_dev);
int db_create_table(const struct db_table *table, int num);
u32 db_select(const char *table);
int db_update(const char *table, u32 value);
int db_flush();
int db_reset();
int db_erase();
#endif