Hi all,
it is possible to declere a function within a structure, then in the main function with the use of the pointers call this function and assign the specific parameters . To make my idea clearer check out the sample code.
Code:
struct {
       int AND_function;
       int math_funct;
       int comp_funct;
       int regul_funct;
}functions;

AND_function (parameter1, parameter2, . . .)
{
                     .
                     .
                     .
}

int main()
{
     struct functions *fun;
     function.AND_function(par.parameter1, par.parameter);
}
Thanks for your help,
Best regards,
BoSCHoW.