1N/A/*
1N/A parted - a frontend to libparted
1N/A Copyright (C) 2006-2007, 2009-2010 Free Software Foundation, Inc.
1N/A
1N/A This program is free software; you can redistribute it and/or modify
1N/A it under the terms of the GNU General Public License as published by
1N/A the Free Software Foundation; either version 3 of the License, or
1N/A (at your option) any later version.
1N/A
1N/A This program is distributed in the hope that it will be useful,
1N/A but WITHOUT ANY WARRANTY; without even the implied warranty of
1N/A MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1N/A GNU General Public License for more details.
1N/A
1N/A You should have received a copy of the GNU General Public License
1N/A along with this program. If not, see <http://www.gnu.org/licenses/>.
1N/A*/
1N/A
1N/A#include <wchar.h>
1N/A
1N/A#include <stdio.h>
1N/A#include <stdlib.h>
1N/A
1N/A#include <assert.h>
1N/A
1N/A#include "strlist.h"
1N/A
1N/A#ifdef ENABLE_NLS
1N/A# include <wchar.h>
1N/A#else
1N/A# ifdef wchar_t
1N/A# undef wchar_t
1N/A# endif
1N/A# define wchar_t char
1N/A#endif
1N/A
1N/A
1N/A/* opaque data type */
1N/Atypedef void Table;
1N/A
1N/ATable* table_new(int ncols);
1N/Avoid table_destroy (Table* t);
1N/A
1N/A/*
1N/A * you must not free neither 'row' nor 'list'
1N/A * -- this will be done by table_destroy()
1N/A */
1N/Avoid table_add_row (Table* t, wchar_t** row);
1N/Avoid table_add_row_from_strlist (Table* t, StrList* list);
1N/A
1N/Awchar_t* table_render(Table* t);