34 lines
731 B
C++
34 lines
731 B
C++
#include <string>
|
|
#include "iostream"
|
|
#include "augeas.h"
|
|
#include "map"
|
|
#include <sys/stat.h>
|
|
#include "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 void print_preview (augeas* aug,
|
|
const char* matchPath,
|
|
const char* filePath);
|
|
|
|
CLAPI void print_tree (augeas* aug,
|
|
const char* matchPath,
|
|
const char* filePath);
|
|
|
|
CLAPI const char* get_node (augeas* aug, char* path );
|
|
|
|
|
|
|
|
CLAPI void close_aug (void* aug);
|
|
|
|
|
|
}
|