libsmartcols: (docs) add missing version notes
Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
618a1d6dbe
commit
3f47320a17
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -113,7 +113,6 @@ local:
|
|||
*;
|
||||
};
|
||||
|
||||
|
||||
SMARTCOLS_2.27 {
|
||||
global:
|
||||
scols_column_is_hidden;
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue