Deleted Added
full compact
fsm.h (44305) fsm.h (47695)
1/*
2 * Written by Toshiharu OHNO (tony-o@iij.ad.jp)
3 *
4 * Copyright (C) 1993, Internet Initiative Japan, Inc. All rights reserverd.
5 *
6 * Redistribution and use in source and binary forms are permitted
7 * provided that the above copyright notice and this paragraph are
8 * duplicated in all such forms and that any documentation,
9 * advertising materials, and other materials related to such
10 * distribution and use acknowledge that the software was developed
11 * by the Internet Initiative Japan. The name of the
12 * IIJ may not be used to endorse or promote products derived
13 * from this software without specific prior written permission.
14 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
15 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
16 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
17 *
1/*
2 * Written by Toshiharu OHNO (tony-o@iij.ad.jp)
3 *
4 * Copyright (C) 1993, Internet Initiative Japan, Inc. All rights reserverd.
5 *
6 * Redistribution and use in source and binary forms are permitted
7 * provided that the above copyright notice and this paragraph are
8 * duplicated in all such forms and that any documentation,
9 * advertising materials, and other materials related to such
10 * distribution and use acknowledge that the software was developed
11 * by the Internet Initiative Japan. The name of the
12 * IIJ may not be used to endorse or promote products derived
13 * from this software without specific prior written permission.
14 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
15 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
16 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
17 *
18 * $Id: fsm.h,v 1.19 1998/06/25 22:33:24 brian Exp $
18 * $Id: fsm.h,v 1.20 1999/02/26 21:28:11 brian Exp $
19 *
20 * TODO:
21 */
22
23/*
24 * State of machine
25 */
26#define ST_INITIAL 0

--- 128 unchanged lines hidden (view full) ---

155struct fsmconfig {
156 u_char type;
157 u_char length;
158};
159
160extern void fsm_Init(struct fsm *, const char *, u_short, int, int, int,
161 struct bundle *, struct link *, const struct fsm_parent *,
162 struct fsm_callbacks *, const char *[3]);
19 *
20 * TODO:
21 */
22
23/*
24 * State of machine
25 */
26#define ST_INITIAL 0

--- 128 unchanged lines hidden (view full) ---

155struct fsmconfig {
156 u_char type;
157 u_char length;
158};
159
160extern void fsm_Init(struct fsm *, const char *, u_short, int, int, int,
161 struct bundle *, struct link *, const struct fsm_parent *,
162 struct fsm_callbacks *, const char *[3]);
163extern void fsm_Output(struct fsm *, u_int, u_int, u_char *, int);
163extern void fsm_Output(struct fsm *, u_int, u_int, u_char *, int, int);
164extern void fsm_Open(struct fsm *);
165extern void fsm_Up(struct fsm *);
166extern void fsm_Down(struct fsm *);
167extern void fsm_Input(struct fsm *, struct mbuf *);
168extern void fsm_Close(struct fsm *);
169extern void fsm_NullRecvResetReq(struct fsm *);
170extern void fsm_NullRecvResetAck(struct fsm *, u_char);
171extern void fsm_Reopen(struct fsm *);
172extern void fsm2initial(struct fsm *);
173extern const char *State2Nam(u_int);
164extern void fsm_Open(struct fsm *);
165extern void fsm_Up(struct fsm *);
166extern void fsm_Down(struct fsm *);
167extern void fsm_Input(struct fsm *, struct mbuf *);
168extern void fsm_Close(struct fsm *);
169extern void fsm_NullRecvResetReq(struct fsm *);
170extern void fsm_NullRecvResetAck(struct fsm *, u_char);
171extern void fsm_Reopen(struct fsm *);
172extern void fsm2initial(struct fsm *);
173extern const char *State2Nam(u_int);