libsmartcols: (docs) add missing version notes

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2016-09-27 11:35:43 +02:00
parent 618a1d6dbe
commit 3f47320a17
3 changed files with 20 additions and 1 deletions

View 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". * For example for data "AAA\nBBB\nCCC" the next chunk is "BBB".
* *
* Returns: next chunk * Returns: next chunk
*
* Since: 2.29
*/ */
char *scols_wrapnl_nextchunk(const struct libscols_column *cl __attribute__((unused)), char *scols_wrapnl_nextchunk(const struct libscols_column *cl __attribute__((unused)),
char *data, char *data,
@ -279,6 +281,8 @@ char *scols_wrapnl_nextchunk(const struct libscols_column *cl __attribute__((unu
* bytes to support multu-byte output. * bytes to support multu-byte output.
* *
* Returns: size of the largest chunk. * Returns: size of the largest chunk.
*
* Since: 2.29
*/ */
size_t scols_wrapnl_chunksize(const struct libscols_column *cl __attribute__((unused)), size_t scols_wrapnl_chunksize(const struct libscols_column *cl __attribute__((unused)),
const char *data, const char *data,
@ -337,6 +341,8 @@ int scols_column_set_cmpfunc(struct libscols_column *cl,
* after \n or after words, etc. * after \n or after words, etc.
* *
* Returns: 0, a negative value in case of an error. * Returns: 0, a negative value in case of an error.
*
* Since: 2.29
*/ */
int scols_column_set_wrapfunc(struct libscols_column *cl, int scols_column_set_wrapfunc(struct libscols_column *cl,
size_t (*wrap_chunksize)(const struct libscols_column *, 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. * you have to set "\n" as a safe char.
* *
* Returns: 0, a negative value in case of an error. * 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) 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 * @cl: a pointer to a struct libscols_column instance
* *
* Returns: safe chars * Returns: safe chars
*
* Since: 2.29
*/ */
const char *scols_column_get_safechars(const struct libscols_column *cl) const char *scols_column_get_safechars(const struct libscols_column *cl)
{ {

View File

@ -113,7 +113,6 @@ local:
*; *;
}; };
SMARTCOLS_2.27 { SMARTCOLS_2.27 {
global: global:
scols_column_is_hidden; scols_column_is_hidden;

View File

@ -689,6 +689,8 @@ err:
* Use scols_table_set_symbols() to unset symbols or use your own setting. * Use scols_table_set_symbols() to unset symbols or use your own setting.
* *
* Returns: 0, a negative value in case of an error. * Returns: 0, a negative value in case of an error.
*
* Since: 2.29
*/ */
int scols_table_set_default_symbols(struct libscols_table *tb) 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 * @tb: table
* *
* Returns: pointer to symbols table. * Returns: pointer to symbols table.
*
* Since: 2.29
*/ */
struct libscols_symbols *scols_table_get_symbols(const struct libscols_table *tb) 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). * detection (default).
* *
* Returns: 0, a negative value in case of an error. * Returns: 0, a negative value in case of an error.
*
* Since: 2.29
*/ */
int scols_table_set_termforce(struct libscols_table *tb, int force) 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 * @tb: table
* *
* Returns: SCOLS_TERMFORCE_{NEVER,ALWAYS,AUTO} or a negative value in case of an error. * 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) 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. * detections is unsuccessful. This function override this behaviour.
* *
* Returns: 0, a negative value in case of an error. * 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) int scols_table_set_termwidth(struct libscols_table *tb, size_t width)
{ {