summaryrefslogtreecommitdiffstats
path: root/include/rpc
diff options
context:
space:
mode:
authorotto <otto@openbsd.org>2008-12-09 19:40:10 +0000
committerotto <otto@openbsd.org>2008-12-09 19:40:10 +0000
commitee1a9978f99ee19b52f0b884242639f6218ec721 (patch)
tree9d93105381eb4893a4d61744355e570823f98afc /include/rpc
parentfix inet_ntop(3) prototype; ok millert@ libc to be bumbed very soon (diff)
downloadwireguard-openbsd-ee1a9978f99ee19b52f0b884242639f6218ec721.tar.xz
wireguard-openbsd-ee1a9978f99ee19b52f0b884242639f6218ec721.zip
Commit requested by marco:
Add nonblock support for xdrrecs ok millert blambert & otto; from NetBSD. libc bump to follow soon.
Diffstat (limited to 'include/rpc')
-rw-r--r--include/rpc/xdr.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/rpc/xdr.h b/include/rpc/xdr.h
index 4830789f3e7..896227fddd6 100644
--- a/include/rpc/xdr.h
+++ b/include/rpc/xdr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: xdr.h,v 1.10 2008/06/13 21:12:11 sturm Exp $ */
+/* $OpenBSD: xdr.h,v 1.11 2008/12/09 19:40:10 otto Exp $ */
/* $NetBSD: xdr.h,v 1.7 1995/04/29 05:28:06 cgd Exp $ */
/*
@@ -118,6 +118,7 @@ typedef struct __rpc_xdr {
int32_t *(*x_inline)(struct __rpc_xdr *, unsigned int);
/* free privates of this xdr_stream */
void (*x_destroy)(struct __rpc_xdr *);
+ bool_t (*x_control)(struct __rpc_xdr *, int, void *);
} *x_ops;
caddr_t x_public; /* users' data */
caddr_t x_private; /* pointer to private data */