bglibs: env.h Source File

- Main Page
- Modules
- Data Structures
- Files
- Directories
- Related Pages
- Examples

# env.h

    00001 /* $Id: env.h 616 2005-08-19 20:11:01Z bruce $ */
    00002 #ifndef BGLIBS__STR__ENV__H__
    00003 #define BGLIBS__STR__ENV__H__
    00004
    00005 struct str;
    00006
    00017 extern const char* envstr_find(const struct str* env, const char* var, long varlen);
    00018 extern const char* envstr_get(const struct str* env, const char* var);
    00019 extern int envstr_set(struct str* env, const char* var, const char* val, int overwrite);
    00020 extern void envstr_unset(struct str* env, const char* var);
    00021 extern int envstr_put(struct str* env, const char* asgn, int overwrite);
    00022 extern int envstr_from_array(struct str* env, char** array, int overwrite);
    00023 extern int envstr_from_string(struct str* env, const char* s, int overwrite);
    00024 extern char** envstr_make_array(const struct str* env);
    00025
    00028 #endif