]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libsmartcols: add new functions to API docs
authorKarel Zak <kzak@redhat.com>
Mon, 23 Oct 2023 11:37:51 +0000 (13:37 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 23 Oct 2023 19:54:01 +0000 (21:54 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
libsmartcols/docs/libsmartcols-sections.txt
libsmartcols/src/cell.c
libsmartcols/src/column.c

index fd6f2ba92a605d4e00d67822ce8bff8425f902a7..78b2e65c790144003ffb89c8474263a8507f3589 100644 (file)
@@ -5,9 +5,11 @@ scols_cell_copy_content
 scols_cell_get_alignment
 scols_cell_get_color
 scols_cell_get_data
+scols_cell_get_datasiz
 scols_cell_get_flags
 scols_cell_get_userdata
 scols_cell_refer_data
+scols_cell_refer_memory
 scols_cell_set_color
 scols_cell_set_data
 scols_cell_set_flags
@@ -29,6 +31,7 @@ scols_column_get_safechars
 scols_column_get_table
 scols_column_get_whint
 scols_column_get_width
+scols_column_get_wrap_data
 scols_column_is_customwrap
 scols_column_is_hidden
 scols_column_is_noextremes
@@ -52,6 +55,7 @@ scols_ref_column
 scols_unref_column
 scols_wrapnl_chunksize
 scols_wrapnl_nextchunk
+scols_wrapzero_nextchunk
 </SECTION>
 
 <SECTION>
@@ -146,6 +150,7 @@ scols_table_enable_shellvar
 scols_table_get_column
 scols_table_get_column_by_name
 scols_table_get_column_separator
+scols_table_get_cursor
 scols_table_get_line
 scols_table_get_line_separator
 scols_table_get_name
index f2bac54350e9119ccb29d327cbc0ca97ecbe490b..f6ceff21d77f2936aeb5a5527b87f2b02791f2c5 100644 (file)
@@ -108,6 +108,8 @@ int scols_cell_refer_data(struct libscols_cell *ce, char *data)
  * with string!
  *
  * Returns: 0, a negative value in case of an error.
+ *
+ * Since: 2.40
  */
 int scols_cell_refer_memory(struct libscols_cell *ce, char *data, size_t datasiz)
 {
@@ -124,6 +126,8 @@ int scols_cell_refer_memory(struct libscols_cell *ce, char *data, size_t datasiz
  * @ce: a pointer to a struct libscols_cell instance
  *
  * Returns: the current set data size.
+ *
+ * Since: 2.40
  */
 size_t scols_cell_get_datasiz(struct libscols_cell *ce)
 {
index cff7d14e742c62ff54b0965912dd5098b3eaeb53..8a29dac5c87c4593e1216c39ff01443e25a768bd 100644 (file)
@@ -539,6 +539,8 @@ int scols_column_set_wrapfunc(struct libscols_column *cl,
  * This function returns the current status of wrapping cell data (for multi-line cells).
  *
  * Returns: 0, a negative value in case of an error.
+ *
+ * Since: 2.40
  */
 int scols_column_get_wrap_data(const struct libscols_column *cl,
                char **data, size_t *datasiz, char **cur, char **next)