about summary refs log tree commit diff stats
path: root/src/common.h
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2017-02-05 21:09:03 +0000
committerJames Booth <boothj5@gmail.com>2017-02-05 21:09:03 +0000
commit286fecf38d218d10366f025faf7cffcb425e19f4 (patch)
tree331a61f379d7513c8bc9d6db0d852e5fdb0518aa /src/common.h
parentc405367dfeb3c23bac192a170501e569be934f26 (diff)
downloadprofani-tty-286fecf38d218d10366f025faf7cffcb425e19f4.tar.gz
Allow installing plugins from directory
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h
index c2317390..8c42ae52 100644
--- a/src/common.h
+++ b/src/common.h
@@ -123,4 +123,8 @@ gboolean is_notify_enabled(void);
 GSList* prof_occurrences(const char *const needle, const char *const haystack, int offset, gboolean whole_word,
     GSList **result);
 
+int is_regular_file(const char *path);
+int is_dir(const char *path);
+void get_file_paths_recursive(const char *directory, GSList **contents);
+
 #endif