diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2015-09-13 15:36:58 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2015-09-13 15:36:58 +0000 |
commit | 1e31bb92226e5857f47b149158590a7e92900ae0 (patch) | |
tree | 251158dca086b7eb15a3fb7fcee25a083315b83b /lib/libc/hidden/rpc/pmap_rmt.h | |
parent | 154fdff60dfaf55373633176c4b9877a197d71ee (diff) |
Wrap <rpc/*.h> so that calls go direct and the symbols are all weak.
Hide __xprt_register() and _authenticate(); truncate <rpc/svc_auth.h>
ok deraadt@
Diffstat (limited to 'lib/libc/hidden/rpc/pmap_rmt.h')
-rw-r--r-- | lib/libc/hidden/rpc/pmap_rmt.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/lib/libc/hidden/rpc/pmap_rmt.h b/lib/libc/hidden/rpc/pmap_rmt.h new file mode 100644 index 00000000000..2b7b0e34b36 --- /dev/null +++ b/lib/libc/hidden/rpc/pmap_rmt.h @@ -0,0 +1,26 @@ +/* $OpenBSD: pmap_rmt.h,v 1.1 2015/09/13 15:36:56 guenther Exp $ */ +/* + * Copyright (c) 2015 Philip Guenther <guenther@openbsd.org> + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +#ifndef _LIBC_RPC_PMAPRMT_H +#define _LIBC_RPC_PMAPRMT_H + +#include_next <rpc/pmap_rmt.h> + +PROTO_NORMAL(xdr_rmtcall_args); +PROTO_NORMAL(xdr_rmtcallres); + +#endif /* !_LIBC_RPC_PMAPRMT_H */ |