File: init_message.h

package info (click to toggle)
hwinfo 14.19-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 5,968 kB
  • ctags: 5,149
  • sloc: ansic: 63,671; perl: 2,751; makefile: 313; sh: 146
file content (17 lines) | stat: -rw-r--r-- 454 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#define MESSAGE_BUFFER 1024
#define KEY 8024;
#define PID_FILE "/var/run/hwscand.pid"

// WARNING NEEDS TO BE <= 9
#define NR_COMMANDS 7
// WARNING NEEDS TO BE <= 9
static const char *command_args[] = { "block", "partition", "usb", "firewire", "pci", "pcmcia", "bluetooth" };
static const int command_with_device[] = { 1, 1, 0, 0, 0, 0, 0 };

typedef struct msgbuf {
        long mtype;
        char mtext[MESSAGE_BUFFER+1];
} message;

#define DEBUG 0