1 /*
2     setenv and unsetenv emulation code
3     Copyright (C) 1992,1995-1999,2000-2003,2005-2008 Free Software Foundation,
4     Copyright (C) 2008  Markus Steinborn
5 
6     This program is free software: you can redistribute it and/or modify
7     it under the terms of the GNU General Public License as published by
8     the Free Software Foundation, either version 3 of the License, or
9     (at your option) any later version.
10 
11     This program is distributed in the hope that it will be useful,
12     but WITHOUT ANY WARRANTY; without even the implied warranty of
13     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14     GNU General Public License for more details.
15 
16     You should have received a copy of the GNU General Public License
17     along with this program.  If not, see <http://www.gnu.org/licenses/>.
18 */
19 
20 #ifndef setenv_h
21 #define setenv_h
22 
23 #ifdef USE_SETENV_CODE
24    int gnu_gv_setenv (const char *name, const char *value, int overwrite);
25    int gnu_gv_unsetenv (const char *name);
26 #else
27    #define gnu_gv_setenv setenv
28    #define gnu_gv_unsetenv unsetenv
29 
30 #endif
31 #endif
32