Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-src
Path: blob/main/crypto/krb5/src/tests/misc/test_cxx_rpc.cpp
34906 views
1
// Test that the rpc.h header is compatible with C++ application code.
2
3
#include "gssrpc/rpc.h"
4
5
struct sockaddr_in s_in;
6
int 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