summaryrefslogtreecommitdiffstats
path: root/get_path.h
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-08-28 11:20:24 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-08-28 11:20:24 +0000
commit84157efa5ac4ee391e8615db69b07027428e331d (patch)
tree08118149c7d5e3cf022159765da3f0848da52164 /get_path.h
parent2e2c64dd3adb225800b5bc42cff75cfca67071be (diff)
downloadmpv-84157efa5ac4ee391e8615db69b07027428e331d.tar.bz2
mpv-84157efa5ac4ee391e8615db69b07027428e331d.tar.xz
Clean up the way get_path is handled: Compile get_path.c to an object to link
against instead of directly #including the C file and replace the many extern declarations by a proper header file. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24262 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'get_path.h')
-rw-r--r--get_path.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/get_path.h b/get_path.h
new file mode 100644
index 0000000000..0a62d938a6
--- /dev/null
+++ b/get_path.h
@@ -0,0 +1,27 @@
+/*
+ * Get path to config dir/file.
+ *
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with MPlayer; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#ifndef GET_PATH_H
+#define GET_PATH_H
+
+char *get_path(const char *filename);
+void set_path_env();
+
+#endif /* GET_PATH_H */