You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

31 lines
532 B

#pragma once
#include <stdint.h>
#include <stdio.h>
#include "uappbase/appdep.hpp"
#include "project_configs.h"
#define MAX_TABLE_NUM 10
#define TABLE_BASE_VERSION APP_VERSION
namespace iflytop {
typedef struct {
const char* name;
uint8_t* add;
uint32_t size;
} zhdb_table_t;
class ZHDB {
private:
/* data */
public:
static void init();
static zhdb_table_t* allocTable(const char* name, size_t size);
static void storageData(uint8_t* data, size_t size);
};
} // namespace iflytop