]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libsmartcols: (docs) add missing version notes
authorKarel Zak <kzak@redhat.com>
Tue, 27 Sep 2016 09:35:43 +0000 (11:35 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 27 Sep 2016 09:35:43 +0000 (11:35 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
libsmartcols/src/column.c
libsmartcols/src/libsmartcols.sym
libsmartcols/src/table.c

index 2b6c691c7f39e76d860c1df4058551e64c3413aa..bfcda05c74017125624751cd6b0cd3434cae6f6e 100644 (file)
@@ -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)
 {
index d5c3674b87183e94e6163b001f0bfc9fe70215b9..930a4f47d0704c1298463740dbd859edb0ba66af 100644 (file)
@@ -113,7 +113,6 @@ local:
        *;
 };
 
-
 SMARTCOLS_2.27 {
 global:
        scols_column_is_hidden;
index 93f0b669c6491a5da857ee25ca0672ca2edba43c..24aca9bebe29cdf14b739f82325d19824912a855 100644 (file)
@@ -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)
 {