diff options
Diffstat (limited to 'include/linux/capi.h')
-rw-r--r-- | include/linux/capi.h | 34 |
1 files changed, 33 insertions, 1 deletions
diff --git a/include/linux/capi.h b/include/linux/capi.h index 9876da085..b5cd26c52 100644 --- a/include/linux/capi.h +++ b/include/linux/capi.h @@ -1,11 +1,28 @@ /* - * $Id: capi.h,v 1.1 1997/03/04 21:27:33 calle Exp $ + * $Id: capi.h,v 1.3 2000/03/08 17:06:34 calle Exp $ * * CAPI 2.0 Interface for Linux * * Copyright 1997 by Carsten Paeth (calle@calle.in-berlin.de) * * $Log: capi.h,v $ + * Revision 1.3 2000/03/08 17:06:34 calle + * - changes for devfs and 2.3.49 + * - capifs now configurable (no need with devfs) + * - New Middleware ioctl CAPI_NCCI_GETUNIT + * - Middleware again tested with 2.2.14 and 2.3.49 (with and without devfs) + * + * Revision 1.2 2000/03/03 15:50:42 calle + * - kernel CAPI: + * - Changed parameter "param" in capi_signal from __u32 to void *. + * - rewrote notifier handling in kcapi.c + * - new notifier NCCI_UP and NCCI_DOWN + * - User CAPI: + * - /dev/capi20 is now a cloning device. + * - middleware extentions prepared. + * - capidrv.c + * - locking of list operations and module count updates. + * * Revision 1.1 1997/03/04 21:27:33 calle * First version in isdn4linux * @@ -108,6 +125,7 @@ typedef struct capi_manufacturer_cmd { */ #define CAPI_INSTALLED _IOR('C',0x22, __u16) + /* * member contr is input for * CAPI_GET_MANUFACTURER, CAPI_VERSION, CAPI_GET_SERIAL @@ -124,4 +142,18 @@ typedef union capi_ioctl_struct { __u16 errcode; } capi_ioctl_struct; +/* + * Middleware extension + */ + +#define CAPIFLAG_HIGHJACKING 0x0001 + +#define CAPI_GET_FLAGS _IOR('C',0x23, unsigned) +#define CAPI_SET_FLAGS _IOR('C',0x24, unsigned) +#define CAPI_CLR_FLAGS _IOR('C',0x25, unsigned) + +#define CAPI_NCCI_OPENCOUNT _IOR('C',0x26, unsigned) + +#define CAPI_NCCI_GETUNIT _IOR('C',0x27, unsigned) + #endif /* __LINUX_CAPI_H__ */ |