1
1
/* Generated by conf2struct (https://www.rutschle.net/tech/conf2struct/README)
2
- * on Sun Sep 26 16:54:06 2021.
2
+ * on Mon Sep 27 13:21:48 2021.
3
3
4
4
# conf2struct: generate libconf parsers that read to structs
5
5
# Copyright (C) 2018-2021 Yves Rutschle
@@ -454,7 +454,6 @@ struct arg_file* sslhcfg_conffile;
454
454
struct arg_int * sslhcfg_verbose_probe_error ;
455
455
struct arg_int * sslhcfg_verbose_system_error ;
456
456
struct arg_int * sslhcfg_verbose_int_error ;
457
- struct arg_int * sslhcfg_verbose ;
458
457
struct arg_lit * sslhcfg_version ;
459
458
struct arg_lit * sslhcfg_foreground ;
460
459
struct arg_lit * sslhcfg_inetd ;
@@ -794,7 +793,7 @@ static struct config_desc table_sslhcfg_listen[] = {
794
793
},
795
794
{ 0 }
796
795
};
797
-
796
+
798
797
static struct config_desc table_sslhcfg [] = {
799
798
800
799
@@ -974,22 +973,6 @@ static struct config_desc table_sslhcfg[] = {
974
973
/* default_val*/ .default_val .def_int = 3
975
974
},
976
975
977
- {
978
- /* name */ "verbose" ,
979
- /* type */ CFG_INT ,
980
- /* sub_group*/ NULL ,
981
- /* arg_cl */ & sslhcfg_verbose ,
982
- /* base_addr */ NULL ,
983
- /* offset */ offsetof(struct sslhcfg_item , verbose ),
984
- /* offset_len */ 0 ,
985
- /* offset_present */ 0 ,
986
- /* size */ sizeof (int ),
987
- /* array_type */ -1 ,
988
- /* mandatory */ 1 ,
989
- /* optional */ 0 ,
990
- /* default_val*/ .default_val .def_int = 0
991
- },
992
-
993
976
{
994
977
/* name */ "version" ,
995
978
/* type */ CFG_BOOL ,
@@ -1310,7 +1293,7 @@ static struct compound_cl_arg compound_cl_args[] = {
1310
1293
{ /* arg: listen */
1311
1294
.regex = "(.+):(\\w+)" ,
1312
1295
.arg_cl = & sslhcfg_listen ,
1313
- .base_entry = & table_sslhcfg [24 ],
1296
+ .base_entry = & table_sslhcfg [23 ],
1314
1297
.targets = sslhcfg_listen_targets ,
1315
1298
1316
1299
@@ -1322,7 +1305,7 @@ static struct compound_cl_arg compound_cl_args[] = {
1322
1305
{ /* arg: ssh */
1323
1306
.regex = "(.+):(\\w+)" ,
1324
1307
.arg_cl = & sslhcfg_ssh ,
1325
- .base_entry = & table_sslhcfg [25 ],
1308
+ .base_entry = & table_sslhcfg [24 ],
1326
1309
.targets = sslhcfg_ssh_targets ,
1327
1310
1328
1311
@@ -1334,7 +1317,7 @@ static struct compound_cl_arg compound_cl_args[] = {
1334
1317
{ /* arg: tls */
1335
1318
.regex = "(.+):(\\w+)" ,
1336
1319
.arg_cl = & sslhcfg_tls ,
1337
- .base_entry = & table_sslhcfg [25 ],
1320
+ .base_entry = & table_sslhcfg [24 ],
1338
1321
.targets = sslhcfg_tls_targets ,
1339
1322
1340
1323
@@ -1346,7 +1329,7 @@ static struct compound_cl_arg compound_cl_args[] = {
1346
1329
{ /* arg: openvpn */
1347
1330
.regex = "(.+):(\\w+)" ,
1348
1331
.arg_cl = & sslhcfg_openvpn ,
1349
- .base_entry = & table_sslhcfg [25 ],
1332
+ .base_entry = & table_sslhcfg [24 ],
1350
1333
.targets = sslhcfg_openvpn_targets ,
1351
1334
1352
1335
@@ -1358,7 +1341,7 @@ static struct compound_cl_arg compound_cl_args[] = {
1358
1341
{ /* arg: tinc */
1359
1342
.regex = "(.+):(\\w+)" ,
1360
1343
.arg_cl = & sslhcfg_tinc ,
1361
- .base_entry = & table_sslhcfg [25 ],
1344
+ .base_entry = & table_sslhcfg [24 ],
1362
1345
.targets = sslhcfg_tinc_targets ,
1363
1346
1364
1347
@@ -1370,7 +1353,7 @@ static struct compound_cl_arg compound_cl_args[] = {
1370
1353
{ /* arg: xmpp */
1371
1354
.regex = "(.+):(\\w+)" ,
1372
1355
.arg_cl = & sslhcfg_xmpp ,
1373
- .base_entry = & table_sslhcfg [25 ],
1356
+ .base_entry = & table_sslhcfg [24 ],
1374
1357
.targets = sslhcfg_xmpp_targets ,
1375
1358
1376
1359
@@ -1382,7 +1365,7 @@ static struct compound_cl_arg compound_cl_args[] = {
1382
1365
{ /* arg: http */
1383
1366
.regex = "(.+):(\\w+)" ,
1384
1367
.arg_cl = & sslhcfg_http ,
1385
- .base_entry = & table_sslhcfg [25 ],
1368
+ .base_entry = & table_sslhcfg [24 ],
1386
1369
.targets = sslhcfg_http_targets ,
1387
1370
1388
1371
@@ -1394,7 +1377,7 @@ static struct compound_cl_arg compound_cl_args[] = {
1394
1377
{ /* arg: adb */
1395
1378
.regex = "(.+):(\\w+)" ,
1396
1379
.arg_cl = & sslhcfg_adb ,
1397
- .base_entry = & table_sslhcfg [25 ],
1380
+ .base_entry = & table_sslhcfg [24 ],
1398
1381
.targets = sslhcfg_adb_targets ,
1399
1382
1400
1383
@@ -1406,7 +1389,7 @@ static struct compound_cl_arg compound_cl_args[] = {
1406
1389
{ /* arg: socks5 */
1407
1390
.regex = "(.+):(\\w+)" ,
1408
1391
.arg_cl = & sslhcfg_socks5 ,
1409
- .base_entry = & table_sslhcfg [25 ],
1392
+ .base_entry = & table_sslhcfg [24 ],
1410
1393
.targets = sslhcfg_socks5_targets ,
1411
1394
1412
1395
@@ -1418,7 +1401,7 @@ static struct compound_cl_arg compound_cl_args[] = {
1418
1401
{ /* arg: syslog */
1419
1402
.regex = "(.+):(\\w+)" ,
1420
1403
.arg_cl = & sslhcfg_syslog ,
1421
- .base_entry = & table_sslhcfg [25 ],
1404
+ .base_entry = & table_sslhcfg [24 ],
1422
1405
.targets = sslhcfg_syslog_targets ,
1423
1406
1424
1407
@@ -1430,7 +1413,7 @@ static struct compound_cl_arg compound_cl_args[] = {
1430
1413
{ /* arg: anyprot */
1431
1414
.regex = "(.+):(\\w+)" ,
1432
1415
.arg_cl = & sslhcfg_anyprot ,
1433
- .base_entry = & table_sslhcfg [25 ],
1416
+ .base_entry = & table_sslhcfg [24 ],
1434
1417
.targets = sslhcfg_anyprot_targets ,
1435
1418
1436
1419
@@ -2106,7 +2089,6 @@ int sslhcfg_cl_parse(int argc, char* argv[], struct sslhcfg_item* cfg)
2106
2089
sslhcfg_verbose_probe_error = arg_intn (NULL , "verbose-probe-error" , "<n>" , 0 , 1 , "" ),
2107
2090
sslhcfg_verbose_system_error = arg_intn (NULL , "verbose-system-error" , "<n>" , 0 , 1 , "" ),
2108
2091
sslhcfg_verbose_int_error = arg_intn (NULL , "verbose-int-error" , "<n>" , 0 , 1 , "" ),
2109
- sslhcfg_verbose = arg_intn ("v" , "verbose" , "<n>" , 0 , 1 , "" ),
2110
2092
sslhcfg_version = arg_litn ("V" , "version" , 0 , 1 , "Print version information and exit" ),
2111
2093
sslhcfg_foreground = arg_litn ("f" , "foreground" , 0 , 1 , "Run in foreground instead of as a daemon" ),
2112
2094
sslhcfg_inetd = arg_litn ("i" , "inetd" , 0 , 1 , "Run in inetd mode: use stdin/stdout instead of network listen" ),
@@ -2308,9 +2290,6 @@ void sslhcfg_fprint(
2308
2290
fprintf (out , "verbose_int_error: %d" , sslhcfg -> verbose_int_error );
2309
2291
fprintf (out , "\n" );
2310
2292
indent (out , depth );
2311
- fprintf (out , "verbose: %d" , sslhcfg -> verbose );
2312
- fprintf (out , "\n" );
2313
- indent (out , depth );
2314
2293
fprintf (out , "version: %d" , sslhcfg -> version );
2315
2294
fprintf (out , "\n" );
2316
2295
indent (out , depth );
0 commit comments