| D M T _ M O U N T C B ( )
| | | | | SOURCE: qdev_autodocs.txt 1.163 (12/09/2014) English AMIGA - DMT_#?
----------------------------------------------------------------------------
NAME
dmt_mountcb() - Complete handler/filesystem installation
callback.
SYNOPSIS
res = dmt_mountcb(sc);
LONG dmt_mountcb(struct nfo_sml_cb *);
FUNCTION
This function when used with 'ctl_devmount()' allows to
mimic system 'Mount' command.
INPUTS
sc - Standard 'nfo_scanml()' callback data.
RETURNS
See 'nfo_scanml()' for more details.
BASES
SysBase, DOSBase
NOTES
This func. does not output anything, it only sets error
code in 'sc->sc_gerror'.
This func. does copy the callback structure internally!
Warning! If your intention is to use this routine stand
alone then please look at the priv. struct nfo_int_data
for minimal buffer requirements, struct nfo_sml_cb ptrs
shall reflect!
Especially 'sc_sd.sd_dosdevice' & 'sc.sc_sd.sd_handler'
members cannot point at constants! Always provide at
least QDEV_NFO_PRV_NAMELEN buffer!
SEE ALSO
ctl_devmount(), nfo_grepml(), nfo_scanml()
EXAMPLE
See 'fsmount' program in 'tools/' directory for typical
usage.
BUGS
None known.
----------------------------------------------------------------------------
| |
| |