2022-11-04 03:15:28 +03:00
|
|
|
#include <string>
|
|
|
|
#include "iostream"
|
|
|
|
#include "augeas.h"
|
|
|
|
#include "map"
|
|
|
|
#include <sys/stat.h>
|
|
|
|
#include "include/augSettings.h"
|
|
|
|
|
2022-11-03 22:30:21 +03:00
|
|
|
#if defined(_WIN32)
|
2022-11-04 03:15:28 +03:00
|
|
|
#define CLAPI __declspec(dllexport)
|
2022-11-03 22:30:21 +03:00
|
|
|
#else
|
2022-11-04 03:15:28 +03:00
|
|
|
#define CLAPI
|
2022-11-03 22:30:21 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
extern "C" {
|
|
|
|
|
2022-11-05 00:38:12 +03:00
|
|
|
CLAPI void* init_aug (augSettings settings, int flags);
|
2022-11-05 00:10:00 +03:00
|
|
|
|
2022-11-05 00:38:12 +03:00
|
|
|
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);
|
2022-11-03 22:30:21 +03:00
|
|
|
|
2022-11-05 00:10:00 +03:00
|
|
|
|
2022-11-03 22:30:21 +03:00
|
|
|
}
|