/* * This is sample code generated by rpcgen. * These are only templates and you can use them * as a guideline for developing your own functions. */ #include "addiere.h" int * addiere_1_svc(add_struct *argp, struct svc_req *rqstp) { static int result; /* * insert server code here */ /* my Code START */ result = argp->p1 + argp->p2; /* my Code END */ return &result; }