// Copyright (c) 2003,2004,2005 Juraj Kolesár /* ABOUT {{{ Set of various functions for lists containig T_CELL's /* }}} */ /* int lt_cell_get_width(*T_CELLIST, int pos) {{{ *****************************/ int t_cellist_width_sum(T_CELLIST *list, int pos); /* Sums all width parameters from begining of the 'list' to position 'pos' /* }}} */ /* int t_cols_width_sum(*T_COLS) {{{ ******************************************/ int t_cols_width_sum(T_COLS *cols); /* Sums all width parameters /* }}} */ /* int t_cols_get_values(*T_COLS, int column, int *start, int *width, char *value) {{{ */ int t_cols_get_values(T_COLS *cols, int column, int *start, int *width, char *value); /* Fills parameters with actual values start - sum of all widths from first column width - actual width of column value - (char) value of column RETURN (0) if everything is OK (number) of columns that was mising in list -sets values of last described column /* }}} */ /* int t_cols_set_value(*T_COLS, int column, int width, char *value) {{{ ******/ int t_cols_set_value(T_COLS *cols, int column, int width, char *value); /* Changes the values of the structure RETURN __LT_OK on succes __LT_ERR failed /* }}} */ /* int t_cols_next(*T_COLS, int *column) {{{ **********************************/ int t_cols_next(T_COLS *cols, int *column); /* /* }}} */