diff options
author | Jan200101 <sentrycraft123@gmail.com> | 2020-08-18 23:58:16 +0200 |
---|---|---|
committer | Jan200101 <sentrycraft123@gmail.com> | 2020-08-18 23:58:16 +0200 |
commit | d53109eaa890ab807b66961a89291cea3cd3c003 (patch) | |
tree | a62382b32014266f5aecb6f639d0962bb1682bf0 /src/config.h | |
parent | 1753e2b151cbb4af75a4e9ea61720b3704b03805 (diff) | |
download | polecat-d53109eaa890ab807b66961a89291cea3cd3c003.tar.gz polecat-d53109eaa890ab807b66961a89291cea3cd3c003.zip |
first part of a proper lutris implementation and cleanup0.1.4
- remove all old build platform related variables
- change behavior of clean
- change tabs into spaces
- make XDG fetching method static
- replace strcpy and cat with strn alternative with proper bounds checking
- add cache dir
- reenable dxvk and download from ram
- completely rework lutris fetching and convert it into an interal struct
- only show http errors in debug
- add sanity checks to methods with possible NULL return
- change extracting methods to extract tar from ram
Diffstat (limited to 'src/config.h')
-rw-r--r-- | src/config.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/config.h b/src/config.h index cba95d8..07f0dc6 100644 --- a/src/config.h +++ b/src/config.h @@ -3,8 +3,9 @@ #include <stdlib.h> -void getConfigDir(char* config); -void getDataDir(char* config); +void getConfigDir(char*, const size_t); +void getDataDir(char*, const size_t); +void getCacheDir(char*, const size_t); void makeDir(const char* path); |