2 * (c) Copyright 1992 by Panagiotis Tsirigotis
3 * All rights reserved. The file named COPYRIGHT specifies the terms
4 * and conditions for redistribution.
11 * $Id: m_env.h,v 1.2 2003/03/09 19:27:08 steveg Exp $
21 typedef struct __env *env_h ;
23 #define ENV_NULL ((env_h)0)
36 #define ENV_EBADSTRING 3
39 env_h env_create ( const env_h ) ;
40 void env_destroy ( env_h ) ;
41 env_h env_make ( char **env_strings ) ;
42 int env_addvar ( env_h, env_h from_env, char *var ) ;
43 int env_addstr ( env_h, char *str ) ;
44 char *env_lookup ( env_h, const char *var ) ;
46 #define env_getvars( env ) (env)->vars
48 extern int env_errno ;
50 #endif /* __M_ENV_H */