From a8cddde41e8682fb32832826c8ec5dbdf3c7871f Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Sat, 6 Feb 2016 19:52:33 +1000 Subject: Put the ~/.SledHamr/ creation code into all three main binaries. sigh --- src/libraries/LumbrJack.c | 12 ++++++++++++ src/libraries/LumbrJack.h | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) (limited to 'src/libraries') diff --git a/src/libraries/LumbrJack.c b/src/libraries/LumbrJack.c index b92dc97..ee45f80 100644 --- a/src/libraries/LumbrJack.c +++ b/src/libraries/LumbrJack.c @@ -6,6 +6,18 @@ #include #include "LumbrJack.h" +const char *dirs[] = +{ + ".cache", + ".cache/compiled", + ".cache/converted", + ".cache/sha1", + ".cache/types", + ".cache/unpacked", + ".download", + "inventory", + NULL +}; static char dateTime[DATE_TIME_LEN]; static Eina_Prefix *prefix = NULL; diff --git a/src/libraries/LumbrJack.h b/src/libraries/LumbrJack.h index 74249ed..ff948fc 100644 --- a/src/libraries/LumbrJack.h +++ b/src/libraries/LumbrJack.h @@ -39,7 +39,7 @@ typedef enum } boolean; #endif - +extern const char *dirs[]; extern int logDom; int HamrTime(char *argv0, void *main, int logDom); -- cgit v1.1