NeoMutt  2025-12-11-276-g10b23b
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
config.c File Reference

Config used by the Progress Bar. More...

#include "config.h"
#include <stddef.h>
#include "config/lib.h"
+ Include dependency graph for config.c:

Go to the source code of this file.

Variables

struct ConfigDef ProgressVars []
 Config definitions for the Progress Bar.
 

Detailed Description

Config used by the Progress Bar.

Authors
  • Richard Russon

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Definition in file config.c.

Variable Documentation

◆ ProgressVars

struct ConfigDef ProgressVars[]
Initial value:
= {
{ "net_inc", DT_NUMBER|D_INTEGER_NOT_NEGATIVE, 10, 0, NULL,
"(socket) Update the progress bar after this many KB sent/received (0 to disable)"
},
{ "read_inc", DT_NUMBER|D_INTEGER_NOT_NEGATIVE, 10, 0, NULL,
"Update the progress bar after this many records read (0 to disable)"
},
{ "time_inc", DT_NUMBER|D_INTEGER_NOT_NEGATIVE, 0, 0, NULL,
"Frequency of progress bar updates (milliseconds)"
},
{ "write_inc", DT_NUMBER|D_INTEGER_NOT_NEGATIVE, 10, 0, NULL,
"Update the progress bar after this many records written (0 to disable)"
},
{ NULL },
}
@ DT_NUMBER
a number
Definition types.h:38
#define D_INTEGER_NOT_NEGATIVE
Negative numbers are not allowed.
Definition types.h:101

Config definitions for the Progress Bar.

Definition at line 36 of file config.c.

36 {
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};