PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
devscan.h
Go to the documentation of this file.
1/*
2# _____ ___ ____ ___ ____
3# ____| | ____| | | |____|
4# | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
5#-----------------------------------------------------------------------
6# Copyright 2001-2004, ps2dev - http://www.ps2dev.org
7# Licenced under Academic Free License version 2.0
8# Review ps2sdk README & LICENSE files for further details.
9*/
10
16#define DEVSCAN_IOMAX 16
17#define DEVSCAN_IOXMAX 32
21#define DEVSCAN_MAX (DEVSCAN_IOMAX+DEVSCAN_IOXMAX+1)
22
26#define DEVSCAN_MASK (IOP_DT_FS | IOP_DT_BLOCK)
27
31typedef struct {
32 char name[256];
33 int devtype;
34 int len;
36
37int devscan_gettype(char *name);
38int devscan_setup(int devtype);
39int devscan_getdevlist(char *buffer);
40ModuleInfo_t *devscan_getmodule(const char *name);
int devscan_gettype(char *name)
Definition devscan.c:141
int devscan_setup(int devtype)
Definition devscan.c:73
ModuleInfo_t * devscan_getmodule(const char *name)
Definition devscan.c:47
int devscan_getdevlist(char *buffer)
Definition devscan.c:162