mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-02 03:52:49 -05:00
Replace conf.c's type arrays with a new conf_key_info[].
This array is planned to be exposed more widely, and used for more purposes than just checking the types of Conf options. In this commit it just takes over from the two previous smaller arrays, and adds no extra data.
This commit is contained in:
9
utils/conf_data.c
Normal file
9
utils/conf_data.c
Normal file
@ -0,0 +1,9 @@
|
||||
#include "putty.h"
|
||||
|
||||
#define CONF_OPTION(id, ...) { __VA_ARGS__ },
|
||||
#define VALUE_TYPE(x) .value_type = CONF_TYPE_ ## x
|
||||
#define SUBKEY_TYPE(x) .subkey_type = CONF_TYPE_ ## x
|
||||
|
||||
const ConfKeyInfo conf_key_info[] = {
|
||||
#include "conf.h"
|
||||
};
|
Reference in New Issue
Block a user