Type representing an Expando. More...
#include "config.h"#include <limits.h>#include <stdbool.h>#include <stddef.h>#include <stdint.h>#include <stdio.h>#include "mutt/lib.h"#include "config/lib.h"#include "expando.h"
Include dependency graph for config_type.c:Go to the source code of this file.
Functions | |
| static void | expando_destroy (void *var, const struct ConfigDef *cdef) |
| Destroy an Expando object - Implements ConfigSetType::destroy() -. | |
| static int | expando_string_set (void *var, struct ConfigDef *cdef, const char *value, struct Buffer *err) |
| Set an Expando by string - Implements ConfigSetType::string_set() -. | |
| static int | expando_string_get (void *var, const struct ConfigDef *cdef, struct Buffer *result) |
| Get an Expando as a string - Implements ConfigSetType::string_get() -. | |
| static int | expando_native_set (void *var, const struct ConfigDef *cdef, intptr_t value, struct Buffer *err) |
| Set an Expando object from an Expando config item - Implements ConfigSetType::native_get() -. | |
| static intptr_t | expando_native_get (void *var, const struct ConfigDef *cdef, struct Buffer *err) |
| Get an Expando object from an Expando config item - Implements ConfigSetType::native_get() -. | |
| static int | expando_string_plus_equals (void *var, const struct ConfigDef *cdef, const char *value, struct Buffer *err) |
| Add to an Expando by string - Implements ConfigSetType::string_plus_equals() -. | |
| static bool | expando_has_been_set (void *var, const struct ConfigDef *cdef) |
| Is the config value different to its initial value? | |
| static int | expando_reset (void *var, const struct ConfigDef *cdef, struct Buffer *err) |
| Reset an Expando to its initial value - Implements ConfigSetType::reset() -. | |
| const struct Expando * | cs_subset_expando (const struct ConfigSubset *sub, const char *name) |
| Get an Expando config item by name. | |
Variables | |
| const struct ConfigSetType | CstExpando |
| Config type representing an Expando. | |
Type representing an Expando.
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_type.c.
| const struct Expando * cs_subset_expando | ( | const struct ConfigSubset * | sub, |
| const char * | name ) |
Get an Expando config item by name.
| sub | Config Subset |
| name | Name of config item |
Definition at line 361 of file config_type.c.
Here is the call graph for this function:| const struct ConfigSetType CstExpando |
Config type representing an Expando.
Definition at line 340 of file config_type.c.