Modules
Must Provide Two Functions
:
int init_module(void); void cleanup_module(void);
Symbol Registration
:
Any global symbol you declare is registered when the module is loaded. Use the
static
keyword to avoid having a symbol registered. If you don't want to deal with all of that,
register_symtab
allows you to add in a symbol table of your own choosing.