chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixes to the dbus code to make GetAll() in the properties iface work
[elogind.git]
/
device.h
diff --git
a/device.h
b/device.h
index e2597f710dec01f9ec43905a401d9633e3deb89d..be7c06ea15bdff3966564a8d1bd0fce8b534481e 100644
(file)
--- a/
device.h
+++ b/
device.h
@@
-5,7
+5,7
@@
typedef struct Device Device;
typedef struct Device Device;
-#include "
name
.h"
+#include "
unit
.h"
/* We simply watch devices, we cannot plug/unplug them. That
* simplifies the state engine greatly */
/* We simply watch devices, we cannot plug/unplug them. That
* simplifies the state engine greatly */
@@
-21,9
+21,11
@@
struct Device {
DeviceState state;
/* A single device can be created by multiple sysfs objects */
DeviceState state;
/* A single device can be created by multiple sysfs objects */
- char *
*
sysfs;
+ char *sysfs;
};
};
-extern const NameVTable device_vtable;
+extern const UnitVTable device_vtable;
+
+void device_fd_event(Manager *m, int events);
#endif
#endif