cxRegisterModule(3)

NAME
cxRegisterModule - Registers a module.

SYNOPSIS
#include <comprex.h> CxModule *cxRegisterModule(const char *name, void *ops, CxModuleType type);

PARAMETERS

name
    The name of the module.

ops The operations structure.

type
    The type of module.

DESCRIPTION
Registers a module.

RETURNS
The module structure, or NULL on failure.