| M E M _ C O P Y S M L C B ( )
| | | | | SOURCE: qdev_autodocs.txt 1.163 (12/09/2014) English PORTA - MEM_#?
----------------------------------------------------------------------------
NAME
mem_copysmlcb() - Allows to copy 'nfo_sml_cb' struct.
SYNOPSIS
newsc = mem_copysmlcb(sc);
struct nfo_sml_cb *mem_copysmlcb(struct nfo_sml_cb *);
FUNCTION
This function will make a copy of what 'nfo_scanml()'
passes to the callback function.
INPUTS
sc - Pointer to 'nfo_sml_cb' structure.
RETURNS
Func. may return NULL if there is not enough memory.
BASES
SysBase
NOTES
Function aligns memory space of each member to long,
so that immediate BCPL conversion is possible. All
you have to do is to decrease 1 byte per string ptr
and make the BCPL.
Do not pass the result of this func. to the mounter
CB = 'dmt_mountcb()' or your computer will explode!
This function does not make a copy of parser related
variables!
SEE ALSO
mem_freesmlcb(), nfo_grepml(), nfo_scanml()
EXAMPLE
None.
BUGS
None known.
----------------------------------------------------------------------------
| |
| |