summaryrefslogtreecommitdiffstats
path: root/libsmartcols
diff options
context:
space:
mode:
authorKarel Zak2016-09-27 11:35:43 +0200
committerKarel Zak2016-09-27 11:35:43 +0200
commit3f47320a17735fbb33f7d84767045863c8d4987a (patch)
treeddb6e0fe66e47d85cd25dd023604e33671d01f52 /libsmartcols
parentlibsmartcols: fixes in doc generation (diff)
downloadkernel-qcow2-util-linux-3f47320a17735fbb33f7d84767045863c8d4987a.tar.gz
kernel-qcow2-util-linux-3f47320a17735fbb33f7d84767045863c8d4987a.tar.xz
kernel-qcow2-util-linux-3f47320a17735fbb33f7d84767045863c8d4987a.zip
libsmartcols: (docs) add missing version notes
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libsmartcols')
-rw-r--r--libsmartcols/src/column.c10
-rw-r--r--libsmartcols/src/libsmartcols.sym1
-rw-r--r--libsmartcols/src/table.c10
3 files changed, 20 insertions, 1 deletions
diff --git a/libsmartcols/src/column.c b/libsmartcols/src/column.c
index 2b6c691c7..bfcda05c7 100644
--- a/libsmartcols/src/column.c
+++ b/libsmartcols/src/column.c
@@ -253,6 +253,8 @@ const char *scols_column_get_color(const struct libscols_column *cl)
* For example for data "AAA\nBBB\nCCC" the next chunk is "BBB".
*
* Returns: next chunk
+ *
+ * Since: 2.29
*/
char *scols_wrapnl_nextchunk(const struct libscols_column *cl __attribute__((unused)),
char *data,
@@ -279,6 +281,8 @@ char *scols_wrapnl_nextchunk(const struct libscols_column *cl __attribute__((unu
* bytes to support multu-byte output.
*
* Returns: size of the largest chunk.
+ *
+ * Since: 2.29
*/
size_t scols_wrapnl_chunksize(const struct libscols_column *cl __attribute__((unused)),
const char *data,
@@ -337,6 +341,8 @@ int scols_column_set_cmpfunc(struct libscols_column *cl,
* after \n or after words, etc.
*
* Returns: 0, a negative value in case of an error.
+ *
+ * Since: 2.29
*/
int scols_column_set_wrapfunc(struct libscols_column *cl,
size_t (*wrap_chunksize)(const struct libscols_column *,
@@ -366,6 +372,8 @@ int scols_column_set_wrapfunc(struct libscols_column *cl,
* you have to set "\n" as a safe char.
*
* Returns: 0, a negative value in case of an error.
+ *
+ * Since: 2.29
*/
int scols_column_set_safechars(struct libscols_column *cl, const char *safe)
{
@@ -380,6 +388,8 @@ int scols_column_set_safechars(struct libscols_column *cl, const char *safe)
* @cl: a pointer to a struct libscols_column instance
*
* Returns: safe chars
+ *
+ * Since: 2.29
*/
const char *scols_column_get_safechars(const struct libscols_column *cl)
{
diff --git a/libsmartcols/src/libsmartcols.sym b/libsmartcols/src/libsmartcols.sym
index d5c3674b8..930a4f47d 100644
--- a/libsmartcols/src/libsmartcols.sym
+++ b/libsmartcols/src/libsmartcols.sym
@@ -113,7 +113,6 @@ local:
*;
};
-
SMARTCOLS_2.27 {
global:
scols_column_is_hidden;
diff --git a/libsmartcols/src/table.c b/libsmartcols/src/table.c
index 93f0b669c..24aca9beb 100644
--- a/libsmartcols/src/table.c
+++ b/libsmartcols/src/table.c
@@ -689,6 +689,8 @@ err:
* Use scols_table_set_symbols() to unset symbols or use your own setting.
*
* Returns: 0, a negative value in case of an error.
+ *
+ * Since: 2.29
*/
int scols_table_set_default_symbols(struct libscols_table *tb)
{
@@ -766,6 +768,8 @@ int scols_table_set_symbols(struct libscols_table *tb,
* @tb: table
*
* Returns: pointer to symbols table.
+ *
+ * Since: 2.29
*/
struct libscols_symbols *scols_table_get_symbols(const struct libscols_table *tb)
{
@@ -1189,6 +1193,8 @@ int scols_sort_table(struct libscols_table *tb, struct libscols_column *cl)
* detection (default).
*
* Returns: 0, a negative value in case of an error.
+ *
+ * Since: 2.29
*/
int scols_table_set_termforce(struct libscols_table *tb, int force)
{
@@ -1203,6 +1209,8 @@ int scols_table_set_termforce(struct libscols_table *tb, int force)
* @tb: table
*
* Returns: SCOLS_TERMFORCE_{NEVER,ALWAYS,AUTO} or a negative value in case of an error.
+ *
+ * Since: 2.29
*/
int scols_table_get_termforce(const struct libscols_table *tb)
{
@@ -1218,6 +1226,8 @@ int scols_table_get_termforce(const struct libscols_table *tb)
* detections is unsuccessful. This function override this behaviour.
*
* Returns: 0, a negative value in case of an error.
+ *
+ * Since: 2.29
*/
int scols_table_set_termwidth(struct libscols_table *tb, size_t width)
{