current_stateid.h 850 字节
Newer Older
1 2 3 4 5 6
#ifndef _NFSD4_CURRENT_STATE_H
#define _NFSD4_CURRENT_STATE_H

#include "state.h"
#include "xdr4.h"

7 8 9
/*
 * functions to set current state id
 */
10
extern void nfsd4_set_openstateid(struct nfsd4_compound_state *, struct nfsd4_open *);
11
extern void nfsd4_set_lockstateid(struct nfsd4_compound_state *, struct nfsd4_lock *);
12 13
extern void nfsd4_set_closestateid(struct nfsd4_compound_state *, struct nfsd4_close *);

14 15 16 17 18
/*
 * functions to consume current state id
 */
extern void nfsd4_get_closestateid(struct nfsd4_compound_state *, struct nfsd4_close *);
extern void nfsd4_get_lockustateid(struct nfsd4_compound_state *, struct nfsd4_locku *);
19 20
extern void nfsd4_get_readstateid(struct nfsd4_compound_state *, struct nfsd4_read *);
extern void nfsd4_get_writestateid(struct nfsd4_compound_state *, struct nfsd4_write *);
21

22
#endif   /* _NFSD4_CURRENT_STATE_H */