aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/file-utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/file-utils.h')
-rw-r--r--src/file-utils.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/file-utils.h b/src/file-utils.h
index 4ee59e6..e974e2f 100644
--- a/src/file-utils.h
+++ b/src/file-utils.h
@@ -68,6 +68,18 @@ teco_file_normalize_path(gchar *path)
gboolean teco_file_is_visible(const gchar *path);
+/**
+ * Get absolute path of the program executable.
+ *
+ * This may return the current working directory on
+ * unsupported platforms.
+ *
+ * @return Newly-allocated path.
+ */
+gchar *teco_file_get_program_path(void);
+
+gchar *teco_file_get_datadir(void);
+
gchar *teco_file_expand_path(const gchar *path);
/**