/*
* udevd.h
*
- * Userspace devfs
- *
* Copyright (C) 2004 Ling, Xiaofeng <xiaofeng.ling@intel.com>
- * Copyright (C) 2004 Kay Sievers <kay.sievers@vrfy.org>
- *
+ * Copyright (C) 2004-2005 Kay Sievers <kay.sievers@vrfy.org>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
enum udevd_msg_type {
UDEVD_UNKNOWN,
- UDEVD_UEVENT,
+ UDEVD_UEVENT_UDEVSEND,
+ UDEVD_UEVENT_INITSEND,
+ UDEVD_UEVENT_NETLINK,
UDEVD_STOP_EXEC_QUEUE,
UDEVD_START_EXEC_QUEUE,
+ UDEVD_SET_LOG_LEVEL,
+ UDEVD_SET_MAX_CHILDS,
};
};
struct uevent_msg {
+ enum udevd_msg_type type;
struct list_head node;
pid_t pid;
long queue_time;
char *action;
char *devpath;
char *subsystem;
+ dev_t devt;
unsigned long long seqnum;
char *physdevpath;
unsigned int timeout;