In file bbsmod.h:

void mod_done

(long services)

Prepares a module for exit.

Documentation

Prepares a module for exit.

Uninstalls signal handlers, resets terminal to normal operation, et cetera.

Parameters:
services - a set of INI_x flags denoting which subsystems are to be shut down. This argument is almost always equal to INI_ALL. Certain operations may need to temporarily suspend a few BBS subsystems, which is why this function allows a partial shutdown. However, this is an exception and not the rule. Services will be shut down only if they have been previously initialised by a corresponding call to mod_init().
See Also:
mod_init(), mod_end().

Alphabetic index



This page was generated with the help of DOC++.