textual
[RRG-proxmark3.git] / client / src / preferences.h
blob0d770502783f6df513df47d14e1f953354cce569
1 //-----------------------------------------------------------------------------
2 // This code is licensed to you under the terms of the GNU GPL, version 2 or,
3 // at your option, any later version. See the LICENSE.txt file for the text of
4 // the license.
5 //-----------------------------------------------------------------------------
6 // Settings Functions
7 //-----------------------------------------------------------------------------
8 #ifndef PREFERENCES_H_
9 #define PREFERENCES_H_
11 #include "fileutils.h"
12 #include <errno.h>
14 // Current working directory will be prepended.
15 #define preferencesFilename "preferences.json"
17 int CmdPreferences(const char *Cmd);
18 int preferences_load(void);
19 int preferences_save(void);
21 void preferences_save_callback(json_t *root);
22 void preferences_load_callback(json_t *root);
24 #endif