libfdisk: (docs) add missing references

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2020-07-22 10:33:53 +02:00
parent bd64c5a3f1
commit f11fe35f5e
6 changed files with 16 additions and 1 deletions

View File

@ -83,4 +83,12 @@ available from https://www.kernel.org/pub/linux/utils/util-linux/.
<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.35">
<title>Index of new symbols in 2.35</title>
<xi:include href="xml/api-index-2.35.xml"><xi:fallback /></xi:include>
</index>
<index role="2.36">
<title>Index of new symbols in 2.36</title>
<xi:include href="xml/api-index-2.36.xml"><xi:fallback /></xi:include>
</index>
</book>

View File

@ -263,6 +263,7 @@ fdisk_parttype_get_code
fdisk_parttype_get_name
fdisk_parttype_get_string
fdisk_parttype_is_unknown
fdisk_parttype_parser_flags
fdisk_parttype_set_code
fdisk_parttype_set_name
fdisk_parttype_set_typestr

View File

@ -701,6 +701,8 @@ int fdisk_assign_device(struct fdisk_context *cxt,
* The device has to be open O_RDWR on @readonly=0.
*
* Returns: 0 on success, < 0 on error.
*
* Since: 2.35
*/
int fdisk_assign_device_by_fd(struct fdisk_context *cxt, int fd,
const char *fname, int readonly)

View File

@ -490,6 +490,8 @@ int fdisk_set_disklabel_id(struct fdisk_context *cxt)
* @str: new Id
*
* Returns: 0 on success, otherwise, a corresponding error.
*
* Since: 2.36
*/
int fdisk_set_disklabel_id_from_string(struct fdisk_context *cxt, const char *str)
{

View File

@ -155,7 +155,7 @@ struct fdisk_parttype *fdisk_label_get_parttype(const struct fdisk_label *lb, si
*
* Returns: return 0 on success, <0 on error, 2 for deprecated alias, 1 for @n out of range
*
* Since: v2.36
* Since: 2.36
*/
int fdisk_label_get_parttype_shortcut(const struct fdisk_label *lb, size_t n,
const char **typestr, const char **shortcut, const char **alias)

View File

@ -376,6 +376,8 @@ struct fdisk_table *fdisk_script_get_table(struct fdisk_script *dp)
* always a new script table.
*
* Returns: 0 on success, <0 on error
*
* Since: 2.35
*/
int fdisk_script_set_table(struct fdisk_script *dp, struct fdisk_table *tb)
{