Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
1da177e4 LT |
2 | /* |
3 | * $Id: kernelcapi.h,v 1.8.6.2 2001/02/07 11:31:31 kai Exp $ | |
4 | * | |
5 | * Kernel CAPI 2.0 Interface for Linux | |
6 | * | |
7 | * (c) Copyright 1997 by Carsten Paeth (calle@calle.in-berlin.de) | |
8 | * | |
9 | */ | |
1da177e4 LT |
10 | #ifndef __KERNELCAPI_H__ |
11 | #define __KERNELCAPI_H__ | |
12 | ||
1da177e4 LT |
13 | #include <linux/list.h> |
14 | #include <linux/skbuff.h> | |
d7fe0f24 | 15 | #include <linux/workqueue.h> |
ef69bb2e | 16 | #include <linux/notifier.h> |
607ca46e | 17 | #include <uapi/linux/kernelcapi.h> |
1da177e4 | 18 | |
1da177e4 LT |
19 | #define CAPI_NOERROR 0x0000 |
20 | ||
21 | #define CAPI_TOOMANYAPPLS 0x1001 | |
22 | #define CAPI_LOGBLKSIZETOSMALL 0x1002 | |
23 | #define CAPI_BUFFEXECEEDS64K 0x1003 | |
24 | #define CAPI_MSGBUFSIZETOOSMALL 0x1004 | |
25 | #define CAPI_ANZLOGCONNNOTSUPPORTED 0x1005 | |
26 | #define CAPI_REGRESERVED 0x1006 | |
27 | #define CAPI_REGBUSY 0x1007 | |
28 | #define CAPI_REGOSRESOURCEERR 0x1008 | |
29 | #define CAPI_REGNOTINSTALLED 0x1009 | |
30 | #define CAPI_REGCTRLERNOTSUPPORTEXTEQUIP 0x100a | |
31 | #define CAPI_REGCTRLERONLYSUPPORTEXTEQUIP 0x100b | |
32 | ||
33 | #define CAPI_ILLAPPNR 0x1101 | |
34 | #define CAPI_ILLCMDORSUBCMDORMSGTOSMALL 0x1102 | |
35 | #define CAPI_SENDQUEUEFULL 0x1103 | |
36 | #define CAPI_RECEIVEQUEUEEMPTY 0x1104 | |
37 | #define CAPI_RECEIVEOVERFLOW 0x1105 | |
38 | #define CAPI_UNKNOWNNOTPAR 0x1106 | |
39 | #define CAPI_MSGBUSY 0x1107 | |
40 | #define CAPI_MSGOSRESOURCEERR 0x1108 | |
41 | #define CAPI_MSGNOTINSTALLED 0x1109 | |
42 | #define CAPI_MSGCTRLERNOTSUPPORTEXTEQUIP 0x110a | |
43 | #define CAPI_MSGCTRLERONLYSUPPORTEXTEQUIP 0x110b | |
44 | ||
1da177e4 | 45 | #endif /* __KERNELCAPI_H__ */ |