envstr.h
#ifndef BGLIBS__STR__ENV__H__
#define BGLIBS__STR__ENV__H__
struct str;
extern const char* envstr_find(const struct str* env, const char* var, long varlen);
extern const char* envstr_get(const struct str* env, const char* var);
extern int envstr_set(struct str* env, const char* var, const char* val, int overwrite);
extern void envstr_unset(struct str* env, const char* var);
extern int envstr_put(struct str* env, const char* asgn, int overwrite);
extern int envstr_from_array(struct str* env, char** array, int overwrite);
extern int envstr_from_string(struct str* env, const char* s, int overwrite);
extern char** envstr_make_array(const struct str* env);
#endif
envstr_make_array
char ** envstr_make_array(const struct str *env)
Definition env_make_array.c:11
envstr_get
const char * envstr_get(const struct str *env, const char *var)
Definition env_get.c:7
envstr_from_array
int envstr_from_array(struct str *env, char **array, int overwrite)
Definition env_from_array.c:9
envstr_from_string
int envstr_from_string(struct str *env, const char *s, int overwrite)
Definition env_from_string.c:8
envstr_set
int envstr_set(struct str *env, const char *var, const char *val, int overwrite)
Definition env_set.c:6
envstr_find
const char * envstr_find(const struct str *env, const char *var, long varlen)
Definition env_find.c:9
envstr_unset
void envstr_unset(struct str *env, const char *var)
Definition env_unset.c:6
envstr_put
int envstr_put(struct str *env, const char *asgn, int overwrite)
Definition env_put.c:9
str
Definition str.h:31