summaryrefslogtreecommitdiff
path: root/include/volume_id.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/volume_id.h')
-rw-r--r--include/volume_id.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/volume_id.h b/include/volume_id.h
index bba32c0..77e874d 100644
--- a/include/volume_id.h
+++ b/include/volume_id.h
@@ -21,3 +21,10 @@
char *get_devname_from_label(const char *spec);
char *get_devname_from_uuid(const char *spec);
void display_uuid_cache(void);
+
+/* Returns:
+ * 0: no UUID= or LABEL= prefix found
+ * 1: UUID= or LABEL= prefix found. In this case,
+ * *fsname is replaced if device with such UUID or LABEL is found
+ */
+int resolve_mount_spec(char **fsname);