ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/ps2launchargs/source/uLaunchELF/ps2host/net_fio.h
Revision: 1101
Committed: Wed Feb 7 05:08:54 2018 UTC (7 years, 8 months ago) by iritscen
Content type: text/x-chdr
File size: 1320 byte(s)
Log Message:
Added following to ps2launchargs:\n-Source code.\n-DLL needed to run ps2client.\n-Instructions for building uLaunchELF.

File Contents

# Content
1 /*********************************************************************
2 * Copyright (C) 2003 Tord Lindstrom (pukko@home.se)
3 * Copyright (C) 2004 adresd (adresd_ps2dev@yahoo.com)
4 * This file is subject to the terms and conditions of the PS2Link License.
5 * See the file LICENSE in the main directory of this distribution for more
6 * details.
7 */
8
9 #ifndef _NETFIO_H_
10 #define _NETFIO_H_
11
12 int pko_file_serv(void *arg);
13 int pko_recv_bytes(int fd, char *buf, int bytes);
14 int pko_accept_pkt(int fd, char *buf, int len, int pkt_type);
15 int pko_open_file(char *path, int flags);
16 int pko_close_file(int fd);
17 int pko_read_file(int fd, char *buf, int length);
18 int pko_write_file(int fd, char *buf, int length);
19 int pko_lseek_file(int fd, unsigned int offset, int whence);
20 void pko_close_socket(void);
21 void pko_close_fsys(void);
22 int pko_open_dir(char *path);
23 int pko_read_dir(int fd, void *buf);
24 int pko_close_dir(int fd);
25 int pko_make_dir(char *path);
26 int pko_ioctl(int fd, unsigned long request, void *data);
27 int pko_remove(char *name);
28 int pko_mkdir(char *name, int mode);
29 int pko_rmdir(char *name);
30 /*
31 * Don't want printfs to broadcast in case more than 1 ps2 on the same network, so at
32 * connect time, the remote PC's IP is stored here and used as destination for printfs.
33 */
34 extern unsigned int remote_pc_addr;
35
36 #endif

Properties

Name Value
svn:executable *