ReactOS 0.4.16-dev-197-g92996da
nfs41_compound.h
Go to the documentation of this file.
1/* NFSv4.1 client for Windows
2 * Copyright © 2012 The Regents of the University of Michigan
3 *
4 * Olga Kornievskaia <aglo@umich.edu>
5 * Casey Bodley <cbodley@umich.edu>
6 *
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.
11 *
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.
16 *
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
20 */
21
22#ifndef __NFS41_DAEMON_COMPOUND_H__
23#define __NFS41_DAEMON_COMPOUND_H__
24
25#include "nfs41.h"
26
27
28/* COMPOUND */
29typedef struct __nfs_argop4 {
31 void *arg;
33
34typedef struct __nfs41_compound_args {
36 unsigned char tag[NFS4_OPAQUE_LIMIT];
41
42typedef struct __nfs_resop4 {
44 void *res;
46
47typedef struct __nfs41_compound_res {
50 unsigned char tag[NFS4_OPAQUE_LIMIT];
54
55typedef struct __nfs41_compound {
59
60
61int compound_error(int status);
62
63void compound_init(
64 nfs41_compound *compound,
65 nfs_argop4 *argops,
66 nfs_resop4 *resops,
67 const char *tag);
68
70 nfs41_compound *compound,
71 uint32_t opnum,
72 void *arg,
73 void *res);
74
77 nfs41_compound *compound,
78 bool_t try_recovery);
79
80#endif /* __NFS41_DAEMON_COMPOUND_H__ */
int32_t bool_t
Definition: types.h:101
UINT32 uint32_t
Definition: types.h:75
GLuint res
Definition: glext.h:9613
struct __nfs41_compound nfs41_compound
struct __nfs41_compound_res nfs41_compound_res
struct __nfs_resop4 nfs_resop4
void compound_init(nfs41_compound *compound, nfs_argop4 *argops, nfs_resop4 *resops, const char *tag)
struct __nfs41_compound_args nfs41_compound_args
int compound_encode_send_decode(nfs41_session *session, nfs41_compound *compound, bool_t try_recovery)
void compound_add_op(nfs41_compound *compound, uint32_t opnum, void *arg, void *res)
int compound_error(int status)
struct __nfs_argop4 nfs_argop4
#define NFS4_OPAQUE_LIMIT
Definition: nfs41_const.h:31
nfs_resop4 * resarray
nfs41_compound_res res
nfs41_compound_args args
Definition: ps.c:97
Definition: ecma_167.h:138