source: ps2launchargs/source/uLaunchELF/ps2host/net_fio.h@ 1104

Last change on this file since 1104 was 1101, checked in by iritscen, 7 years ago

Added following to ps2launchargs:\n-Source code.\n-DLL needed to run ps2client.\n-Instructions for building uLaunchELF.

  • Property svn:executable set to *
File size: 1.3 KB
RevLine 
[1101]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
12int pko_file_serv(void *arg);
13int pko_recv_bytes(int fd, char *buf, int bytes);
14int pko_accept_pkt(int fd, char *buf, int len, int pkt_type);
15int pko_open_file(char *path, int flags);
16int pko_close_file(int fd);
17int pko_read_file(int fd, char *buf, int length);
18int pko_write_file(int fd, char *buf, int length);
19int pko_lseek_file(int fd, unsigned int offset, int whence);
20void pko_close_socket(void);
21void pko_close_fsys(void);
22int pko_open_dir(char *path);
23int pko_read_dir(int fd, void *buf);
24int pko_close_dir(int fd);
25int pko_make_dir(char *path);
26int pko_ioctl(int fd, unsigned long request, void *data);
27int pko_remove(char *name);
28int pko_mkdir(char *name, int mode);
29int 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 */
34extern unsigned int remote_pc_addr;
35
36#endif
Note: See TracBrowser for help on using the repository browser.