2 * Include file for defining the kernel loggger messages
3 * These definitions are shared between the klog driver and the
6 * Copyright (C) Eicon Technology Corporation, 2000.
8 * Eicon File Revision : 1.0
10 * This software may be used and distributed according to the terms
11 * of the GNU General Public License, incorporated herein by reference.
15 #if !defined(_KLOGMSG_H)
18 /* define a type for a log entry */
20 #define KLOG_TEXT_MSG (0)
21 #define KLOG_XLOG_MSG (1)
22 #define KLOG_XTXT_MSG (2)
23 #define KLOG_IDI_REQ (4)
24 #define KLOG_IDI_CALLBACK (5)
25 #define KLOG_CAPI_MSG (6)
29 unsigned long time_stamp; /* in ms since last system boot */
30 int card; /* card number (-1 for all) */
31 unsigned int type; /* type of log message (0 is text) */
32 unsigned int length; /* message length (non-text messages only) */
33 unsigned short code; /* message code (non-text messages only) */
34 char buffer[110];/* text/data to log */
37 void DivasLogAdd(void *buffer, int length);
38 #endif /* of _KLOGMSG_H */