~ubuntu-branches/ubuntu/wily/hwinfo/wily

« back to all changes in this revision

Viewing changes to init_message.h

  • Committer: Bazaar Package Importer
  • Author(s): James Vega
  • Date: 2006-11-03 07:28:15 UTC
  • mfrom: (1.2.1 upstream) (3.1.7 edgy)
  • Revision ID: james.westby@ubuntu.com-20061103072815-7g9d6kzk0xn54159
Add cpu.c-alpha_bogo patch, which fixes a FTBFS on alpha because of an
undefined variable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#define MESSAGE_BUFFER 1024
 
2
#define KEY 8024;
 
3
#define PID_FILE "/var/run/hwscand.pid"
 
4
 
 
5
// WARNING NEEDS TO BE <= 9
 
6
#define NR_COMMANDS 7
 
7
// WARNING NEEDS TO BE <= 9
 
8
static const char *command_args[] = { "block", "partition", "usb", "firewire", "pci", "pcmcia", "bluetooth" };
 
9
static const int command_with_device[] = { 1, 1, 0, 0, 0, 0, 0 };
 
10
 
 
11
typedef struct msgbuf {
 
12
        long mtype;
 
13
        char mtext[MESSAGE_BUFFER+1];
 
14
} message;
 
15
 
 
16
#define DEBUG 0
 
17