NeoMutt  2022-04-29-323-g5fcc6c
Teaching an old dog new tricks
DOXYGEN
envlist.h
Go to the documentation of this file.
1
23#ifndef MUTT_LIB_ENVLIST_H
24#define MUTT_LIB_ENVLIST_H
25
26#include <stdbool.h>
27
28void mutt_envlist_free(void);
29char **mutt_envlist_getlist(void);
30void mutt_envlist_init(char *envp[]);
31bool mutt_envlist_set(const char *name, const char *value, bool overwrite);
32bool mutt_envlist_unset(const char *name);
33
34#endif /* MUTT_LIB_ENVLIST_H */
char ** mutt_envlist_getlist(void)
Get the private environment.
Definition: envlist.c:169
bool mutt_envlist_unset(const char *name)
Unset an environment variable.
Definition: envlist.c:132
void mutt_envlist_free(void)
Free the private copy of the environment.
Definition: envlist.c:41
bool mutt_envlist_set(const char *name, const char *value, bool overwrite)
Set an environment variable.
Definition: envlist.c:85
void mutt_envlist_init(char *envp[])
Create a copy of the environment.
Definition: envlist.c:56