1
/***************************************************************************
3
* This program is free software; you can redistribute it and/or modify *
4
* it under the terms of the GNU Lesser General Public License as *
5
* published by the Free Software Foundation; either version 2 of the *
6
* License, or (at your option) any later version. *
8
***************************************************************************/
13
Utility function to manage directories
22
* check if directory exists or not*
23
* \param *Dirname name of the directory
24
* \return true if exists
26
bool DirExists(const char *Dirname);
28
* change the current directory and return old one
29
* as a MALLOC'ED by system ONE
33
char* ChangeToDir(const char* Dirname);
35
* Reestablish directory to current one before changing
36
* and free the char* MALLOC'ED by system when changing.
39
void RetablishDir(char* oldDirname);
42
}/* end extern C definitions */