/***********************************************************************1* *2* This software is part of the ast package *3* Copyright (c) 1982-2011 AT&T Intellectual Property *4* and is licensed under the *5* Eclipse Public License, Version 1.0 *6* by AT&T Intellectual Property *7* *8* A copy of the License is available at *9* http://www.eclipse.org/org/documents/epl-v10.html *10* (with md5 checksum b35adb5213ca9657e911e9befb180842) *11* *12* Information and Software Systems Research *13* AT&T Research *14* Florham Park NJ *15* *16* David Korn <[email protected]> *17* *18***********************************************************************/19#pragma prototyped20#ifndef _ENV_H21#define _ENV_H 12223#ifdef _BLD_env24# ifdef __EXPORT__25# define export __EXPORT__26# endif27#else28typedef void *Env_t;29#endif3031/* for use with env_open */32#define ENV_STABLE (-1)3334/* for third agument to env_add */35#define ENV_MALLOCED 136#define ENV_STRDUP 23738extern void env_close(Env_t*);39extern int env_add(Env_t*, const char*, int);40extern int env_delete(Env_t*, const char*);41extern char **env_get(Env_t*);42extern Env_t *env_open(char**,int);43extern Env_t *env_scope(Env_t*,int);4445#undef extern4647#endif4849505152