libmount: (docs) add reference to v2.33 and v2.34

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2019-06-07 12:37:28 +02:00
parent 36ad92c23e
commit 2089538adb
5 changed files with 20 additions and 1 deletions

View File

@ -71,9 +71,16 @@ available from https://www.kernel.org/pub/linux/utils/util-linux/.
<title>Index of new symbols in 2.29</title>
<xi:include href="xml/api-index-2.29.xml"><xi:fallback /></xi:include>
</index>
<index role="2.30">
<title>Index of new symbols in 2.30</title>
<xi:include href="xml/api-index-2.30.xml"><xi:fallback /></xi:include>
</index>
<index role="2.33">
<title>Index of new symbols in 2.33</title>
<xi:include href="xml/api-index-2.33.xml"><xi:fallback /></xi:include>
</index>
<index role="2.34">
<title>Index of new symbols in 2.34</title>
<xi:include href="xml/api-index-2.34.xml"><xi:fallback /></xi:include>
</index>
</book>

View File

@ -1415,6 +1415,8 @@ int mnt_context_next_mount(struct libmnt_context *cxt,
* Returns: 0 on success,
* <0 in case of error (!= mount(2) errors)
* 1 at the end of the list.
*
* Since: 2.34
*/
int mnt_context_next_remount(struct libmnt_context *cxt,
struct libmnt_iter *itr,

View File

@ -452,6 +452,8 @@ int mnt_fs_streq_srcpath(struct libmnt_fs *fs, const char *path)
* @tb: table that contains @fs
*
* Returns: 0 or negative number on error (if @fs or @tb is NULL).
*
* Since: 2.34
*/
int mnt_fs_get_table(struct libmnt_fs *fs, struct libmnt_table **tb)
{

View File

@ -403,6 +403,8 @@ struct libmnt_cache *mnt_table_get_cache(struct libmnt_table *tb)
* Checks if @fs is part of table @tb.
*
* Returns: index of @fs in table, 0 if not found or negative number in case of error.
*
* Since: 2.34
*/
int mnt_table_find_fs(struct libmnt_table *tb, struct libmnt_fs *fs)
{
@ -491,6 +493,8 @@ static int __table_insert_fs(
* referenced by the table only.
*
* Returns: 0 on success or negative number in case of error.
*
* Since: 2.34
*/
int mnt_table_insert_fs(struct libmnt_table *tb, int before,
struct libmnt_fs *pos, struct libmnt_fs *fs)
@ -523,6 +527,8 @@ int mnt_table_insert_fs(struct libmnt_table *tb, int before,
* The reference counter of @fs is not modified.
*
* Returns: 0 on success or negative number in case of error.
*
* Since: 2.34
*/
int mnt_table_move_fs(struct libmnt_table *src, struct libmnt_table *dst,
int before, struct libmnt_fs *pos, struct libmnt_fs *fs)

View File

@ -1060,6 +1060,8 @@ char *mnt_get_kernel_cmdline_option(const char *name)
* The function uses /sys to convert devno to device name.
*
* Returns: 0 = success, 1 = not found, <0 = error
*
* Since: 2.34
*/
int mnt_guess_system_root(dev_t devno, struct libmnt_cache *cache, char **path)
{