NeoMutt  2020-11-20
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 
28 void mutt_envlist_free(void);
29 char **mutt_envlist_getlist(void);
30 void mutt_envlist_init(char *envp[]);
31 bool mutt_envlist_set(const char *name, const char *value, bool overwrite);
32 bool mutt_envlist_unset(const char *name);
33 
34 #endif /* MUTT_LIB_ENVLIST_H */
bool mutt_envlist_set(const char *name, const char *value, bool overwrite)
Set an environment variable.
Definition: envlist.c:85
void mutt_envlist_free(void)
Free the private copy of the environment.
Definition: envlist.c:41
void mutt_envlist_init(char *envp[])
Create a copy of the environment.
Definition: envlist.c:56
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