1 /* NFSv4.1 client for Windows
2 * Copyright © 2012 The Regents of the University of Michigan
4 * Olga Kornievskaia <aglo@umich.edu>
5 * Casey Bodley <cbodley@umich.edu>
7 * This library is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU Lesser General Public License as published by
9 * the Free Software Foundation; either version 2.1 of the License, or (at
10 * your option) any later version.
12 * This library is distributed in the hope that it will be useful, but
13 * without any warranty; without even the implied warranty of merchantability
14 * or fitness for a particular purpose. See the GNU Lesser General Public
15 * License for more details.
17 * You should have received a copy of the GNU Lesser General Public License
18 * along with this library; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA
22 #ifndef __NFS41_DAEMON_COMPOUND_H__
23 #define __NFS41_DAEMON_COMPOUND_H__
29 typedef struct __nfs_argop4
{
34 typedef struct __nfs41_compound_args
{
36 unsigned char tag
[NFS4_OPAQUE_LIMIT
];
37 uint32_t minorversion
;
38 uint32_t argarray_count
;
39 nfs_argop4
*argarray
; /* <> */
40 } nfs41_compound_args
;
42 typedef struct __nfs_resop4
{
47 typedef struct __nfs41_compound_res
{
50 unsigned char tag
[NFS4_OPAQUE_LIMIT
];
51 uint32_t resarray_count
;
52 nfs_resop4
*resarray
; /* <> */
55 typedef struct __nfs41_compound
{
56 nfs41_compound_args args
;
57 nfs41_compound_res res
;
61 int compound_error(int status
);
64 nfs41_compound
*compound
,
70 nfs41_compound
*compound
,
75 int compound_encode_send_decode(
76 nfs41_session
*session
,
77 nfs41_compound
*compound
,
80 #endif /* __NFS41_DAEMON_COMPOUND_H__ */