sdk-world v2026.11.05
PS2 SDK - world tier (copyleft-allowed, non-essential packages)
Loading...
Searching...
No Matches
smb_fio.h
Go to the documentation of this file.
1/*
2 Copyright 2009-2010, jimmikaelkael
3 Licenced under Academic Free License version 3.0
4*/
5
10#ifndef __SMB_FIO_H__
11#define __SMB_FIO_H__
12
13// smb driver ops functions prototypes
14extern int smb_initdev(void);
15extern int smb_init(iop_device_t *iop_dev);
16extern int smb_deinit(iop_device_t *dev);
17extern int smb_open(iop_file_t *f, const char *filename, int flags, int mode);
18extern int smb_close(iop_file_t *f);
19extern int smb_lseek(iop_file_t *f, int pos, int where);
20extern int smb_read(iop_file_t *f, void *buf, int size);
21extern int smb_write(iop_file_t *f, void *buf, int size);
22extern int smb_remove(iop_file_t *f, const char *filename);
23extern int smb_mkdir(iop_file_t *f, const char *dirname, int mode);
24extern int smb_rmdir(iop_file_t *f, const char *dirname);
25extern int smb_dopen(iop_file_t *f, const char *dirname);
26extern int smb_dclose(iop_file_t *f);
27extern int smb_dread(iop_file_t *f, iox_dirent_t *dirent);
28extern int smb_getstat(iop_file_t *f, const char *filename, iox_stat_t *stat);
29extern int smb_rename(iop_file_t *f, const char *oldname, const char *newname);
30extern int smb_chdir(iop_file_t *f, const char *dirname);
31extern s64 smb_lseek64(iop_file_t *f, s64 pos, int where);
32extern int smb_devctl(iop_file_t *f, const char *devname, int cmd, void *arg, unsigned int arglen, void *bufp, unsigned int buflen);
33
34#endif