1*11291SRobert.Thurlow@Sun.COM /* 2*11291SRobert.Thurlow@Sun.COM * CDDL HEADER START 3*11291SRobert.Thurlow@Sun.COM * 4*11291SRobert.Thurlow@Sun.COM * The contents of this file are subject to the terms of the 5*11291SRobert.Thurlow@Sun.COM * Common Development and Distribution License (the "License"). 6*11291SRobert.Thurlow@Sun.COM * You may not use this file except in compliance with the License. 7*11291SRobert.Thurlow@Sun.COM * 8*11291SRobert.Thurlow@Sun.COM * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*11291SRobert.Thurlow@Sun.COM * or http://www.opensolaris.org/os/licensing. 10*11291SRobert.Thurlow@Sun.COM * See the License for the specific language governing permissions 11*11291SRobert.Thurlow@Sun.COM * and limitations under the License. 12*11291SRobert.Thurlow@Sun.COM * 13*11291SRobert.Thurlow@Sun.COM * When distributing Covered Code, include this CDDL HEADER in each 14*11291SRobert.Thurlow@Sun.COM * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*11291SRobert.Thurlow@Sun.COM * If applicable, add the following below this CDDL HEADER, with the 16*11291SRobert.Thurlow@Sun.COM * fields enclosed by brackets "[]" replaced with your own identifying 17*11291SRobert.Thurlow@Sun.COM * information: Portions Copyright [yyyy] [name of copyright owner] 18*11291SRobert.Thurlow@Sun.COM * 19*11291SRobert.Thurlow@Sun.COM * CDDL HEADER END 20*11291SRobert.Thurlow@Sun.COM */ 21*11291SRobert.Thurlow@Sun.COM 22*11291SRobert.Thurlow@Sun.COM /* 23*11291SRobert.Thurlow@Sun.COM * Copyright 2009 Sun Microsystems, Inc. All rights reserved. 24*11291SRobert.Thurlow@Sun.COM * Use is subject to license terms. 25*11291SRobert.Thurlow@Sun.COM */ 26*11291SRobert.Thurlow@Sun.COM 27*11291SRobert.Thurlow@Sun.COM #ifndef _REF_SUBR_H 28*11291SRobert.Thurlow@Sun.COM #define _REF_SUBR_H 29*11291SRobert.Thurlow@Sun.COM 30*11291SRobert.Thurlow@Sun.COM #ifdef __cplusplus 31*11291SRobert.Thurlow@Sun.COM extern "C" { 32*11291SRobert.Thurlow@Sun.COM #endif 33*11291SRobert.Thurlow@Sun.COM 34*11291SRobert.Thurlow@Sun.COM #include <sys/types.h> 35*11291SRobert.Thurlow@Sun.COM #include <rpc/types.h> 36*11291SRobert.Thurlow@Sun.COM #include <rpc/xdr.h> 37*11291SRobert.Thurlow@Sun.COM #include <rpc/auth.h> 38*11291SRobert.Thurlow@Sun.COM #include <rpc/clnt.h> 39*11291SRobert.Thurlow@Sun.COM #include <rpc/rpc_msg.h> 40*11291SRobert.Thurlow@Sun.COM #include <nfs/nfs4.h> 41*11291SRobert.Thurlow@Sun.COM #include <rpcsvc/nfs4_prot.h> 42*11291SRobert.Thurlow@Sun.COM 43*11291SRobert.Thurlow@Sun.COM extern utf8string *str_to_utf8(char *, utf8string *); 44*11291SRobert.Thurlow@Sun.COM extern char *utf8_to_str(utf8string *, uint_t *, char *); 45*11291SRobert.Thurlow@Sun.COM extern void print_referral_summary(fs_locations4 *); 46*11291SRobert.Thurlow@Sun.COM extern int make_pathname4(char *, pathname4 *); 47*11291SRobert.Thurlow@Sun.COM extern bool_t xdr_component4(register XDR *, component4 *); 48*11291SRobert.Thurlow@Sun.COM extern bool_t xdr_utf8string(register XDR *, utf8string *); 49*11291SRobert.Thurlow@Sun.COM extern bool_t xdr_pathname4(register XDR *, pathname4 *); 50*11291SRobert.Thurlow@Sun.COM extern bool_t xdr_fs_location4(register XDR *, fs_location4 *); 51*11291SRobert.Thurlow@Sun.COM extern bool_t xdr_fs_locations4(register XDR *, fs_locations4 *); 52*11291SRobert.Thurlow@Sun.COM 53*11291SRobert.Thurlow@Sun.COM #ifdef __cplusplus 54*11291SRobert.Thurlow@Sun.COM } 55*11291SRobert.Thurlow@Sun.COM #endif 56*11291SRobert.Thurlow@Sun.COM 57*11291SRobert.Thurlow@Sun.COM #endif /* _REF_SUBR_H */ 58