33 lines
719 B
C++
33 lines
719 B
C++
#include <string>
|
|
#include "iostream"
|
|
#include "augeas.h"
|
|
#include "map"
|
|
#include <sys/stat.h>
|
|
#include "augSettings.h"
|
|
|
|
#if defined(_WIN32)
|
|
#define CLAPI __declspec(dllexport)
|
|
#else
|
|
#define CLAPI
|
|
#endif
|
|
|
|
extern "C" {
|
|
|
|
CLAPI void *init_aug (augSettings settings, int flags);
|
|
|
|
CLAPI bool load_file (void *aug, const char *filePath);
|
|
|
|
CLAPI void print_preview (augeas *aug,const char *matchPath);
|
|
|
|
CLAPI void print_tree (augeas *aug,const char *matchPath);
|
|
|
|
CLAPI const char *get_tree (augeas *aug,const char *matchPath);
|
|
|
|
CLAPI const char *get_node (augeas *aug, char *path);
|
|
|
|
CLAPI void close_aug (void *aug);
|
|
|
|
CLAPI void free_str (char *str);
|
|
|
|
}
|