1#ifndef LIBNAGIOS_NSPATH_H_INCLUDED
2#define LIBNAGIOS_NSPATH_H_INCLUDED
60extern char *
nspath_real(
const char *rel_path,
const char *base);
88#define NSPATH_MKDIR_SKIP_LAST (1 << 0)
int nspath_mkdir_p(const char *path, mode_t mode, int options)
Recursively create a directory, just like mkdir_p would.
char * nspath_absolute_dirname(const char *path, const char *base)
Get absolute dirname of "path", relative to "base".
char * nspath_absolute(const char *rel_path, const char *base)
Make the "base"-relative path "rel_path" absolute.
char * nspath_real(const char *rel_path, const char *base)
Canonicalize the "base"-relative path "rel_path".
char * nspath_normalize(const char *orig_path)
Normalize a path By "normalize", we mean that we convert dot-slash and dot-dot-slash embedded compone...