index.h
上传用户:qin5330
上传日期:2007-01-05
资源大小:114k
文件大小:2k
- /*
- ** 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.
- */
- /*
- ** use _AP() for easier cross-compiler (non-ANSI) porting
- ** <return value> <functionname> _AP( (<arg prototypes>) );
- */
- int getMeta _AP ((char *tag, int* docPropName));
- int parseMetaData _AP ((char *, int, int, struct file*));
- void printMetaNames _AP ((FILE *));
- struct sortentry *addsortentry _AP ((struct sortentry *, char*, char*));
- struct entry *addentry _AP ((struct entry *, char*, int, int, int, int));
- struct file *addtofilelist _AP ((struct file *filep, char *filename,
- char *title, int size,
- struct file ** newFileEntry));
- int getfilecount _AP ((struct file *));
- char *getthedate _AP ((void));
- int countwords _AP ((void *vp, char *filename, char *title, int indextitleonly));
- int countwordstr _AP ((char *s, int filenum, int emphasized));
- int getstructure _AP ((char *, int));
- int parsecomment _AP ((char *, int, int, int));
- int removestops _AP ((struct entry *, int, int, int));
- int getrank _AP ((int, int, int, int));
- void printheader _AP ((FILE *, char *, int, int, int));
- void printindex _AP ((struct entry *, FILE *));
- void printfilelist _AP ((struct file *, FILE *));
- void printstopwords _AP ((FILE *));
- void printfileoffsets _AP ((FILE *));
- void compress _AP ((int, FILE *));
- void decompress _AP ((FILE *));
- char *ruleparse _AP ((char *));
- int notEscaped _AP (( char *tag, int j));
- void stripIgnoreFirstChars _AP ((char *));
- void stripIgnoreLastChars _AP ((char *word));
- int isIgnoreFirstChar _AP ((char));
- int isIgnoreLastChar _AP ((char));
- void writeFileEntry _AP ((struct file *, FILE *));
- void readFileEntry _AP ((FILE *, char *, struct docPropertyEntry **));