Pass a user-allocated MI_FPARAM structure

To pass the user-allocated MI_FPARAM structure to the Fastpath interface, specify it as the last argument of the argument list that you provide to mi_routine_exec().

The following call to mi_routine_exec() executes the numeric_func() UDR (see Obtaining a function descriptor for the numeric_func() function) and specifies a user-allocated MI_FPARAM structure:
my_fparam = mi_fparam_allocate(2);
...
ret_val = mi_routine_exec(conn, fdesc, &error, 1, 2,
   my_fparam);