142569df3512470f853b415424c93f5eae765ffd
[bluesky.git] / libs3-1.4 / src / mingw_s3_functions.c
1 /** **************************************************************************
2  * mingw_s3_functions.c
3  * 
4  * Copyright 2008 Bryan Ischo <bryan@ischo.com>
5  * 
6  * This file is part of libs3.
7  * 
8  * libs3 is free software: you can redistribute it and/or modify it under the
9  * terms of the GNU General Public License as published by the Free Software
10  * Foundation, version 3 of the License.
11  *
12  * In addition, as a special exception, the copyright holders give
13  * permission to link the code of this library and its programs with the
14  * OpenSSL library, and distribute linked combinations including the two.
15  *
16  * libs3 is distributed in the hope that it will be useful, but WITHOUT ANY
17  * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
18  * FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
19  * details.
20  *
21  * You should have received a copy of the GNU General Public License version 3
22  * along with libs3, in a file named COPYING.  If not, see
23  * <http://www.gnu.org/licenses/>.
24  *
25  ************************************************************************** **/
26
27 int setenv(const char *a, const char *b, int c)
28 {
29     (void) c;
30
31     return SetEnvironmentVariable(a, b);
32 }
33
34 int unsetenv(const char *a)
35 {
36     return SetEnvironmentVariable(a, 0);
37 }