summaryrefslogtreecommitdiffstats
path: root/libsmartcols
diff options
context:
space:
mode:
authorKarel Zak2017-05-23 13:27:29 +0200
committerKarel Zak2017-05-23 13:27:29 +0200
commit4ab60277cbed0ddeba999ff93a3e0bd3ac9fe007 (patch)
treecc3096e3c517940aa8fd52faa7a6b3e881ce32e4 /libsmartcols
parentbuild-sys: release++ (v2.30-rc2) (diff)
downloadkernel-qcow2-util-linux-4ab60277cbed0ddeba999ff93a3e0bd3ac9fe007.tar.gz
kernel-qcow2-util-linux-4ab60277cbed0ddeba999ff93a3e0bd3ac9fe007.tar.xz
kernel-qcow2-util-linux-4ab60277cbed0ddeba999ff93a3e0bd3ac9fe007.zip
libsmartcols: (docs) add missing 'since' tags
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libsmartcols')
-rw-r--r--libsmartcols/docs/libsmartcols-docs.xml6
-rw-r--r--libsmartcols/src/cell.c2
-rw-r--r--libsmartcols/src/line.c4
-rw-r--r--libsmartcols/src/table.c6
4 files changed, 16 insertions, 2 deletions
diff --git a/libsmartcols/docs/libsmartcols-docs.xml b/libsmartcols/docs/libsmartcols-docs.xml
index 607ab2e7c..bd0d76659 100644
--- a/libsmartcols/docs/libsmartcols-docs.xml
+++ b/libsmartcols/docs/libsmartcols-docs.xml
@@ -9,7 +9,7 @@
<title>libsmartcols Reference Manual</title>
<releaseinfo>for libsmartcols version &version;</releaseinfo>
<copyright>
- <year>2014-2016</year>
+ <year>2014-2017</year>
<holder>Karel Zak &lt;kzak@redhat.com&gt;</holder>
</copyright>
</bookinfo>
@@ -61,4 +61,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>
diff --git a/libsmartcols/src/cell.c b/libsmartcols/src/cell.c
index 04e9bfc20..783bac2eb 100644
--- a/libsmartcols/src/cell.c
+++ b/libsmartcols/src/cell.c
@@ -218,6 +218,8 @@ int scols_cell_get_flags(const struct libscols_cell *ce)
* scols_cell_get_alignment:
* @ce: a pointer to a struct libscols_cell instance
*
+ * Since: 2.30
+ *
* Returns: SCOLS_CELL_FL_{RIGHT,CELNTER,LEFT}
*/
int scols_cell_get_alignment(const struct libscols_cell *ce)
diff --git a/libsmartcols/src/line.c b/libsmartcols/src/line.c
index 134bf2d8e..aa339ce38 100644
--- a/libsmartcols/src/line.c
+++ b/libsmartcols/src/line.c
@@ -315,6 +315,10 @@ int scols_line_next_child(struct libscols_line *ln,
*
* The function is designed to detect circular dependencies between @ln and
* @parent. It checks if @ln is not any (grand) parent in the @parent's tree.
+ *
+ * Since: 2.30
+ *
+ * Returns: 0 or 1
*/
int scols_line_is_ancestor(struct libscols_line *ln, struct libscols_line *parent)
{
diff --git a/libsmartcols/src/table.c b/libsmartcols/src/table.c
index 50288d606..a64a6b2a2 100644
--- a/libsmartcols/src/table.c
+++ b/libsmartcols/src/table.c
@@ -257,9 +257,11 @@ int scols_table_remove_columns(struct libscols_table *tb)
* @pre: column before the column
* @cl: colum to move
*
- * Move the @cl behind @pre. The the @pre is NULL then the @col is the fist
+ * Move the @cl behind @pre. If the @pre is NULL then the @col is the first
* column in the table.
*
+ * Since: 2.30
+ *
* Returns: 0, a negative number in case of an error.
*/
int scols_table_move_column(struct libscols_table *tb,
@@ -1338,6 +1340,8 @@ static struct libscols_line *move_line_and_children(struct libscols_line *ln, st
* Reorders lines in the table by parent->child relation. Note that order of
* the lines in the table is independent on the tree hierarchy.
*
+ * Since: 2.30
+ *
* Returns: 0, a negative value in case of an error.
*/
int scols_sort_table_by_tree(struct libscols_table *tb)