* add p cc
[mascara-docs.git] / i386 / linux / linux-2.3.21 / include / net / irda / ircomm_lmp.h
blobfd738be7c792e265734846bb73a42891d4d90ab1
1 /*********************************************************************
2 *
3 * Filename: ircomm_lmp.h
4 * Version:
5 * Description:
6 * Status: Experimental.
7 * Author: Dag Brattli <dagb@cs.uit.no>
8 * Created at: Wed Jun 9 10:06:07 1999
9 * Modified at: Fri Aug 13 07:32:32 1999
10 * Modified by: Dag Brattli <dagb@cs.uit.no>
12 * Copyright (c) 1999 Dag Brattli, 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 * This program is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU General Public License for more details.
24 * You should have received a copy of the GNU General Public License
25 * along with this program; if not, write to the Free Software
26 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
27 * MA 02111-1307 USA
29 ********************************************************************/
31 #ifndef IRCOMM_LMP_H
32 #define IRCOMM_LMP_H
34 #include <net/irda/ircomm_core.h>
35 #include <net/irda/ircomm_event.h>
37 int ircomm_open_lsap(struct ircomm_cb *self);
38 int ircomm_lmp_connect_request(struct ircomm_cb *self,
39 struct sk_buff *userdata,
40 struct ircomm_info *info);
41 int ircomm_lmp_connect_response(struct ircomm_cb *self, struct sk_buff *skb);
42 int ircomm_lmp_disconnect_request(struct ircomm_cb *self,
43 struct sk_buff *userdata,
44 struct ircomm_info *info);
45 int ircomm_lmp_data_request(struct ircomm_cb *self, struct sk_buff *skb,
46 int clen);
47 int ircomm_lmp_control_request(struct ircomm_cb *self,
48 struct sk_buff *userdata);
49 int ircomm_lmp_data_indication(void *instance, void *sap,
50 struct sk_buff *skb);
51 void ircomm_lmp_connect_confirm(void *instance, void *sap,
52 struct qos_info *qos,
53 __u32 max_sdu_size,
54 __u8 max_header_size,
55 struct sk_buff *skb);
56 void ircomm_lmp_connect_indication(void *instance, void *sap,
57 struct qos_info *qos,
58 __u32 max_sdu_size,
59 __u8 max_header_size,
60 struct sk_buff *skb);
61 void ircomm_lmp_disconnect_indication(void *instance, void *sap,
62 LM_REASON reason,
63 struct sk_buff *skb);
65 #endif