chiark / gitweb /
lib/home.c: Introduce functions for building pathmames in home directories.
[disorder] / lib / home.h
diff --git a/lib/home.h b/lib/home.h
new file mode 100644 (file)
index 0000000..1956808
--- /dev/null
@@ -0,0 +1,37 @@
+/*
+ * This file is part of DisOrder
+ * Copyright (C) 2007 Richard Kettlewell
+ *
+ * This program 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 3 of the License, or
+ * (at your option) any later version.
+ * 
+ * This program 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 this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+/** @file lib/home.h
+ * @brief Find things in the user's home directory
+ */
+
+#ifndef HOME_H
+#define HOME_H
+
+const char *profile_directory(void);
+char *profile_filename(const char *file);
+
+#endif /* HOME_H */
+
+/*
+Local Variables:
+c-basic-offset:2
+comment-column:40
+fill-column:79
+indent-tabs-mode:nil
+End:
+*/