NeoMutt
2025-12-11-1009-ga75d9e
Teaching an old dog new tricks
DOXYGEN
Toggle main menu visibility
Loading...
Searching...
No Matches
config.c
Go to the documentation of this file.
1
22
28
29
#include "config.h"
30
#include <stddef.h>
31
#include "
config/lib.h
"
32
36
struct
ConfigDef
ProgressVars
[] = {
37
// clang-format off
38
{
"net_inc"
,
DT_NUMBER
|
D_INTEGER_NOT_NEGATIVE
, 10, 0, NULL,
39
"(socket) Update the progress bar after this many KB sent/received (0 to disable)"
40
},
41
{
"read_inc"
,
DT_NUMBER
|
D_INTEGER_NOT_NEGATIVE
, 10, 0, NULL,
42
"Update the progress bar after this many records read (0 to disable)"
43
},
44
{
"time_inc"
,
DT_NUMBER
|
D_INTEGER_NOT_NEGATIVE
, 0, 0, NULL,
45
"Frequency of progress bar updates (milliseconds)"
46
},
47
{
"write_inc"
,
DT_NUMBER
|
D_INTEGER_NOT_NEGATIVE
, 10, 0, NULL,
48
"Update the progress bar after this many records written (0 to disable)"
49
},
50
{ NULL },
51
// clang-format on
52
};
lib.h
Convenience wrapper for the config headers.
ProgressVars
struct ConfigDef ProgressVars[]
Config definitions for the Progress Bar.
Definition
config.c:36
ConfigDef
Definition
set.h:65
DT_NUMBER
@ DT_NUMBER
a number
Definition
types.h:38
D_INTEGER_NOT_NEGATIVE
#define D_INTEGER_NOT_NEGATIVE
Negative numbers are not allowed.
Definition
types.h:101