<SECTION>
<FILE>cache</FILE>
+libmnt_cache
mnt_new_cache
mnt_free_cache
mnt_cache_device_has_tag
<SECTION>
<FILE>context</FILE>
+libmnt_context
mnt_free_context
mnt_new_context
mnt_reset_context
mnt_context_mount
mnt_context_next_mount
mnt_context_prepare_mount
+<SUBSECTION>
+MNT_MS_COMMENT
+MNT_MS_GROUP
+MNT_MS_HELPER
+MNT_MS_LOOP
+MNT_MS_NETDEV
+MNT_MS_NOAUTO
+MNT_MS_NOFAIL
+MNT_MS_OFFSET
+MNT_MS_OWNER
+MNT_MS_SIZELIMIT
+MNT_MS_UHELPER
+MNT_MS_USER
+MNT_MS_USERS
+MNT_MS_XCOMMENT
+<SUBSECTION>
+MS_BIND
+MS_DIRSYNC
+MS_I_VERSION
+MS_MANDLOCK
+MS_MGC_MSK
+MS_MGC_VAL
+MS_MOVE
+MS_NOATIME
+MS_NODEV
+MS_NODIRATIME
+MS_NOEXEC
+MS_NOSUID
+MS_OWNERSECURE
+MS_PRIVATE
+MS_PROPAGATION
+MS_RDONLY
+MS_REC
+MS_RELATIME
+MS_REMOUNT
+MS_SECURE
+MS_SHARED
+MS_SILENT
+MS_SLAVE
+MS_STRICTATIME
+MS_SYNCHRONOUS
+MS_UNBINDABLE
</SECTION>
<SECTION>
<SECTION>
<FILE>fs</FILE>
+libmnt_fs
mnt_copy_fs
mnt_free_fs
mnt_free_mntent
<SECTION>
<FILE>iter</FILE>
+libmnt_iter
mnt_free_iter
mnt_iter_get_direction
mnt_new_iter
<SECTION>
<FILE>lock</FILE>
+libmnt_lock
mnt_free_lock
mnt_lock_file
mnt_new_lock
<SECTION>
<FILE>optmap</FILE>
mnt_get_builtin_optmap
+MNT_INVERT
+MNT_NOMTAB
+MNT_PREFIX
</SECTION>
<SECTION>
<SECTION>
<FILE>table</FILE>
+libmnt_table
mnt_free_table
mnt_new_table
mnt_reset_table
<SECTION>
<FILE>tabdiff</FILE>
+libmnt_tabdiff
mnt_new_tabdiff
mnt_free_tabdiff
mnt_tabdiff_next_change
<SECTION>
<FILE>update</FILE>
+libmnt_update
mnt_free_update
mnt_new_update
mnt_update_force_rdonly
<FILE>version</FILE>
mnt_parse_version_string
mnt_get_library_version
+LIBMOUNT_VERSION
</SECTION>
-
-
-
-
-
-
-
-
-
-
-
-
/**
* mnt_context_get_table:
* @cxt: mount context
- * @file: filename (e.g. /proc/self/mountinfo, ...)
+ * @filename: e.g. /proc/self/mountinfo
* @tb: returns the table
*
* This function allocates a new table and parses the @file. The parser error
/**
* mnt_context_helper_setopt:
- * @cxr: context
+ * @cxt: context
* @c: getopt() result
* @arg: getopt() optarg
*
* This function applies [u]mount.type command line option (for example parsed
- * by getopt() or getopt_long()) to @cxt. All unknown options are ignored and
+ * by getopt or getopt_long) to @cxt. All unknown options are ignored and
* then 1 is returned.
*
* Returns: negative number on error, 1 if @c is unknown option, 0 on success.
}
/**
+ * mnt_context_is_fs_mounted:
* @cxt: context
- * @fs; filesystem
+ * @fs: filesystem
* @mounted: returns 1 for mounted and 0 for non-mounted filesystems
*
* Returns: 0 on success and negative number in case of error.
* @cxt: context
* @itr: iterator
* @fs: returns the current filesystem
- * @mntrc: returns the return code from mnt_mount_context()
+ * @mntrc: returns the return code from mnt_context_mount()
* @ignored: returns 1 for not matching and 2 for already mounted filesystems
*
* This function tries to mount the next filesystem from fstab (as returned by
*/
struct libmnt_context;
+/**
+ * libmnt_tabdiff:
+ *
+ * Stores mountinfo state
+ */
+struct libmnt_tabdiff;
+
/*
* Actions
*/
extern struct libmnt_update *mnt_new_update(void);
extern void mnt_free_update(struct libmnt_update *upd);
extern int mnt_update_is_ready(struct libmnt_update *upd);
-extern int mnt_update_set_fs(struct libmnt_update *upd, unsigned long mflags,
+extern int mnt_update_set_fs(struct libmnt_update *upd, unsigned long mountflags,
const char *target, struct libmnt_fs *fs);
extern int mnt_update_table(struct libmnt_update *upd, struct libmnt_lock *lc);
extern unsigned long mnt_update_get_mflags(struct libmnt_update *upd);
*
* Extracts options from @optstr that belongs to the @map, for example:
*
- * mnt_split_optstr_by_map(optstr, &p,
+ * mnt_optstr_get_options(optstr, &p,
* mnt_get_builtin_optmap(MNT_LINUX_MAP),
* MNT_NOMTAB);
*
- * returns all VFS options, the options that does not belong to mtab
+ * the 'p' returns all VFS options, the options that does not belong to mtab
* are ignored.
*
* Returns: 0 on success, or negative number in case of error.