chiark / gitweb /
43fe6b421a0b5773ed1d274a5923580da3dc8efd
[elogind.git] / udevd.h
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
24 #define DEFAULT_UDEV_EXEC       "./udev"
25 #define DEFAULT_UDEVD_EXEC      "./udevd"
26
27 #define IPC_KEY_ID              0
28 #define HOTPLUGMSGTYPE          44
29
30
31 struct hotplug_msg {
32         long mtype;
33         struct hotplug_msg *next;
34         int seqnum;
35         char action[8];
36         char devpath[128];
37         char subsystem[16];
38 };