]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/core/device.h
Add SPDX license identifiers to source files under the LGPL
[thirdparty/systemd.git] / src / core / device.h
index da8737870b00cb3b9301e6e77470cfc1a724c159..a551e7748a8f7f108bada794fa69682459423306 100644 (file)
@@ -1,5 +1,4 @@
-/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
-
+/* SPDX-License-Identifier: LGPL-2.1+ */
 #pragma once
 
 /***
@@ -42,8 +41,11 @@ struct Device {
         LIST_FIELDS(struct Device, same_sysfs);
 
         DeviceState state, deserialized_state;
+
+        bool bind_mounts;
 };
 
 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);