diff options
author | David Walter Seikel | 2016-02-06 19:52:33 +1000 |
---|---|---|
committer | David Walter Seikel | 2016-02-06 19:52:33 +1000 |
commit | a8cddde41e8682fb32832826c8ec5dbdf3c7871f (patch) | |
tree | 779b5df71c623e9d6933e89190b86678bb65f2a6 /src/libraries | |
parent | TODO++ (diff) | |
download | SledjHamr-a8cddde41e8682fb32832826c8ec5dbdf3c7871f.zip SledjHamr-a8cddde41e8682fb32832826c8ec5dbdf3c7871f.tar.gz SledjHamr-a8cddde41e8682fb32832826c8ec5dbdf3c7871f.tar.bz2 SledjHamr-a8cddde41e8682fb32832826c8ec5dbdf3c7871f.tar.xz |
Put the ~/.SledHamr/ creation code into all three main binaries. sigh
Diffstat (limited to 'src/libraries')
-rw-r--r-- | src/libraries/LumbrJack.c | 12 | ||||
-rw-r--r-- | src/libraries/LumbrJack.h | 2 |
2 files changed, 13 insertions, 1 deletions
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 @@ | |||
6 | #include <unistd.h> | 6 | #include <unistd.h> |
7 | #include "LumbrJack.h" | 7 | #include "LumbrJack.h" |
8 | 8 | ||
9 | const char *dirs[] = | ||
10 | { | ||
11 | ".cache", | ||
12 | ".cache/compiled", | ||
13 | ".cache/converted", | ||
14 | ".cache/sha1", | ||
15 | ".cache/types", | ||
16 | ".cache/unpacked", | ||
17 | ".download", | ||
18 | "inventory", | ||
19 | NULL | ||
20 | }; | ||
9 | 21 | ||
10 | static char dateTime[DATE_TIME_LEN]; | 22 | static char dateTime[DATE_TIME_LEN]; |
11 | static Eina_Prefix *prefix = NULL; | 23 | 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 | |||
39 | } boolean; | 39 | } boolean; |
40 | #endif | 40 | #endif |
41 | 41 | ||
42 | 42 | extern const char *dirs[]; | |
43 | extern int logDom; | 43 | extern int logDom; |
44 | 44 | ||
45 | int HamrTime(char *argv0, void *main, int logDom); | 45 | int HamrTime(char *argv0, void *main, int logDom); |