| 850 | |
| 851 | |
| 852 | void *get_mod_handle(const char *name) |
| 853 | { |
| 854 | struct sr_module *mod; |
| 855 | |
| 856 | for (mod = modules; mod; mod = mod->next) |
| 857 | if (!strcasecmp(name, mod->exports->name)) |
| 858 | return mod->handle; |
| 859 | |
| 860 | return NULL; |
| 861 | } |
| 862 | |
| 863 | |
| 864 | /* Counts the additional the number of processes requested by modules */ |
no outgoing calls