mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 17:38:00 +00:00
16 lines
313 B
C
16 lines
313 B
C
|
#include "putty.h"
|
||
|
|
||
|
#define CONF_OPTION(id, ...) "CONF_" #id,
|
||
|
|
||
|
static const char *const conf_debug_identifiers[] = {
|
||
|
#include "conf.h"
|
||
|
};
|
||
|
|
||
|
const char *conf_id(int key)
|
||
|
{
|
||
|
size_t i = key;
|
||
|
if (i < lenof(conf_debug_identifiers))
|
||
|
return conf_debug_identifiers[i];
|
||
|
return "CONF_!outofrange!";
|
||
|
}
|