Lines Matching refs:Table
67 typedef struct Table Table; typedef
70 Table *table_new_internal(const char *first_header, ...) _sentinel_;
72 Table *table_new_raw(size_t n_columns);
73 Table *table_unref(Table *t);
75 DEFINE_TRIVIAL_CLEANUP_FUNC(Table*, table_unref);
77 int table_add_cell_full(Table *t, TableCell **ret_cell, TableDataType type, const void *data, size_…
78 static inline int table_add_cell(Table *t, TableCell **ret_cell, TableDataType type, const void *da… in table_add_cell()
81 int table_add_cell_stringf(Table *t, TableCell **ret_cell, const char *format, ...) _printf_(3, 4);
83 int table_fill_empty(Table *t, size_t until_column);
85 int table_dup_cell(Table *t, TableCell *cell);
87 int table_set_minimum_width(Table *t, TableCell *cell, size_t minimum_width);
88 int table_set_maximum_width(Table *t, TableCell *cell, size_t maximum_width);
89 int table_set_weight(Table *t, TableCell *cell, unsigned weight);
90 int table_set_align_percent(Table *t, TableCell *cell, unsigned percent);
91 int table_set_ellipsize_percent(Table *t, TableCell *cell, unsigned percent);
92 int table_set_color(Table *t, TableCell *cell, const char *color);
93 int table_set_rgap_color(Table *t, TableCell *cell, const char *color);
94 int table_set_url(Table *t, TableCell *cell, const char *url);
95 int table_set_uppercase(Table *t, TableCell *cell, bool b);
97 int table_update(Table *t, TableCell *cell, TableDataType type, const void *data);
99 int table_add_many_internal(Table *t, TableDataType first_type, ...);
102 void table_set_header(Table *table, bool b);
103 void table_set_width(Table *t, size_t width);
104 void table_set_cell_height_max(Table *t, size_t height);
105 int table_set_empty_string(Table *t, const char *empty);
106 int table_set_display_internal(Table *t, size_t first_column, ...);
108 int table_set_sort_internal(Table *t, size_t first_column, ...);
110 int table_set_reverse(Table *t, size_t column, bool b);
111 int table_hide_column_from_display_internal(Table *t, ...);
114 int table_print(Table *t, FILE *f);
115 int table_format(Table *t, char **ret);
121 size_t table_get_rows(Table *t);
122 size_t table_get_columns(Table *t);
124 TableCell *table_get_cell(Table *t, size_t row, size_t column);
126 const void *table_get(Table *t, TableCell *cell);
127 const void *table_get_at(Table *t, size_t row, size_t column);
129 int table_to_json(Table *t, JsonVariant **ret);
130 int table_print_json(Table *t, FILE *f, JsonFormatFlags json_flags);
132 int table_print_with_pager(Table *t, JsonFormatFlags json_format_flags, PagerFlags pager_flags, boo…
134 int table_set_json_field_name(Table *t, size_t column, const char *name);