device: fix serialization and deserialization of DeviceFound
DeviceFound is a bit flag. So, it is necessary to support the case
that multiple bits are set.
Follow-up for 918e6f1c01.
This commit is contained in:
@@ -37,6 +37,3 @@ extern const UnitVTable device_vtable;
|
||||
|
||||
int device_found_node(Manager *m, const char *node, bool add, DeviceFound found, bool now);
|
||||
bool device_shall_be_bound_by(Unit *device, Unit *u);
|
||||
|
||||
const char *device_found_to_string(DeviceFound f) _const_;
|
||||
DeviceFound device_found_from_string(const char *s) _pure_;
|
||||
|
||||
Reference in New Issue
Block a user