/* ** Copyright (C) 1995, 1996, 1997, 1998 Hewlett-Packard Company ** Originally by Kevin Hughes, kev@kevcom.com, 3/11/94 ** ** This program and library is free software; you can redistribute it and/or ** modify it under the terms of the GNU (Library) General Public License ** as published by the Free Software Foundation; either version 2 ** of the License, or any later version. ** ** This program is distributed in the hope that it will be useful, ** but WITHOUT ANY WARRANTY; without even the implied warranty of ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ** GNU (Library) General Public License for more details. ** ** You should have received a copy of the GNU (Library) General Public License ** along with this program; if not, write to the Free Software ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifdef __cplusplus extern "C" { #endif struct swline *addswline (struct swline *rp, char *line); struct swline *dupswline (struct swline *rp); IndexFILE *addindexfile (IndexFILE *rp, char *line); void freeswline (struct swline *ptr); void freeindexfile (IndexFILE *ptr); void init_header (INDEXDATAHEADER *header); void free_header (INDEXDATAHEADER *header); void splitswline (struct swline *rp, int c); #ifdef __cplusplus } #endif /* __cplusplus */