1 /* Copyright (C) 2002 by Red Hat, Incorporated. All rights reserved.
3 * Permission to use, copy, modify, and distribute this software
4 * is freely granted, provided that this notice is preserved.
10 /* The newlib implementation of these functions assumes that sizeof(char) == 1. */
11 char * envz_entry (const char *envz
, size_t envz_len
, const char *name
);
12 char * envz_get (const char *envz
, size_t envz_len
, const char *name
);
13 error_t
envz_add (char **envz
, size_t *envz_len
, const char *name
, const char *value
);
14 error_t
envz_merge (char **envz
, size_t *envz_len
, const char *envz2
, size_t envz2_len
, int override
);
15 void envz_remove(char **envz
, size_t *envz_len
, const char *name
);
16 void envz_strip (char **envz
, size_t *envz_len
);