Add xdr_int8_t() and xdr_u_int8_t()

The legacy RPC implementation in glibc has XDR functions for 8-bit
integers.  For glibc compatibility, introduce similar functions in
libtirpc.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
Add compatibility XDR functions for unsigned integers

For compatibility with glibc and Solaris, add synonyms for the
existing XDR functions that handle sized unsigned integers.

Note that the NFSv4 protocol specifications define the protocol in
terms of "uint32" and "uint64" rather than using the "u_int"
versions.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
glibc rpcgen compatibility

xdr_quad_t() and xdr_u_quad_t() call sites are generated by glibc's
rpcgen, which uses them to marshal 64-bit integers.

Since we want libtirpc to maintain glibc compatibility, introduce
xdr_quad_t() and xdr_u_quad_t() to libtirpc.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
build: Make compiler warnings easier to see

Enable quiet building to make compiler and linker warnings easier to
see.  After this patch, with "make -s" we get:

  ...

Making all in src
  CC       libtirpc_la-auth_none.lo
  CC       libtirpc_la-auth_unix.lo

  ...

making warnings stand out clearly.

Enable this behavior via:

  ./configure --enable-silent-rules

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
build: set enable-silent-rules to be on by default

To disable the build from using silent rulues, use:
   ./configure --disable-silent-rules

Signed-off-by: Steve Dickson <steved@redhat.com>
libtirpc: remove tirpc/namespace.h

This header is empty, so remove it.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
libtirpc: remove tirpc/misc/queue.h

The contents of this header are unneeded on Linux, so remove the header.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
libtirpc: remove tirpc/misc/socket.h

No libtirpc source files include this header, so remove it.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
libtirpc: remove tirpc/misc/event.h

No libtirpc source file includes this header, so remove it.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
libtirpc: remove tirpc/spinlock.h

No libtirpc source files include this header, so remove it.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
libtirpc: remove tirpc/nss_tls.h

No libtirpc source files include this header, so remove it.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
libtirpc: remove tirpc/fpmath.h

No libtirpc source files include this header, so remove it.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
Fix "make dist" and "make distcheck"

The "dist" target gives us a libtirpc.tar.gz tarball for
distribution.

The "distcheck" target is a useful test of libtirpc's Makefile
infrastructure.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
configure.ac: enable the GSSAPI by default

This changes GSSAPI support to be enabled by default.
To disable the support use --disable-gssapi

Signed-off-by: Steve Dickson <steved@redhat.com>
configure.ac: Remove gssglue configuration knobs

Its really not a good idea for libtirpc to link with
libgssglue so this patch remove the ability to do that.

Signed-off-by: Steve Dickson <steved@redhat.com>
Use stock automake rules to install netconfig

Following guidelines in section 27.10 of the Automake manual,
with some help from section 9.3.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
Update .gitignore

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
Update "make clean" and "make distclean" targets

Get rid of cscope and editor turds as well as intermediate
Makefiles.  The top level Makefile should remove old tarballs.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
Clean up src/rpcb_clnt.c

Remove some unused code.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
Release 0.2.4

Signed-off-by: Steve Dickson <steved@redhat.com>