fish-shell/env_universal.h
axel 149594f974 Initial revision
darcs-hash:20050920132639-ac50b-fa3b476891e1f5f67207cf4cc7bf623834cc5edc.gz
2005-09-20 23:26:39 +10:00

39 lines
718 B
C

/** \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