mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-13 20:44:35 +03:00
Introduce versioned config files and config_reader_min_version
This commit is contained in:

committed by
Benny Baumann

parent
dd91e9a9da
commit
4b59a2e6b7
@ -18,6 +18,8 @@ in the source distribution for its full text.
|
||||
|
||||
#define DEFAULT_DELAY 15
|
||||
|
||||
#define CONFIG_READER_MIN_VERSION 2
|
||||
|
||||
typedef struct {
|
||||
int len;
|
||||
char** names;
|
||||
@ -26,6 +28,7 @@ typedef struct {
|
||||
|
||||
typedef struct Settings_ {
|
||||
char* filename;
|
||||
int config_version;
|
||||
MeterColumnSettings columns[2];
|
||||
Hashtable* dynamicColumns;
|
||||
|
||||
|
Reference in New Issue
Block a user