#ifndef _NFSD4_CURRENT_STATE_H#define _NFSD4_CURRENT_STATE_H#include "state.h"#include "xdr4.h"externvoidclear_current_stateid(structnfsd4_compound_state*cstate);/* * functions to set current state id */externvoidnfsd4_set_opendowngradestateid(structnfsd4_compound_state*cstate,structnfsd4_open_downgrade*);externvoidnfsd4_set_openstateid(structnfsd4_compound_state*,structnfsd4_open*);externvoidnfsd4_set_lockstateid(structnfsd4_compound_state*,structnfsd4_lock*);externvoidnfsd4_set_closestateid(structnfsd4_compound_state*,structnfsd4_close*);/* * functions to consume current state id */externvoidnfsd4_get_opendowngradestateid(structnfsd4_compound_state*cstate,structnfsd4_open_downgrade*);externvoidnfsd4_get_delegreturnstateid(structnfsd4_compound_state*,structnfsd4_delegreturn*);externvoidnfsd4_get_freestateid(structnfsd4_compound_state*,structnfsd4_free_stateid*);externvoidnfsd4_get_setattrstateid(structnfsd4_compound_state*,structnfsd4_setattr*);externvoidnfsd4_get_closestateid(structnfsd4_compound_state*,structnfsd4_close*);externvoidnfsd4_get_lockustateid(structnfsd4_compound_state*,structnfsd4_locku*);externvoidnfsd4_get_readstateid(structnfsd4_compound_state*,structnfsd4_read*);externvoidnfsd4_get_writestateid(structnfsd4_compound_state*,structnfsd4_write*);#endif /* _NFSD4_CURRENT_STATE_H */