The server calls rpc_server_register_if( ), supplying its interface specifier (defined in greet.h), to register each interface with the RPC runtime:
/*
* Register interface with RPC runtime.
*/
rpc_server_register_if(greetif_v1_0_s_ifspec, NULL, NULL,
&status);
ERROR_CHECK(status, "Can't register interface");