122347Spst/* getsequence.c: The opiegetsequence() library function.
222347Spst
329964Sache%%% portions-copyright-cmetz-96
492906SmarkmPortions of this software are Copyright 1996-1999 by Craig Metz, All Rights
522347SpstReserved. The Inner Net License Version 2 applies to these portions of
622347Spstthe software.
722347SpstYou should have received a copy of the license with this software. If
822347Spstyou didn't get a copy, you may request one from <license@inner.net>.
922347Spst
1022347SpstPortions of this software are Copyright 1995 by Randall Atkinson and Dan
1122347SpstMcDonald, All Rights Reserved. All Rights under this copyright are assigned
1222347Spstto the U.S. Naval Research Laboratory (NRL). The NRL Copyright Notice and
1322347SpstLicense Agreement applies to this software.
1422347Spst
1522347Spst        History:
1622347Spst
1722347Spst	Modified by cmetz for OPIE 2.3. Use opie_ prefix.
1822347Spst	Modified by cmetz for OPIE 2.2. Use FUNCTION declaration et al.
1922347Spst        Created at NRL for OPIE 2.2 from opiesubr2.c
2022347Spst*/
2122347Spst#include "opie_cfg.h"
2222347Spst#include "opie.h"
2322347Spst
2422347Spstint opiegetsequence FUNCTION((stateblock), struct opie *stateblock)
2522347Spst{
2622347Spst  return stateblock->opie_n;
2722347Spst}
28