OpenWrt_Luci_Lua/1_8.sip_push/nebula_sdk/sdk/archive.h

26 lines
415 B
C
Raw Normal View History

2015-06-13 14:34:38 +00:00
#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