1e6b47018ba2370d7b7a44b79151a5b11909ceec
[bluesky.git] / libs3-1.4 / inc / mingw / sys / utsname.h
1 /** **************************************************************************
2  * utsname.h
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 // This file is used only on a MingW build, and provides an implementation
28 // of POSIX sys/utsname.h
29
30 #ifndef UTSNAME_H
31 #define UTSNAME_H
32
33 struct utsname
34 {
35     const char *sysname;
36     const char *machine;
37 };
38
39 int uname(struct utsname *);
40
41 #endif /* UTSNAME_H */