The "module" Package

These routines are meant to provide high level routines to perform initialisation and execution of generic modules.

Library: karma
Link With: -lkarma

Functions

module_runInitialise and then run a generic module.
module_process_argvsProcess a shell command line.


Functions


void module_run (int argc, char **argv, char *name_string, char *version_string, flag (*decode_func) (), int max_incoming, int max_outgoing, flag server)

Initialise and then run a generic module.

Parameters:

Returns: Nothing. Upon return from the function, the module should exit.
Multithreading Level: Unsafe


void module_process_argvs ( int argc, char **argv, flag (*unknown_func) () )

This routine will process a shell command line, using the panel_process_command_with_stack routine.

Parameters:

Returns: Nothing.
Multithreading Level: Unsafe


Contact: Richard Gooch
Web Development: Ariel Internet Services