00001 /* 00002 * This library is free software; you can redistribute it and/or 00003 * modify it under the terms of the GNU Lesser General Public 00004 * License as published by the Free Software Foundation; either 00005 * version 2 of the License, or (at your option) any later version. 00006 * 00007 * This library is distributed in the hope that it will be useful, 00008 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00009 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00010 * Lesser General Public License for more details. 00011 * 00012 * You should have received a copy of the GNU General Public License 00013 * along with this program; if not, write to the Free Software 00014 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00015 * 00016 * Copyright (C) 2005 Liam Girdwood, Radu Corlan 00017 */ 00018 00019 #ifndef __LNC_README_H 00020 #define __LNC_README_H 00021 00022 #include <libncat/list.h> 00023 00024 typedef struct { 00025 /* catalog description info from ReadMe */ 00026 char* designation; 00027 char* titles; 00028 lnc_dlist* keywords; 00029 char* description; 00031 lnc_dlist* files; 00034 /* under files */ 00035 lnc_dlist* notes; 00039 lnc_dlist* byte_desc; 00040 } lnc_readme_info; 00041 00042 lnc_readme_info * parse_readme(char* file); 00043 void free_readme(lnc_readme_info* info); 00044 00045 #endif