#include <stdio.h>
Go to the source code of this file.
Data Structures | |
struct | config_t |
A configuration file handle. More... | |
Functions | |
config_t * | nm_config_open (const char *fn) |
Open the specified configuration file. | |
void | nm_config_close (config_t *c) |
Close a configuration file oject. | |
const char * | nm_config_get (config_t *c, const char *entry, const char *def) |
Request a specific configuration key from the configuration file. | |
int | nm_config_get_int (config_t *c, const char *entry, int def) |
Same as nm_config_get() but requests an integer. | |
int | nm_config_get_bool (config_t *c, const char *entry, int def) |
Same as nm_config_get() but requests a boolean. |
This is only used by the plugins, not by applications linking to libnewmail.
Definition in file config.h.
|
Close a configuration file oject.
|
|
Request a specific configuration key from the configuration file.
|
|
Same as nm_config_get() but requests a boolean.
|
|
Same as nm_config_get() but requests an integer.
|
|
Open the specified configuration file.
|