SV * get_func_ptr(char * func_name) { /* code that returns the pointer value for the requested function */ }