1// Test that the rpc.h header is compatible with C++ application code. 2 3#include "gssrpc/rpc.h" 4 5struct sockaddr_in s_in; 6int main (int argc, char *argv[]) 7{ 8 if (argc == 47 && get_myaddress (&s_in)) { 9 printf("error\n"); 10 return 1; 11 } 12 printf("hello, world\n"); 13 return 0; 14} 15 16