mirror of
https://github.com/JamesonHuang/OpenWrt_Luci_Lua.git
synced 2024-11-27 15:30:11 +00:00
26 lines
415 B
C
26 lines
415 B
C
#ifndef ARCHIVE_H
|
|
#define ARCHIVE_H
|
|
|
|
#include "dict.h"
|
|
|
|
struct _Archive
|
|
{
|
|
int n_sub_apps;
|
|
char **sub_apps;
|
|
dict **seqs;
|
|
};
|
|
typedef struct _Archive Archive;
|
|
extern Archive g_archive;
|
|
|
|
void NebulaInitAutoSave();
|
|
|
|
int NebulaIsSubscribed(const char* appname);
|
|
|
|
int NebulaAddSubApp(const char* appname);
|
|
|
|
int NebulaLoadFromFile(const char* file);
|
|
|
|
int NebulaSaveToFile(const char* file);
|
|
|
|
#endif //ARCHIVE_H
|