Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
iriap_event.h
Go to the documentation of this file.
1 /*********************************************************************
2  *
3  * Filename: iriap_event.h
4  * Version:
5  * Description:
6  * Status: Experimental.
7  * Author: Dag Brattli <[email protected]>
8  * Created at: Mon Aug 4 20:40:53 1997
9  * Modified at: Sun Oct 31 22:02:54 1999
10  * Modified by: Dag Brattli <[email protected]>
11  *
12  * Copyright (c) 1998-1999 Dag Brattli <[email protected]>, All Rights Reserved.
13  *
14  * This program is free software; you can redistribute it and/or
15  * modify it under the terms of the GNU General Public License as
16  * published by the Free Software Foundation; either version 2 of
17  * the License, or (at your option) any later version.
18  *
19  * Neither Dag Brattli nor University of Tromsø admit liability nor
20  * provide warranty for any of this software. This material is
21  * provided "AS-IS" and at no charge.
22  *
23  ********************************************************************/
24 
25 #ifndef IRIAP_FSM_H
26 #define IRIAP_FSM_H
27 
28 /* Forward because of circular include dependecies */
29 struct iriap_cb;
30 
31 /* IrIAP states */
32 typedef enum {
33  /* Client */
37 
38  /* S-Call */
45 
46  /* Server */
49 
50  /* R-Connect */
56 } IRIAP_STATE;
57 
58 typedef enum {
66 } IRIAP_EVENT;
67 
69 void iriap_next_call_state (struct iriap_cb *self, IRIAP_STATE state);
72 
73 
75  struct sk_buff *skb);
76 void iriap_do_call_event (struct iriap_cb *self, IRIAP_EVENT event,
77  struct sk_buff *skb);
78 
79 void iriap_do_server_event (struct iriap_cb *self, IRIAP_EVENT event,
80  struct sk_buff *skb);
82  struct sk_buff *skb);
83 
84 #endif /* IRIAP_FSM_H */
85