summaryrefslogtreecommitdiffstats
path: root/libmount/src/libmount.h.in
diff options
context:
space:
mode:
authorKarel Zak2015-01-26 12:25:40 +0100
committerKarel Zak2015-01-26 12:25:40 +0100
commit3df1a79ad5ed1d54af58a4c26c208c65e53e3f6c (patch)
tree35670fc83b1ba36eeabf725ff62ad2c5309e8d92 /libmount/src/libmount.h.in
parentMerge branch 'timex' of https://github.com/kerolasa/lelux-utiliteetit (diff)
downloadkernel-qcow2-util-linux-3df1a79ad5ed1d54af58a4c26c208c65e53e3f6c.tar.gz
kernel-qcow2-util-linux-3df1a79ad5ed1d54af58a4c26c208c65e53e3f6c.tar.xz
kernel-qcow2-util-linux-3df1a79ad5ed1d54af58a4c26c208c65e53e3f6c.zip
libmount: add options map to docs
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/src/libmount.h.in')
-rw-r--r--libmount/src/libmount.h.in9
1 files changed, 6 insertions, 3 deletions
diff --git a/libmount/src/libmount.h.in b/libmount/src/libmount.h.in
index a45e0fad7..30dc06b69 100644
--- a/libmount/src/libmount.h.in
+++ b/libmount/src/libmount.h.in
@@ -57,14 +57,17 @@ struct libmnt_iter;
/**
* libmnt_optmap:
+ * @name: option name[=type] where type is printf-like type specifier")
+ * @id: option ID or MS_* flags (e.g MS_RDONLY)
+ * @mask: MNT_{NOMTAB,INVERT,...} mask
*
* Mount options description (map)
*/
struct libmnt_optmap
{
- const char *name; /* option name[=%<type>] (e.g. "loop[=%s]") */
- int id; /* option ID or MS_* flags (e.g MS_RDONLY) */
- int mask; /* MNT_{NOMTAB,INVERT,...} mask */
+ const char *name;
+ int id;
+ int mask;
};
/*