summaryrefslogtreecommitdiffstats
path: root/drivers/isdn/avmb1/capidev.h
blob: bd57255b674cf4d1045a8ba3d76f1946d2be7ac6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*
 * $Id: capidev.h,v 1.1 1997/03/04 21:50:30 calle Exp $
 *
 * CAPI 2.0 Interface for Linux
 *
 * (c) Copyright 1996 by Carsten Paeth (calle@calle.in-berlin.de)
 *
 * $Log: capidev.h,v $
 * Revision 1.1  1997/03/04 21:50:30  calle
 * Frirst version in isdn4linux
 *
 * Revision 2.2  1997/02/12 09:31:39  calle
 * new version
 *
 * Revision 1.1  1997/01/31 10:32:20  calle
 * Initial revision
 *
 */

struct capidev {
	int is_open;
	int is_registered;
	__u16 applid;
	struct sk_buff_head recv_queue;
#if LINUX_VERSION_CODE < 131841
	struct wait_queue *recv_wait;
#else
	wait_queue_head_t recv_wait;
#endif
	__u16 errcode;
};

#define CAPI_MAXMINOR	CAPI_MAXAPPL