1105197Ssam/*
2105197Ssam * "$Id: path.h,v 1.2 2008/06/01 14:41:03 rlk Exp $"
3105197Ssam *
4139823Simp *   libgimpprint path functions header
5105197Ssam *
6105197Ssam *   Copyright 1997-2000 Michael Sweet (mike@easysw.com),
7105197Ssam *	Robert Krawitz (rlk@alum.mit.edu) and Michael Natterer (mitch@gimp.org)
8105197Ssam *   Copyright 2002 Roger Leigh (rleigh@debian.org)
9105197Ssam *
10105197Ssam *   This program is free software; you can redistribute it and/or modify it
11105197Ssam *   under the terms of the GNU General Public License as published by the Free
12105197Ssam *   Software Foundation; either version 2 of the License, or (at your option)
13105197Ssam *   any later version.
14105197Ssam *
15105197Ssam *   This program is distributed in the hope that it will be useful, but
16105197Ssam *   WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
17105197Ssam *   or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
18105197Ssam *   for more details.
19105197Ssam *
20105197Ssam *   You should have received a copy of the GNU General Public License
21105197Ssam *   along with this program; if not, write to the Free Software
22105197Ssam *   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
23105197Ssam */
24105197Ssam
25105197Ssam/**
26105197Ssam * @file gutenprint/path.h
27105197Ssam * @brief Simple directory path functions.
28105197Ssam */
29105197Ssam
30105197Ssam/*
31105197Ssam * This file must include only standard C header files.  The core code must
32105197Ssam * compile on generic platforms that don't support glib, gimp, gtk, etc.
33105197Ssam */
34105197Ssam
35105197Ssam#ifndef GUTENPRINT_PATH_H
36105197Ssam#define GUTENPRINT_PATH_H
37105197Ssam
38105197Ssam#ifdef __cplusplus
39105197Ssamextern "C" {
40105197Ssam#endif
41105197Ssam
42105197Ssam
43105197Ssamextern stp_list_t *stp_path_search(stp_list_t *dirlist,
44105197Ssam				   const char *suffix);
45119643Ssam
46119643Ssamextern void stp_path_split(stp_list_t *list,
47105197Ssam			   const char *path);
48105197Ssam
49105197Ssamextern stp_list_t *stpi_data_path(void);
50105197Ssam
51105197Ssamextern stp_list_t *stpi_list_files_on_data_path(const char *name);
52105197Ssam
53105197Ssamextern char *stpi_path_merge(const char *path, const char *file);
54105197Ssam
55105197Ssam
56105197Ssam#ifdef __cplusplus
57158767Spjd  }
58105197Ssam#endif
59183550Szec
60105197Ssam#endif /* GUTENPRINT_PATH_H */
61105197Ssam/*
62105197Ssam * End of "$Id: path.h,v 1.2 2008/06/01 14:41:03 rlk Exp $".
63105197Ssam */
64105197Ssam