diff options
author | Karel Zak | 2012-01-13 13:01:18 +0100 |
---|---|---|
committer | Karel Zak | 2012-01-13 13:01:18 +0100 |
commit | 8ab6accf014b1ba9f7437a78463dbed35f08cceb (patch) | |
tree | 61535651c2ca4d415a1e53390c50937bff27bc07 /libmount/src/libmount.h.in | |
parent | tests: fix mount/special to be compatible with libmount (diff) | |
download | kernel-qcow2-util-linux-8ab6accf014b1ba9f7437a78463dbed35f08cceb.tar.gz kernel-qcow2-util-linux-8ab6accf014b1ba9f7437a78463dbed35f08cceb.tar.xz kernel-qcow2-util-linux-8ab6accf014b1ba9f7437a78463dbed35f08cceb.zip |
libmount: add functions to export syscall/helpers status
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/src/libmount.h.in')
-rw-r--r-- | libmount/src/libmount.h.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libmount/src/libmount.h.in b/libmount/src/libmount.h.in index 5409ed515..e677c362b 100644 --- a/libmount/src/libmount.h.in +++ b/libmount/src/libmount.h.in @@ -462,7 +462,16 @@ extern int mnt_context_get_user_mflags(struct libmnt_context *cxt, extern int mnt_context_set_mountdata(struct libmnt_context *cxt, void *data); extern int mnt_context_apply_fstab(struct libmnt_context *cxt); + +extern int mnt_context_reset_status(struct libmnt_context *cxt); extern int mnt_context_get_status(struct libmnt_context *cxt); + +extern int mnt_context_helper_executed(struct libmnt_context *cxt); +extern int mnt_context_get_helper_status(struct libmnt_context *cxt); + +extern int mnt_context_syscall_called(struct libmnt_context *cxt); +extern int mnt_context_get_syscall_errno(struct libmnt_context *cxt); + extern int mnt_context_strerror(struct libmnt_context *cxt, char *buf, size_t bufsiz); |