xref: /illumos-gate/usr/src/cmd/fs.d/nfs/lib/clnt_subr.h (revision a2f332bb)
1*a2f332bbSToomas Soome /*
2*a2f332bbSToomas Soome  * This file and its contents are supplied under the terms of the
3*a2f332bbSToomas Soome  * Common Development and Distribution License ("CDDL"), version 1.0.
4*a2f332bbSToomas Soome  * You may only use this file in accordance with the terms of version
5*a2f332bbSToomas Soome  * 1.0 of the CDDL.
6*a2f332bbSToomas Soome  *
7*a2f332bbSToomas Soome  * A full copy of the text of the CDDL should have accompanied this
8*a2f332bbSToomas Soome  * source.  A copy of the CDDL is also available via the Internet at
9*a2f332bbSToomas Soome  * http://www.illumos.org/license/CDDL.
10*a2f332bbSToomas Soome  */
11*a2f332bbSToomas Soome 
12*a2f332bbSToomas Soome /*
13*a2f332bbSToomas Soome  * Copyright 2023 RackTop Systems, Inc.
14*a2f332bbSToomas Soome  */
15*a2f332bbSToomas Soome 
16*a2f332bbSToomas Soome #ifndef	_CLNT_SUBR_H
17*a2f332bbSToomas Soome #define	_CLNT_SUBR_H
18*a2f332bbSToomas Soome 
19*a2f332bbSToomas Soome #include <sys/types.h>
20*a2f332bbSToomas Soome #include <rpc/rpc.h>
21*a2f332bbSToomas Soome 
22*a2f332bbSToomas Soome #ifdef __cplusplus
23*a2f332bbSToomas Soome extern "C" {
24*a2f332bbSToomas Soome #endif
25*a2f332bbSToomas Soome 
26*a2f332bbSToomas Soome /*
27*a2f332bbSToomas Soome  * nfs client library routines
28*a2f332bbSToomas Soome  */
29*a2f332bbSToomas Soome extern CLIENT *mountprog_client_create(const char *, struct timeval *);
30*a2f332bbSToomas Soome extern void pr_err(char *, ...);
31*a2f332bbSToomas Soome 
32*a2f332bbSToomas Soome #ifdef __cplusplus
33*a2f332bbSToomas Soome }
34*a2f332bbSToomas Soome #endif
35*a2f332bbSToomas Soome 
36*a2f332bbSToomas Soome #endif	/* _CLNT_SUBR_H */
37