]> git.ipfire.org Git - thirdparty/systemd.git/blame - udevd.h
[PATCH] allow dbus code to actually build again.
[thirdparty/systemd.git] / udevd.h
CommitLineData
7fafc032
KS
1/*
2 * udevd.h
3 *
4 * Userspace devfs
5 *
6 * Copyright (C) 2004 Ling, Xiaofeng <xiaofeng.ling@intel.com>
7 *
8 *
9 * This program is free software; you can redistribute it and/or modify it
10 * under the terms of the GNU General Public License as published by the
11 * Free Software Foundation version 2 of the License.
12 *
13 * This program is distributed in the hope that it will be useful, but
14 * WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License along
19 * with this program; if not, write to the Free Software Foundation, Inc.,
20 * 675 Mass Ave, Cambridge, MA 02139, USA.
21 *
22 */
23
a695feae 24#include "list.h"
33db4b8d 25
a695feae
KS
26#define UDEV_EXEC "./udev"
27#define UDEVD_EXEC "./udevd"
28#define UDEVD_TIMEOUT_SECONDS 60
29#define EVENT_TIMEOUT_SECONDS 5
30
31#define IPC_KEY_ID 0
32#define HOTPLUGMSGTYPE 44
7fafc032
KS
33
34
35struct hotplug_msg {
36 long mtype;
a695feae 37 struct list_head list;
7fafc032 38 int seqnum;
a695feae 39 time_t queue_time;
7fafc032
KS
40 char action[8];
41 char devpath[128];
42 char subsystem[16];
43};