libfdisk: (docs) add missing 'since' tags

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2017-05-23 14:02:14 +02:00
parent a81b1946a1
commit 8d3e3e6b4d
4 changed files with 15 additions and 3 deletions

View File

@ -67,4 +67,8 @@ 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>
</book>

View File

@ -394,9 +394,11 @@ const char *fdisk_get_collision(struct fdisk_context *cxt)
* fdisk_is_ptcollision:
* @cxt: fdisk context
*
* The collision detected by library is another partition table. Note that libfdisk
* does not support all partitions tables, so fdisk_has_label() may return false and
* fdisk_is_ptcollision() may return true.
* The collision detected by libblkid (usally another partition table). Note
* that libfdisk does not support all partitions tables, so fdisk_has_label()
* may return false, but fdisk_is_ptcollision() may return true.
*
* Since: 2.30
*
* Returns: 0 or 1
*/
@ -667,6 +669,8 @@ int fdisk_is_readonly(struct fdisk_context *cxt)
* fdisk_is_regfile:
* @cxt: context
*
* Since: 2.30
*
* Returns: 1 if open file descriptor is regular file rather than a block device.
*/
int fdisk_is_regfile(struct fdisk_context *cxt)

View File

@ -1314,6 +1314,8 @@ int fdisk_wipe_partition(struct fdisk_context *cxt, size_t partno, int enable)
* @cxt: fdisk context
* @pa: partition
*
* Since: 2.30
*
* Returns: 1 if the area specified by @pa will be wiped by write command, or 0.
*/
int fdisk_partition_has_wipe(struct fdisk_context *cxt, struct fdisk_partition *pa)

View File

@ -361,6 +361,8 @@ int fdisk_script_get_nlines(struct fdisk_script *dp)
* Note that fdisk_script_set_header(dp, "label", name) does not modify
* force_label status. The label has to be specified by script.
*
* Since: 2.30
*
* Returns: true if "label: <name>" has been parsed.
*/
int fdisk_script_has_force_label(struct fdisk_script *dp)