diff options
author | Tom Yu <tlyu@mit.edu> | 1998-02-14 02:27:25 +0000 |
---|---|---|
committer | Tom Yu <tlyu@mit.edu> | 1998-02-14 02:27:25 +0000 |
commit | 2a43d772be1e45faa8e488d436b6e867371563fb (patch) | |
tree | ccea31522cd4968d1b8ca94369108ec1486c1c41 /src/lib/rpc/get_myaddress.c | |
parent | bc7783c275e807b5ca6adb97c19efca8d453c206 (diff) | |
download | krb5-2a43d772be1e45faa8e488d436b6e867371563fb.tar.gz krb5-2a43d772be1e45faa8e488d436b6e867371563fb.tar.xz krb5-2a43d772be1e45faa8e488d436b6e867371563fb.zip |
"Renames" in the following refer to renaming of various exported
functions and global variables to prefix them with "gssrpc_" or
"_gssrpc" as might be appropriate. Some symbols which are unlikely to
occur in vendor rpc implementations have retained their old names
(notably the gssapi specific ones).
* auth.h: Renames.
* auth_any.c: Update header locations.
* auth_gssapi.c: Punt naughty RCS keywords. Update header
locations. Remove explicit extern decl of rpc_createrr (clnt.h
gets it). Renames.
* auth_gssapi.h: Punt naughty RCS keywords.
* auth_gssapi_misc.c: Punt naught RCS keywords. Update header
locations.
* auth_none.c: Update header locations. Renames.
* auth_unix.c: Update header locations. Renames.
* auth_unix.h: Renames.
* authunix_prot.c: Update header locations.
* bindresvport.c: Renames.
* clnt.h: Renames.
* clnt_generic.c: Update header locations.
* clnt_perror.c: Update header locations.
* clnt_raw.c: Update header locations. Renames.
* clnt_simple.c: Update header locations. Renames.
* clnt_tcp.c: Update header locations. Renames.
* clnt_udp.c: Upate header loations. Renames.
* get_myaddress.c: Update header locations. Renames.
* getrpcent.c: Update header locations.
* getrpcport.c: Update header locations. Renames.
* netdb.h: Update header locations.
* pmap_clnt.c: Update header locations. Renames.
* pmap_clnt.h: Renames.
* pmap_getmaps.c: Update header locations.
* pmap_getport.c: Update header locations.
* pmap_prot.c: Update header locations.
* pmap_prot.h: Renames.
* pmap_prot2.c: Update header locations.
* pmap_rmt.c: Update header locations. Renames.
* pmap_rmt.h: Renames.
* rpc.h: Update header locations. No longer include rpc/netdb.h.
* rpc_callmsg.c: Update header locations. Renames.
* rpc_commondata.c: Update header locations.
* rpc_dtablesize.c: Renames.
* rpc_msg.h: Renames.
* rpc_prot.c: Update header locations. Renames.
* svc.c: Update header locations. Renames.
* svc.h: Renames.
* svc_auth.c: Update header locations. Renames.
* svc_auth.h: Renames.
* svc_auth_any.c: Update header locations.
* svc_auth_gssapi.c: Punt naughty RCS keywords. Update header
locations. Renames.
* svc_auth_unix.c: Renames.
* svc_raw.c: Update header locations.
* svc_run.c: Update header locations. Renames.
* svc_simple.c: Update header locations. Renames. Make pl
static.
* svc_tcp.c: Update header locations. Renames.
* svc_udp.c: Update header locations. Renames.
* xdr.c: Update header locations. Renames.
* xdr.h: Renames.
* xdr_alloc.c: Punt naughty RCS keywords. Update header
locations.
* xdr_array.c: Update header locations.
* xdr_float.c: Update header locations.
* xdr_mem.c: Update header locations.
* xdr_rec.c: Update header locations.
* xdr_reference.c: Update header locations.
* xdr_stdio.c: Update header locations.
* Makefile.in: Bump major version due to changes. Don't build
getrpcent.o, since we don't use it, and dealing with the
rpc/netdb.h lossage was a major pain. Also, rename HDRDIR to
$(BUILDTOP)/gssrpc in order to avoid problems with system headers
including rpc/*.h.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10447 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/rpc/get_myaddress.c')
-rw-r--r-- | src/lib/rpc/get_myaddress.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/rpc/get_myaddress.c b/src/lib/rpc/get_myaddress.c index b6c456c699..f86f86dad2 100644 --- a/src/lib/rpc/get_myaddress.c +++ b/src/lib/rpc/get_myaddress.c @@ -40,15 +40,15 @@ static char sccsid[] = "@(#)get_myaddress.c 1.4 87/08/11 Copyr 1984 Sun Micro"; #ifdef GSSAPI_KRB5 #include <string.h> -#include <rpc/types.h> -#include <rpc/pmap_prot.h> +#include <gssrpc/types.h> +#include <gssrpc/pmap_prot.h> #include <sys/socket.h> #include <netinet/in.h> #include <krb5.h> /* * don't use gethostbyname, which would invoke yellow pages */ -get_myaddress(addr) +gssrpc_get_myaddress(addr) struct sockaddr_in *addr; { krb5_address **addrs, **a; @@ -79,8 +79,8 @@ get_myaddress(addr) } #else /* !GSSAPI_KRB5 */ -#include <rpc/types.h> -#include <rpc/pmap_prot.h> +#include <gssrpc/types.h> +#include <gssrpc/pmap_prot.h> #include <sys/socket.h> #if defined(sun) #include <sys/sockio.h> |