| libsmartcols Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
struct libscols_symbols; struct libscols_symbols * scols_copy_symbols (const struct libscols_symbols *sb); struct libscols_symbols * scols_new_symbols (void); void scols_ref_symbols (struct libscols_symbols *sy); int scols_symbols_set_branch (struct libscols_symbols *sb,const char *str); int scols_symbols_set_right (struct libscols_symbols *sb,const char *str); int scols_symbols_set_vertical (struct libscols_symbols *sb,const char *str); void scols_unref_symbols (struct libscols_symbols *sy);
struct libscols_symbols * scols_copy_symbols (const struct libscols_symbols *sb);
|
a pointer to a struct libscols_symbols instance |
Returns : |
a newly allocated copy of the sb symbol group or NULL in caes of an error. |
struct libscols_symbols * scols_new_symbols (void);
Returns : |
a pointer to a newly allocated struct libscols_symbols instance. |
void scols_ref_symbols (struct libscols_symbols *sy);
Increases the refcount of sy.
|
a pointer to a struct libscols_symbols instance |
int scols_symbols_set_branch (struct libscols_symbols *sb,const char *str);
|
a pointer to a struct libscols_symbols instance |
|
a string which will represent the branch part of a tree output |
Returns : |
0, a negative value in case of an error. |
int scols_symbols_set_right (struct libscols_symbols *sb,const char *str);
|
a pointer to a struct libscols_symbols instance |
|
a string which will represent the right part of a tree output |
Returns : |
0, a negative value in case of an error. |
int scols_symbols_set_vertical (struct libscols_symbols *sb,const char *str);
|
a pointer to a struct libscols_symbols instance |
|
a string which will represent the vertical part of a tree output |
Returns : |
0, a negative value in case of an error. |