An example that shows how to use librpc typing API to validate arguments and values passed over the connection.
#include <stdio.h>
#include <unistd.h>
#ifndef __unused
#define __unused __attribute__((unused))
#endif
RPC_MEMBER_END
};
{
printf("Called with:\n");
}
int
main(int argc __unused, const char *argv[] __unused)
{
"com.twoporeguys.librpc.examples.AnimalManager",
animal_manager_vtable, NULL);
pause();
}