1 /*********************************************************************
3 * Filename: irlan_event.h
5 * Description: LAN access
6 * Status: Experimental.
7 * Author: Dag Brattli <dagb@cs.uit.no>
8 * Created at: Sun Aug 31 20:14:37 1997
9 * Modified at: Tue Feb 2 09:45:17 1999
10 * Modified by: Dag Brattli <dagb@cs.uit.no>
12 * Copyright (c) 1997 Dag Brattli <dagb@cs.uit.no>, All Rights Reserved.
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.
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.
23 ********************************************************************/
28 #include <linux/kernel.h>
29 #include <linux/skbuff.h>
31 #include <net/irda/irlan_common.h>
48 IRLAN_DISCOVERY_INDICATION
,
49 IRLAN_IAS_PROVIDER_AVAIL
,
50 IRLAN_IAS_PROVIDER_NOT_AVAIL
,
53 IRLAN_CONNECT_COMPLETE
,
54 IRLAN_DATA_INDICATION
,
55 IRLAN_DATA_CONNECT_INDICATION
,
58 IRLAN_CONNECT_INDICATION
,
62 IRLAN_FILTER_CONFIG_CMD
,
65 IRLAN_PROVIDER_SIGNAL
,
67 IRLAN_WATCHDOG_TIMEOUT
,
70 extern char *irlan_state
[];
72 void irlan_do_client_event(struct irlan_cb
*self
, IRLAN_EVENT event
,
75 void irlan_do_provider_event(struct irlan_cb
*self
, IRLAN_EVENT event
,
78 void irlan_next_client_state(struct irlan_cb
*self
, IRLAN_STATE state
);
79 void irlan_next_provider_state(struct irlan_cb
*self
, IRLAN_STATE state
);