1 /****************************************************************************
2 ****************************************************************************
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
10 ****************************************************************************
11 ****************************************************************************/
12 #ifndef __KERNELCAPI_H__
13 #define __KERNELCAPI_H__
15 #define CAPI_MAXAPPL 240
16 #define CAPI_MAXCONTR 32
17 #define CAPI_MAXDATAWINDOW 8
19 typedef struct kcapi_flagdef {
24 typedef struct kcapi_carddef {
32 #define KCAPI_CMD_TRACE 10
33 #define KCAPI_CMD_ADDCARD 11
35 #define KCAPI_TRACE_OFF 0
36 #define KCAPI_TRACE_SHORT_NO_DATA 1
37 #define KCAPI_TRACE_FULL_NO_DATA 2
38 #define KCAPI_TRACE_SHORT 3
39 #define KCAPI_TRACE_FULL 4