/*********************************************************** * test module * ************************************************************ * Description: a module for testing c module functionality * * * * Created by: kave eshghi * * At: Mon Aug 24 12:06:07 1992 * ***********************************************************/ /* INCLUDES */ # include "structures.h" /* DECLARATIONS */ int register_module(char *module_name); int register_function(int module_number, char *function_name, function_type function, void *data); void register_generic(int module_number, generic_function function); int module_functor; void echo(int arity, module_ptr agen, struct term **args, void *data) { int i; printf("got message\n"); for(i=0;i