OpenWrt_Luci_Lua/1_8.sip_push/nebula_sdk/sdk/archive.h
2015-06-13 23:06:56 +08:00

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