chiark / gitweb /
util: loop_write - accept 0-length message
[elogind.git] / src / shared / machine-image.h
index 314fd6da5811e6de3b024c8f9a69c84a0d45b833..f041600fbfb6d1ea9257e000bc5c676b2dcc3251 100644 (file)
@@ -22,6 +22,7 @@
 ***/
 
 #include "time-util.h"
+#include "lockfile-util.h"
 #include "hashmap.h"
 
 typedef enum ImageType {
@@ -70,3 +71,5 @@ bool image_name_is_valid(const char *s) _pure_;
 
 int image_path_lock(const char *path, int operation, LockFile *global, LockFile *local);
 int image_name_lock(const char *name, int operation, LockFile *ret);
+
+int image_set_limit(Image *i, uint64_t referenced_max);