NeoMutt  2021-02-05-89-gabe350
Teaching an old dog new tricks
DOXYGEN
config.c File Reference
#include "config.h"
#include <stddef.h>
#include <config/lib.h>
#include <stdbool.h>
#include "lib.h"
+ Include dependency graph for config.c:

Go to the source code of this file.

Functions

bool config_init_mbox (struct ConfigSet *cs)
 Register mbox config variables - Implements module_init_config_t. More...
 

Variables

bool C_CheckMboxSize
 Config: (mbox,mmdf) Use mailbox size as an indicator of new mail. More...
 
struct ConfigDef MboxVars []
 

Detailed Description

Config used by libmbox

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.

Function Documentation

◆ config_init_mbox()

bool config_init_mbox ( struct ConfigSet cs)

Register mbox config variables - Implements module_init_config_t.

Definition at line 51 of file config.c.

52 {
53  return cs_register_variables(cs, MboxVars, 0);
54 }
+ Here is the call graph for this function:

Variable Documentation

◆ C_CheckMboxSize

bool C_CheckMboxSize

Config: (mbox,mmdf) Use mailbox size as an indicator of new mail.

Definition at line 36 of file config.c.

◆ MboxVars

struct ConfigDef MboxVars[]
Initial value:
= {
{ "check_mbox_size", DT_BOOL, &C_CheckMboxSize, false, 0, NULL,
"(mbox,mmdf) Use mailbox size as an indicator of new mail"
},
{ NULL, 0, NULL, 0, 0, NULL, NULL },
}

Definition at line 39 of file config.c.

C_CheckMboxSize
bool C_CheckMboxSize
Config: (mbox,mmdf) Use mailbox size as an indicator of new mail.
Definition: config.c:36
cs_register_variables
bool cs_register_variables(const struct ConfigSet *cs, struct ConfigDef vars[], uint32_t flags)
Register a set of config items.
Definition: set.c:286
MboxVars
struct ConfigDef MboxVars[]
Definition: config.c:39
DT_BOOL
#define DT_BOOL
boolean option
Definition: types.h:30