chiark / gitweb /
volume_id: add volume_id_get_* functions
[elogind.git] / extras / volume_id / lib / util.h
index dc60a09123eb6c94fa237b7057a76b56c3e00667..964e70196aac90029e69389829af6ddfa71b1fef 100644 (file)
 #include <byteswap.h>
 #include <syslog.h>
 
+#ifndef PACKED
+#define PACKED                         __attribute__((packed))
+#endif
+
 #define err(format, arg...)    volume_id_log_fn(LOG_ERR, __FILE__, __LINE__, format, ##arg)
 #define info(format, arg...)   volume_id_log_fn(LOG_INFO, __FILE__, __LINE__, format, ##arg)
 #ifdef DEBUG
@@ -64,6 +68,7 @@ enum uuid_format {
        UUID_DOS,
        UUID_NTFS,
        UUID_HFS,
+       UUID_FOURINT,
 };
 
 enum endian {