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:10:00 +03:00
|
|
|
CLAPI void* initAug (augSettings settings, int flags);
|
|
|
|
|
|
|
|
CLAPI void printPreview (augeas* aug,
|
2022-11-04 03:15:28 +03:00
|
|
|
const char* matchPath,
|
|
|
|
const char* filePath);
|
2022-11-03 22:30:21 +03:00
|
|
|
|
2022-11-05 00:10:00 +03:00
|
|
|
CLAPI void printAugTree (augeas* aug,
|
2022-11-04 03:15:28 +03:00
|
|
|
const char* matchPath,
|
|
|
|
const char* filePath);
|
2022-11-05 00:10:00 +03:00
|
|
|
|
|
|
|
CLAPI void closeAug (void* aug);
|
2022-11-03 22:30:21 +03:00
|
|
|
}
|