diff options
author | axel <axel@liljencrantz.se> | 2005-09-20 23:26:39 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2005-09-20 23:26:39 +1000 |
commit | 149594f974350bb364a76c73b91b1d5ffddaa1fa (patch) | |
tree | 95650e9982d5fabe4bd805d94c5d700cbbc1ca7f /env_universal.h |
Initial revision
darcs-hash:20050920132639-ac50b-fa3b476891e1f5f67207cf4cc7bf623834cc5edc.gz
Diffstat (limited to 'env_universal.h')
-rw-r--r-- | env_universal.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/env_universal.h b/env_universal.h new file mode 100644 index 00000000..6705febd --- /dev/null +++ b/env_universal.h @@ -0,0 +1,39 @@ +/** \file env_universl.h + Universal variable client library +*/ + +#ifndef ENV_UNIVERSAL_HH +#define ENV_UNIVERSAL_HH + +#include "env_universal_common.h" + +/** + Data about the universal variable server. +*/ +extern connection_t env_universal_server; + +/** + Initialize the envuni library +*/ +void env_universal_init(); +/* + Free memory used by envuni +*/ +void env_universal_destroy(); + +/** + Get the value of a universal variable +*/ +wchar_t *env_universal_get( const wchar_t *name ); +/** + Set the value of a universal variable +*/ +void env_universal_set( const wchar_t *name, const wchar_t *val ); +/** + Erase a universal variable +*/ +void env_universal_remove( const wchar_t *name ); + +int env_universal_read_all(); + +#endif |