summaryrefslogtreecommitdiff
path: root/mount/sundries.h
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2007-05-14 14:31:28 +0200
committerKarel Zak <kzak@redhat.com>2007-05-17 12:10:18 +0200
commit65a567e837338052ab0714ee5eab925d74f4a6c1 (patch)
tree454d9a6c8ca8ee7c5ae9a9d4a9085af3f396c8df /mount/sundries.h
parent950f648f8a773359bbec7f30820c9b3159e66e1c (diff)
downloadutil-linux-old-65a567e837338052ab0714ee5eab925d74f4a6c1.tar.gz
mount: fsprobe: make fsprobe_get_devname functions more generic
The blkid supports NAME=value parsing, but use the library for this simple task is overkill. (The libblkid requires initialized blkid cache all time, for all calls.) This patch makes the fsprobe_get_devname_for_mounting() and fsprobe_get_devname() generic for all fsprobe implementations. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'mount/sundries.h')
-rw-r--r--mount/sundries.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/mount/sundries.h b/mount/sundries.h
index 08511456..85ccd85f 100644
--- a/mount/sundries.h
+++ b/mount/sundries.h
@@ -35,6 +35,8 @@ char *xstrndup (const char *s, int n);
char *xstrconcat3 (char *, const char *, const char *);
char *xstrconcat4 (char *, const char *, const char *, const char *);
+int parse_spec(const char *spec, char **name, char **value);
+
void die (int errcode, const char *fmt, ...);
/* exit status - bits below are ORed */