1
/* Copyright (c) 2000 Thorsten Kukuk
2
Author: Thorsten Kukuk <kukuk@suse.de>
4
The YP Server is free software; you can redistribute it and/or
5
modify it under the terms of the GNU General Public License
6
version 2 as published by the Free Software Foundation.
8
The YP Server is distributed in the hope that it will be useful,
9
but WITHOUT ANY WARRANTY; without even the implied warranty of
10
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
General Public License for more details.
13
You should have received a copy of the GNU General Public
14
License along with the YP Server; see the file COPYING. If
15
not, write to the Free Software Foundation, Inc., 675 Mass Ave,
16
Cambridge, MA 02139, USA. */
26
/* Default timeout can be changed using clnt_control() */
27
static struct timeval TIMEOUT = { 25, 0 };
30
ypproc_match_2 (ypreq_key *argp, ypresp_val *clnt_res, CLIENT *clnt)
32
return (clnt_call(clnt, YPPROC_MATCH,
33
(xdrproc_t) xdr_ypreq_key, (caddr_t) argp,
34
(xdrproc_t) xdr_ypresp_val, (caddr_t) clnt_res,