OSDN Git Service

Support options set by preferences assigned within profile.xml
[mingw/mingw-get.git] / src / mkpath.h
1 #ifndef MKPATH_H
2 /*
3  * mkpath.h
4  *
5  * $Id$
6  *
7  * Written by Keith Marshall <keithmarshall@users.sourceforge.net>
8  * Copyright (C) 2009, 2011, MinGW Project
9  *
10  *
11  * Prototype declarations for the path name constructor functions,
12  * and the directory hierarchy and file creation functions, which are
13  * implemented in mkpath.c
14  *
15  *
16  * This is free software.  Permission is granted to copy, modify and
17  * redistribute this software, under the provisions of the GNU General
18  * Public License, Version 3, (or, at your option, any later version),
19  * as published by the Free Software Foundation; see the file COPYING
20  * for licensing details.
21  *
22  * Note, in particular, that this software is provided "as is", in the
23  * hope that it may prove useful, but WITHOUT WARRANTY OF ANY KIND; not
24  * even an implied WARRANTY OF MERCHANTABILITY, nor of FITNESS FOR ANY
25  * PARTICULAR PURPOSE.  Under no circumstances will the author, or the
26  * MinGW Project, accept liability for any damages, however caused,
27  * arising from the use of this software.
28  *
29  */
30 #define MKPATH_H  1
31
32 #ifndef EXTERN_C
33 # ifdef __cplusplus
34 #  define EXTERN_C extern "C"
35 # else
36 #  define EXTERN_C
37 # endif
38 #endif
39
40 EXTERN_C int mkdir_recursive( const char *, int );
41 EXTERN_C int set_output_stream( const char *, int );
42 EXTERN_C int mkpath( char *, const char *, const char *, const char * );
43
44 EXTERN_C const char *pkgArchivePath();
45 EXTERN_C const char *pkgSourceArchivePath();
46
47 #endif /* MKPATH_H: $RCSfile$: end of file */