* 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,
* 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,
* 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 *,
* 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)
{
* @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)
{
* 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)
{
* @tb: table
*
* Returns: pointer to symbols table.
+ *
+ * Since: 2.29
*/
struct libscols_symbols *scols_table_get_symbols(const struct libscols_table *tb)
{
* 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)
{
* @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)
{
* 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)
{