diff options
author | Karel Zak | 2013-03-15 14:23:04 +0100 |
---|---|---|
committer | Karel Zak | 2013-03-15 14:59:22 +0100 |
commit | a3bb7e65c426d21f619894e2b1dde5f07128a019 (patch) | |
tree | ca0b8797f32d46203b81072cc44e9096dbc4612e /libmount/docs | |
parent | libblkid: clean up header file (diff) | |
download | kernel-qcow2-util-linux-a3bb7e65c426d21f619894e2b1dde5f07128a019.tar.gz kernel-qcow2-util-linux-a3bb7e65c426d21f619894e2b1dde5f07128a019.tar.xz kernel-qcow2-util-linux-a3bb7e65c426d21f619894e2b1dde5f07128a019.zip |
libmount: clean up header file
* don't teach people C by header files, so use warn_unused_result
attribute only on places where we return allocated memory (to avoid
leaks in applications).
* merge multiple function attributes to the one list to make it
usable with gtk-doc
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/docs')
-rw-r--r-- | libmount/docs/libmount-sections.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libmount/docs/libmount-sections.txt b/libmount/docs/libmount-sections.txt index 6a00ea413..3475630d7 100644 --- a/libmount/docs/libmount-sections.txt +++ b/libmount/docs/libmount-sections.txt @@ -89,6 +89,14 @@ mnt_context_strerror mnt_context_syscall_called mnt_context_tab_applied mnt_context_wait_for_children +<SUBSECTION> +MNT_ERR_AMBIFS +MNT_ERR_APPLYFLAGS +MNT_ERR_LOOPDEV +MNT_ERR_MOUNTOPT +MNT_ERR_NOFSTAB +MNT_ERR_NOFSTYPE +MNT_ERR_NOSOURCE </SECTION> <SECTION> @@ -145,6 +153,7 @@ MS_UNBINDABLE <SECTION> <FILE>context-umount</FILE> +mnt_context_find_umount_fs mnt_context_do_umount mnt_context_finalize_umount mnt_context_next_umount @@ -182,6 +191,7 @@ mnt_fs_get_srcpath mnt_fs_get_swaptype mnt_fs_get_tag mnt_fs_get_target +mnt_fs_get_tid mnt_fs_get_usedsize mnt_fs_get_userdata mnt_fs_get_user_options @@ -325,6 +335,7 @@ mnt_update_table mnt_fstype_is_netfs mnt_fstype_is_pseudofs mnt_get_fstab_path +mnt_get_mountpoint mnt_get_mtab_path mnt_get_swaps_path mnt_has_regular_mtab |