Adds the new "share" configuration option to allow to share the pool directory in Windows.

This commit is contained in:
Andrea Mazzoleni 2013-12-18 19:26:57 +01:00
parent b10a1c890f
commit 3df99a03ee
12 changed files with 240 additions and 24 deletions

7
util.h
View file

@ -410,6 +410,13 @@ void pathcat(char* dst, size_t size, const char* src);
*/
void pathimport(char* dst, size_t size, const char* src);
/**
* Exports a path limiting the size.
* In Windows all the C slashes are converted to the Windows backslash.
* Aborts if too long.
*/
void pathexport(char* dst, size_t size, const char* src);
/**
* Prints a path.
* Aborts if too long.