PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
smb_fio.h
1
/*
2
Copyright 2009-2010, jimmikaelkael
3
Licenced under Academic Free License version 3.0
4
*/
5
6
#ifndef __SMB_FIO_H__
7
#define __SMB_FIO_H__
8
9
// smb driver ops functions prototypes
10
extern
int
smb_initdev(
void
);
11
extern
int
smb_init(
iop_device_t
*iop_dev);
12
extern
int
smb_deinit(
iop_device_t
*dev);
13
extern
int
smb_open(
iop_file_t
*f,
const
char
*filename,
int
flags,
int
mode);
14
extern
int
smb_close(
iop_file_t
*f);
15
extern
int
smb_lseek(
iop_file_t
*f,
int
pos,
int
where);
16
extern
int
smb_read(
iop_file_t
*f,
void
*buf,
int
size);
17
extern
int
smb_write(
iop_file_t
*f,
void
*buf,
int
size);
18
extern
int
smb_remove(
iop_file_t
*f,
const
char
*filename);
19
extern
int
smb_mkdir(
iop_file_t
*f,
const
char
*dirname,
int
mode);
20
extern
int
smb_rmdir(
iop_file_t
*f,
const
char
*dirname);
21
extern
int
smb_dopen(
iop_file_t
*f,
const
char
*dirname);
22
extern
int
smb_dclose(
iop_file_t
*f);
23
extern
int
smb_dread(
iop_file_t
*f,
iox_dirent_t
*dirent);
24
extern
int
smb_getstat(
iop_file_t
*f,
const
char
*filename,
iox_stat_t
*stat);
25
extern
int
smb_rename(
iop_file_t
*f,
const
char
*oldname,
const
char
*newname);
26
extern
int
smb_chdir(
iop_file_t
*f,
const
char
*dirname);
27
extern
s64 smb_lseek64(
iop_file_t
*f, s64 pos,
int
where);
28
extern
int
smb_devctl(
iop_file_t
*f,
const
char
*devname,
int
cmd,
void
*arg,
unsigned
int
arglen,
void
*bufp,
unsigned
int
buflen);
29
30
#endif
_iop_device
Definition
ioman.h:64
_iop_file
Definition
ioman.h:53
iox_dirent_t
Definition
iox_stat.h:112
iox_stat_t
Definition
iox_stat.h:93
iop
network
smbman
src
smb_fio.h
Generated on Mon Jan 20 2025 17:33:25 for PS2SDK by
1.9.8