mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-10-03 21:56:14 +08:00
c9bd43c4b6
Changed from settings to preferences. Added UTF8 Banner support Added Show/Edit draft
26 lines
873 B
C
26 lines
873 B
C
//-----------------------------------------------------------------------------
|
|
// Copyright (C) 2009 Michael Gernoth <michael at gernoth.net>
|
|
// Copyright (C) 2010 iZsh <izsh at fail0verflow.com>
|
|
//
|
|
// This code is licensed to you under the terms of the GNU GPL, version 2 or,
|
|
// at your option, any later version. See the LICENSE.txt file for the text of
|
|
// the license.
|
|
//-----------------------------------------------------------------------------
|
|
// Settings Functions
|
|
//-----------------------------------------------------------------------------
|
|
#ifndef PREFERENCES_H_
|
|
#define PREFERENCES_H_
|
|
|
|
#include "fileutils.h"
|
|
|
|
#define preferencesFilename "preferences.json"
|
|
|
|
int CmdPreferences (const char *Cmd);
|
|
int preferences_load (void);
|
|
int preferences_save (void);
|
|
|
|
void preferences_save_callback (json_t *root);
|
|
void preferences_load_callback (json_t *root);
|
|
|
|
#endif
|