zfs/lib/libspl/include
Brian Behlendorf 1ab3678b5d Add support for libtirpc
While OpenSolaris libc and glibc both include XDR support, the musl libc
does not in favor of depending on the BSD-licensed libtirpc library.

Adding support is a simple matter of detecting the library, including
the headers and linking against it.  By default libtirpc will be checked
for and if available used.  Otherwise, configure will fall back to using
the xdr implementation provided by libc if available.  The options
--with-tirpc/--without-tirpc can be used to disable this checking.

In addition, the xdr_control() function has been simplied to only
handle ZFSs specific use case.

Original-patch-by: stf <s@ctrlc.hu>
Original-patch-by: Richard Yao <ryao@gentoo.org>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Signed-off-by: Carlo Landmeter <clandmeter@gmail.com>
Closes #2254
Closes #4559
2016-04-28 09:27:40 -07:00
..
ia32 Remove autotools products 2012-08-27 11:47:44 -07:00
rpc Add support for libtirpc 2016-04-28 09:27:40 -07:00
sys Move hrtime_t timestruc_t and timespec_t 2016-03-29 18:33:17 -07:00
util cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
Makefile.am Fix implicit declaration of 'mkdirp' 2011-07-01 13:39:47 -07:00
assert.h Remove complicated libspl assert wrappers 2016-03-30 12:26:42 -07:00
atomic.h Add atomic_sub_* functions to libspl. 2012-10-17 08:56:37 -07:00
attr.h Add linux libspl support 2010-08-31 13:41:59 -07:00
devid.h Add support for devid and phys_path keys in vdev disk labels 2016-03-31 13:45:53 -07:00
libdevinfo.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
libgen.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
libshare.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
limits.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
locale.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
note.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
priv.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
statcommon.h Add linux libspl support 2010-08-31 13:41:59 -07:00
stdio.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
stdlib.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
string.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
strings.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
stropts.h Add linux libspl support 2010-08-31 13:41:59 -07:00
synch.h libspl: Implement LWP rwlock interface 2014-05-01 15:53:52 -07:00
thread.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
tzfile.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
ucred.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
umem.h Illumos 5163 - arc should reap range_seg_cache 2015-06-25 08:58:16 -07:00
unistd.h Retire HAVE_IOCTL_* configure checks 2014-08-28 07:45:54 -07:00
zone.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00