summaryrefslogtreecommitdiffstats
path: root/libmount/src/mountP.h
diff options
context:
space:
mode:
authorKarel Zak2011-06-21 14:58:37 +0200
committerKarel Zak2011-06-21 14:58:37 +0200
commitd84508cfbdba620d02e37dbd47c3065dfe7ab240 (patch)
tree0c21d49cc675f2c0b26a19e236b5a3ab18319279 /libmount/src/mountP.h
parentmountpoint: add new command (diff)
downloadkernel-qcow2-util-linux-d84508cfbdba620d02e37dbd47c3065dfe7ab240.tar.gz
kernel-qcow2-util-linux-d84508cfbdba620d02e37dbd47c3065dfe7ab240.tar.xz
kernel-qcow2-util-linux-d84508cfbdba620d02e37dbd47c3065dfe7ab240.zip
libmount: allow to set parser callback to context
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/src/mountP.h')
-rw-r--r--libmount/src/mountP.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libmount/src/mountP.h b/libmount/src/mountP.h
index 8c63fbd4e..9c85e13b5 100644
--- a/libmount/src/mountP.h
+++ b/libmount/src/mountP.h
@@ -258,6 +258,9 @@ struct libmnt_context
struct libmnt_table *fstab; /* fstab (or mtab for some remounts) entries */
struct libmnt_table *mtab; /* mtab entries */
+ int (*table_errcb)(struct libmnt_table *tb, /* callback for libmnt_table structs */
+ const char *filename, int line);
+
int optsmode; /* fstab optstr mode MNT_OPTSMODE_{AUTO,FORCE,IGNORE} */
int loopdev_fd; /* open loopdev */