diff options
author | Tom Yu <tlyu@mit.edu> | 1998-02-14 02:29:44 +0000 |
---|---|---|
committer | Tom Yu <tlyu@mit.edu> | 1998-02-14 02:29:44 +0000 |
commit | b3af2bd61c85465a156e9ac56f61474480d21c00 (patch) | |
tree | 1aa5c8d74756a686b51092ab3309b7319c600f53 /src/lib/rpc/unit-test | |
parent | 2a43d772be1e45faa8e488d436b6e867371563fb (diff) | |
download | krb5-b3af2bd61c85465a156e9ac56f61474480d21c00.tar.gz krb5-b3af2bd61c85465a156e9ac56f61474480d21c00.tar.xz krb5-b3af2bd61c85465a156e9ac56f61474480d21c00.zip |
* client.c: Update header locations. Rename of xdr_free
* rpc_test.h: Update header locations.
* server.c: Update header locations.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10448 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/rpc/unit-test')
-rw-r--r-- | src/lib/rpc/unit-test/ChangeLog | 8 | ||||
-rw-r--r-- | src/lib/rpc/unit-test/client.c | 17 | ||||
-rw-r--r-- | src/lib/rpc/unit-test/rpc_test.h | 2 | ||||
-rw-r--r-- | src/lib/rpc/unit-test/server.c | 4 |
4 files changed, 23 insertions, 8 deletions
diff --git a/src/lib/rpc/unit-test/ChangeLog b/src/lib/rpc/unit-test/ChangeLog index 97c763df49..e5be82ad18 100644 --- a/src/lib/rpc/unit-test/ChangeLog +++ b/src/lib/rpc/unit-test/ChangeLog @@ -1,3 +1,11 @@ +Fri Feb 13 21:28:18 1998 Tom Yu <tlyu@mit.edu> + + * client.c: Update header locations. Rename of xdr_free. + + * rpc_test.h: Update header locations. + + * server.c: Update header locations. + Thu Feb 12 16:39:38 1998 Tom Yu <tlyu@mit.edu> * client.c (main): Tweak the kludge variable diff --git a/src/lib/rpc/unit-test/client.c b/src/lib/rpc/unit-test/client.c index 224b065dc4..b0e831704e 100644 --- a/src/lib/rpc/unit-test/client.c +++ b/src/lib/rpc/unit-test/client.c @@ -5,6 +5,13 @@ * $Source$ * * $Log$ + * Revision 1.16 1998/02/14 02:29:42 tlyu + * * client.c: Update header locations. Rename of xdr_free. + * + * * rpc_test.h: Update header locations. + * + * * server.c: Update header locations. + * * Revision 1.15 1998/02/12 21:40:16 tlyu * * client.c (main): Tweak the kludge variable * krb5_gss_dbg_clietn_expcreds so we can send expired creds to the @@ -88,10 +95,10 @@ static char *rcsid = "$Header$"; #endif #include <stdio.h> -#include <rpc/rpc.h> +#include <gssrpc/rpc.h> #include <gssapi/gssapi.h> -#include <rpc/rpc.h> -#include <rpc/auth_gssapi.h> +#include <gssrpc/rpc.h> +#include <gssrpc/auth_gssapi.h> #include "rpc_test.h" #define BIG_BUF 4096 @@ -211,7 +218,7 @@ main(argc, argv) strcmp(echo_arg, (*echo_resp) + 6) != 0) fprintf(stderr, "RPC_TEST_ECHO call %d response wrong: " "arg = %s, resp = %s\n", echo_arg, *echo_resp); - xdr_free(xdr_wrapstring, echo_resp); + gssrpc_xdr_free(xdr_wrapstring, echo_resp); } /* @@ -317,7 +324,7 @@ main(argc, argv) strcmp(echo_arg, (*echo_resp) + 6) != 0) fprintf(stderr, "RPC_TEST_LENGTHS call %d response wrong\n"); - xdr_free(xdr_wrapstring, echo_resp); + gssrpc_xdr_free(xdr_wrapstring, echo_resp); } /* cycle from 1 to 255 */ diff --git a/src/lib/rpc/unit-test/rpc_test.h b/src/lib/rpc/unit-test/rpc_test.h index 6e183e54c6..bd53c06f9c 100644 --- a/src/lib/rpc/unit-test/rpc_test.h +++ b/src/lib/rpc/unit-test/rpc_test.h @@ -1,7 +1,7 @@ #ifndef _RPC_TEST_H_RPCGEN #define _RPC_TEST_H_RPCGEN -#include <rpc/rpc.h> +#include <gssrpc/rpc.h> #define RPC_TEST_PROG ((unsigned long)(1000001)) #define RPC_TEST_VERS_1 ((unsigned long)(1)) diff --git a/src/lib/rpc/unit-test/server.c b/src/lib/rpc/unit-test/server.c index f65379a9ad..02537ff04a 100644 --- a/src/lib/rpc/unit-test/server.c +++ b/src/lib/rpc/unit-test/server.c @@ -12,11 +12,11 @@ static char *rcsid = "$Header$"; #include <stdio.h> #include <stdlib.h> #include <string.h> -#include <rpc/rpc.h> +#include <gssrpc/rpc.h> #include <arpa/inet.h> /* inet_ntoa */ #include <gssapi/gssapi.h> #include <gssapi/gssapi_generic.h> -#include <rpc/auth_gssapi.h> +#include <gssrpc/auth_gssapi.h> #include <sys/param.h> /* MAXHOSTNAMELEN */ #include "rpc_test.h" |