Last change
on this file since 494 was
494,
checked in by Sam Hocevar, 12 years ago
|
style: remove trailing spaces, fix copyright statements.
|
File size:
1.4 KB
|
Line | |
---|
1 | /* |
---|
2 | * Abuse - dark 2D side-scrolling platform game |
---|
3 | * Copyright (c) 2001 Anthony Kruize <trandor@labyrinth.net.au> |
---|
4 | * Copyright (c) 2005-2011 Sam Hocevar <sam@hocevar.net> |
---|
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 2 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, write to the Free Software Foundation, |
---|
18 | * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. |
---|
19 | */ |
---|
20 | |
---|
21 | /* FIXME: this file is unused */ |
---|
22 | |
---|
23 | #include "config.h" |
---|
24 | |
---|
25 | #include <stdio.h> |
---|
26 | #include <stdlib.h> |
---|
27 | #include <fcntl.h> |
---|
28 | #include <unistd.h> |
---|
29 | #include <sys/ioctl.h> |
---|
30 | #include <sys/stat.h> |
---|
31 | #include <sys/types.h> |
---|
32 | #include <sys/time.h> |
---|
33 | #include <string.h> |
---|
34 | #include <signal.h> |
---|
35 | #include <netinet/in.h> |
---|
36 | #include <sys/socket.h> |
---|
37 | #include <netdb.h> |
---|
38 | |
---|
39 | #include "jnet.h" |
---|
40 | #include "macs.h" |
---|
41 | |
---|
42 | int current_sock_err; |
---|
43 | |
---|
44 | int net_init( int protocol ) |
---|
45 | { |
---|
46 | printf( "YO!\n" ); |
---|
47 | if( protocol == TCPIP_PROTOCOL ) |
---|
48 | return 1; |
---|
49 | else |
---|
50 | return 0; |
---|
51 | } |
---|
52 | |
---|
53 | void net_uninit() |
---|
54 | { |
---|
55 | // Nothing to do |
---|
56 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.