(C) 1998 AROS - The Amiga Research OS


NAME
#include <proto/dos.h>

struct DevProc * GetDeviceProc (name , dp)

LOCATION
In DOSBase at offset 107

SYNOPSIS
STRPTR name
struct DevProc * dp

FUNCTION
GetDeviceProc() will search for the filesystem handler which you should send a command to for a specific path.

By calling GetDeviceProc() multiple times, the caller will be able to handle multi-assign paths.

The first call to GetDeviceProc() should have the |dp| parameter as NULL.

INPUTS
name
Name of the object to find.
dp
Previous result of GetDeviceProc() or NULL.

RESULT
A pointer to a DevProc structure containing the information required to send a command to a filesystem.

EXAMPLE

SEE ALSO
FreeDeviceProc()

NOTES

BUGS
Currently doesn't return dvp_DevNode for locks which are relative to "PROGDIR:", ":", or the current directory.

I'm working on it though...

INTERNALS

HISTORY
04.02.1999 nlorentz
Bugfix in handling of multi-assigns
18.11.1998 nlorentz
Fixed three bugs, multiple assigns now work
20.10.1998 hkiel
Amiga Research OS
08.01.1998 iaint
Fixed a bug where DosList wasnt unlocked. Also might work a bit better for current directory based files
01.01.1998 iaint
Some more functions. These adapted from the DoName() code, they do support multi-assigns.
27.01.1997 ldp
Polish
09.12.1996 aros
Added empty templates for all missing functions

Moved #include's into first column