|
a/src/utils/pathut.h |
|
b/src/utils/pathut.h |
|
... |
|
... |
14 |
* Free Software Foundation, Inc.,
|
14 |
* Free Software Foundation, Inc.,
|
15 |
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
15 |
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
16 |
*/
|
16 |
*/
|
17 |
#ifndef _PATHUT_H_INCLUDED_
|
17 |
#ifndef _PATHUT_H_INCLUDED_
|
18 |
#define _PATHUT_H_INCLUDED_
|
18 |
#define _PATHUT_H_INCLUDED_
|
19 |
/* @(#$Id: pathut.h,v 1.9 2006-10-23 15:00:31 dockes Exp $ (C) 2004 J.F.Dockes */
|
19 |
/* @(#$Id: pathut.h,v 1.10 2006-12-14 13:53:43 dockes Exp $ (C) 2004 J.F.Dockes */
|
20 |
|
20 |
|
21 |
#include <string>
|
21 |
#include <string>
|
22 |
#include <list>
|
22 |
#include <list>
|
23 |
|
23 |
|
24 |
#ifndef NO_NAMESPACES
|
24 |
#ifndef NO_NAMESPACES
|
|
... |
|
... |
49 |
extern string url_encode(const string url,
|
49 |
extern string url_encode(const string url,
|
50 |
string::size_type offs);
|
50 |
string::size_type offs);
|
51 |
/// Stat parameter and check if it's a directory
|
51 |
/// Stat parameter and check if it's a directory
|
52 |
extern bool path_isdir(const string& path);
|
52 |
extern bool path_isdir(const string& path);
|
53 |
|
53 |
|
|
|
54 |
/// Create temporary directory
|
|
|
55 |
extern bool maketmpdir(string& tdir, string& reason);
|
|
|
56 |
|
54 |
#endif /* _PATHUT_H_INCLUDED_ */
|
57 |
#endif /* _PATHUT_H_INCLUDED_ */
|