1 /*
2   get_fname.h
3 
4   Copyright (c) 2009 - January 13, 2021
5   http://www.tuxpaint.org/
6 
7   This program is free software; you can redistribute it and/or modify
8   it under the terms of the GNU General Public License as published by
9   the Free Software Foundation; either version 2 of the License, or
10   (at your option) any later version.
11 
12   This program is distributed in the hope that it will be useful,
13   but WITHOUT ANY WARRANTY; without even the implied warranty of
14   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15   GNU General Public License for more details.
16 
17   You should have received a copy of the GNU General Public License
18   along with this program; if not, write to the Free Software
19   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
20   (See COPYING.txt)
21 
22   $Id$
23 */
24 
25 #ifndef GET_FNAME_H
26 #define GET_FNAME_H
27 
28 extern const char *savedir;
29 extern const char *datadir;
30 extern const char *exportdir;
31 
32 enum
33 {
34   /* (See get_fname.c for details) */
35   DIR_SAVE,
36   DIR_DATA,
37   DIR_EXPORT,
38   DIR_EXPORT_PARENT
39 };
40 
41 char *get_fname(const char *const name, int kind);
42 
43 
44 #endif
45