#ifndef _NFSD4_CURRENT_STATE_H
#define _NFSD4_CURRENT_STATE_H

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

extern void clear_current_stateid(struct nfsd4_compound_state *cstate);
/*
 * functions to set current state id
 */
extern void nfsd4_set_opendowngradestateid(struct nfsd4_compound_state *cstate, struct nfsd4_open_downgrade *);
extern void nfsd4_set_openstateid(struct nfsd4_compound_state *, struct nfsd4_open *);
extern void nfsd4_set_lockstateid(struct nfsd4_compound_state *, struct nfsd4_lock *);
extern void nfsd4_set_closestateid(struct nfsd4_compound_state *, struct nfsd4_close *);

/*
 * functions to consume current state id
 */
extern void nfsd4_get_opendowngradestateid(struct nfsd4_compound_state *cstate, struct nfsd4_open_downgrade *);
extern void nfsd4_get_delegreturnstateid(struct nfsd4_compound_state *, struct nfsd4_delegreturn *);
extern void nfsd4_get_freestateid(struct nfsd4_compound_state *, struct nfsd4_free_stateid *);
extern void nfsd4_get_setattrstateid(struct nfsd4_compound_state *, struct nfsd4_setattr *);
extern void nfsd4_get_closestateid(struct nfsd4_compound_state *, struct nfsd4_close *);
extern void nfsd4_get_lockustateid(struct nfsd4_compound_state *, struct nfsd4_locku *);
extern void nfsd4_get_readstateid(struct nfsd4_compound_state *, struct nfsd4_read *);
extern void nfsd4_get_writestateid(struct nfsd4_compound_state *, struct nfsd4_write *);

#endif   /* _NFSD4_CURRENT_STATE_H */
as Klauser</td></tr></table>
<table class='tabs'><tr><td>
<a href='/cgit.cgi/linux/net-next.git/'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?id=eeee74a4f6625b77c3e8db0693c2d4546507ba0d'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/sound/soc/codecs/hdmi-codec.c'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/sound/soc/codecs/hdmi-codec.c?id=eeee74a4f6625b77c3e8db0693c2d4546507ba0d'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/sound/soc/codecs/hdmi-codec.c?id=eeee74a4f6625b77c3e8db0693c2d4546507ba0d'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/sound/soc/codecs/hdmi-codec.c?id=eeee74a4f6625b77c3e8db0693c2d4546507ba0d'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/sound/soc/codecs/hdmi-codec.c'>
<input type='hidden' name='id' value='eeee74a4f6625b77c3e8db0693c2d4546507ba0d'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/log/?id=eeee74a4f6625b77c3e8db0693c2d4546507ba0d'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound?id=eeee74a4f6625b77c3e8db0693c2d4546507ba0d'>sound</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound/soc?id=eeee74a4f6625b77c3e8db0693c2d4546507ba0d'>soc</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound/soc/codecs?id=eeee74a4f6625b77c3e8db0693c2d4546507ba0d'>codecs</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound/soc/codecs/hdmi-codec.c?id=eeee74a4f6625b77c3e8db0693c2d4546507ba0d'>hdmi-codec.c</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th class='left'>Age</th><th class='left'>Commit message (<a href='/cgit.cgi/linux/net-next.git/log/sound/soc/codecs/hdmi-codec.c?id=eeee74a4f6625b77c3e8db0693c2d4546507ba0d&amp;showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>