'\" t
.\"     Title: rpc_bind_new_program
.\"    Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\"      Date: June 2017
.\"    Manual: Linux Networking
.\"    Source: Kernel Hackers Manual 4.9.30
.\"  Language: English
.\"
.TH "RPC_BIND_NEW_PROGRAM" "9" "June 2017" "Kernel Hackers Manual 4\&.9\&." "Linux Networking"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
rpc_bind_new_program \- bind a new RPC program to an existing client
.SH "SYNOPSIS"
.HP \w'struct\ rpc_clnt\ *\ rpc_bind_new_program('u
.BI "struct rpc_clnt * rpc_bind_new_program(struct\ rpc_clnt\ *\ " "old" ", const\ struct\ rpc_program\ *\ " "program" ", u32\ " "vers" ");"
.SH "ARGUMENTS"
.PP
\fIold\fR
.RS 4
old rpc_client
.RE
.PP
\fIprogram\fR
.RS 4
rpc program to set
.RE
.PP
\fIvers\fR
.RS 4
rpc program version
.RE
.SH "DESCRIPTION"
.PP
Clones the rpc client and sets up a new RPC program\&. This is mainly of use for enabling different RPC programs to share the same transport\&. The Sun NFSv2/v3 ACL protocol can do this\&.
.SH "COPYRIGHT"
.br
