diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-08-24 21:26:53 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-08-24 21:26:53 +0200 |
commit | df247efec654e512242e4f4f1b0212034f9e01fe (patch) | |
tree | 25c02e16957f3aa613af30c140fd8e8a3d52fda6 /app/bin/include/paramfile.h | |
parent | d0b6a8a4ec298024f14f704f9e40a6f9d324ccf3 (diff) | |
parent | a5ade52caa489cf0a713e0f02b764000d203140e (diff) |
Merge branch 'release/debian/1%5.2.0Beta2.1-1' into masterdebian/1%5.2.0Beta2.1-1
Diffstat (limited to 'app/bin/include/paramfile.h')
-rw-r--r-- | app/bin/include/paramfile.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/app/bin/include/paramfile.h b/app/bin/include/paramfile.h new file mode 100644 index 0000000..b177b15 --- /dev/null +++ b/app/bin/include/paramfile.h @@ -0,0 +1,26 @@ +#ifndef HAVE_PARAMFILE_H + #define HAVE_PARAMFILE_H + #include <stdbool.h> + #include <wlib.h> + #include "common.h" + + extern DIST_T curBarScale; + extern dynArr_t paramProc_da; + extern dynArr_t paramFileInfo_da; + + void ParamCheckSumLine(char * line); + wBool_t IsParamValid(int fileInx); + bool IsParamFileDeleted(int fileInx); + bool IsParamFileFavorite(int fileInx); + void SetParamFileState(int index); + int ReadParamFile(const char *fileName); + int ReloadDeletedParamFile(int fileindex); + void SetParamFileDeleted(int fileInx, bool deleted); + void SetParamFileFavorite(int fileInx, bool favorite); + char * GetParamFileName(int fileInx); + char * GetParamFileContents(int fileInx); + bool ReadParams(long key, const char * dirName, const char * fileName); + + #define CONTENTSCOMMAND "CONTENTS" + char *GetParameterFileContent(char *file); +#endif // !HAVE_PARAMFILE_H |