home *** CD-ROM | disk | FTP | other *** search
/ Internet Publisher's Toolbox 2.0 / Internet Publisher's Toolbox.iso / internet / ntserver / wtsource / ircfiles.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-11-14  |  9.8 KB  |  286 lines

  1. /* Wide AREA INFORMATION SERVER SOFTWARE:
  2.    No guarantees or restrictions.  See the readme file for the full standard
  3.    disclaimer.
  4.  
  5.    Brewster@think.com
  6.  *
  7.  * $Log:    ircfiles.h,v $
  8.  * Revision 1.3  93/07/21  18:43:42  warnock
  9.  * added functions for indexing listserv archives and STELAR-specific stuff
  10.  * 
  11.  * Revision 1.2  93/07/19  16:31:58  warnock
  12.  * Added document type URL from Nathan.Torkington@vuw.ac.nz
  13.  * 
  14.  * Revision 1.1  1993/02/16  15:05:35  freewais
  15.  * Initial revision
  16.  *
  17.  * Revision 1.13  92/05/06  17:30:09  jonathan
  18.  * Added prototype for filename_finish_header_function.
  19.  * 
  20.  * Revision 1.12  92/04/25  21:13:47  brewster
  21.  * added ziff
  22.  * 
  23.  * Revision 1.11  92/03/22  18:38:42  brewster
  24.  * added objective C filter
  25.  * 
  26.  * Revision 1.10  92/02/20  09:50:01  jonathan
  27.  * Added bibtex and nhyp filters from S.P.vandeBurgt@research.ptt.nl.
  28.  * 
  29.  */
  30.  
  31. /* Copyright (c) CNIDR (see ../COPYRIGHT) */
  32.  
  33.  
  34. /* customizations for indexing specialize files */
  35.  
  36. #ifndef IRCFILES_H
  37. #define IRCFILES_H
  38.  
  39. #include "cdialect.h"
  40.  
  41. #ifdef __cplusplus
  42. /* declare these as C style functions */
  43. extern "C"
  44.     {
  45. #endif /* def __cplusplus */
  46. #ifdef BIBDB
  47. /* formfeed seperated files */
  48. boolean formfeed_separator_function _AP((char *line));
  49. void formfeed_header_function _AP((char *line));
  50. void formfeed_finish_header_function _AP((char *header));
  51.  
  52. /* formfeed seperated files e.g. steve files */
  53. boolean bibdb_separator_function _AP((char *line));
  54. void bibdb_header_function _AP((char *line));
  55. void bibdb_finish_header_function _AP((char *header));
  56. long bibdb_date_function _AP((char *line));
  57.  
  58. /* irlist digest */
  59. boolean irlist_separator_function _AP((char *line));
  60. void irlist_header_function _AP((char *line));
  61. long irlist_date_function _AP((char *line));
  62.  
  63. /* formfeed seperated files e.g. bibinf */
  64. boolean bibinf_separator_function _AP((char *line));
  65. void bibinf_header_function _AP((char *line));
  66. void bibinf_finish_header_function _AP((char *header));
  67. long bibinf_date_function _AP((char *line));
  68. #endif
  69.  
  70. #ifdef HTML                                          
  71. /* David J. Bianco <bianco@cs.odu.edu> */            
  72. void html_header_function _AP((char *line));         
  73. void html_finish_header_function _AP((char *header));
  74. #endif /* HTML */                                    
  75.  
  76. #ifdef STELAR
  77. /* stelar  -- aw3 */
  78. boolean stelar_separator_function _AP((char *line));
  79. void stelar_header_function _AP((char *line));
  80. void stelar_finish_header_function _AP((char *header));
  81. #endif /* STELAR */
  82.  
  83. #ifdef AAS
  84. /* AAS Meeting (LaTeX) abstracts files */
  85. boolean aasab_separator_function _AP((char *line));
  86. void aasab_header_function _AP((char *line));
  87. void aasab_finish_header_function _AP((char *header));
  88. #endif /* AAS */
  89.  
  90. #ifdef BIO
  91. /* genbank flat files -- dgg*/
  92. boolean genbank_separator_function _AP((char *line));
  93. void genbank_header_function _AP((char *line));
  94. void genbank_finish_header_function _AP((char *header));
  95. long genbank_date_function _AP((char *line));
  96.  
  97. /* embl flat files -- dgg*/
  98. boolean embl_separator_function _AP((char *line));
  99. void embl_header_function _AP((char *line));
  100. void embl_finish_header_function _AP((char *header));
  101. long embl_date_function _AP((char *line));
  102.  
  103. /* pir flat files -- dgg*/
  104. boolean pir_separator_function _AP((char *line));
  105. void pir_header_function _AP((char *line));
  106. void pir_finish_header_function _AP((char *header));
  107. long pir_date_function _AP((char *line));
  108.  
  109. /* prosite protein doc & dat files - dgg */
  110. boolean prositedoc_separator_function _AP((char *line));
  111. void prositedoc_header_function _AP((char *line));
  112. void prositedoc_finish_header_function _AP((char *header));
  113.  
  114. boolean prositedat_separator_function _AP((char *line));
  115. void prositedat_header_function _AP((char *line));
  116. void prositedat_finish_header_function _AP((char *header));
  117.  
  118. /* Bionet.journals table of contents format */
  119. boolean biojournal_separator_function _AP((char *line));
  120. void biojournal_header_function _AP((char *line));
  121. void biojournal_finish_header_function _AP((char *header));
  122.  
  123. /* drosophila redbook -dgg */
  124. boolean redbook_separator_function _AP((char *line));
  125. void redbook_header_function _AP((char *line));
  126. void redbook_finish_header_function _AP((char *header));
  127.  
  128. /* drosophila flybase -dgg */
  129. boolean flybase_separator_function _AP((char *line));
  130. void flybase_header_function _AP((char *line));
  131. void flybase_finish_header_function _AP((char *header));
  132.  
  133. boolean din_separator_function _AP((char *line));
  134. void din_finish_header_function _AP((char *header));
  135. void din_header_function _AP((char *line));
  136.  
  137. #endif /* BIO */
  138.  
  139. /* groliers encyclopedia */
  140. boolean groliers_separator_function _AP((char *line));
  141. void groliers_header_function _AP((char *line));
  142. void groliers_finish_header_function _AP((char *header));
  143.  
  144. /* unix mail and rmail files */
  145. boolean mail_separator_function _AP((char *line));
  146. boolean rmail_separator_function _AP((char *line));
  147. void mail_header_function _AP((char *line));
  148. void mail_finish_header_function _AP((char *header));
  149. boolean mail_or_rmail_separator _AP((char *line));
  150. long mail_date_function _AP((char *line));
  151.  
  152. /* mail digest files  */
  153. boolean mail_digest_separator_function _AP((char *line));
  154. boolean mh_bboard_separator_function _AP((char *line));
  155.  
  156. #ifdef WIN32
  157. /* MS knowledge base files */
  158. void mskbase_header_function _AP((char *line));
  159. void mskbase_finish_header_function _AP((char *header));
  160. long mskbase_date_function _AP((char *line));
  161. #endif
  162.  
  163. /* listserv digest files */
  164. boolean listserv_digest_separator_function _AP((char *line));
  165. void listserv_header_function _AP((char *line));
  166. long listserv_date_function _AP((char *line));
  167. void listserv_finish_header_function _AP((char *header));
  168.  
  169. /* library catalog files */
  170. boolean catalog_separator_function _AP((char *line));
  171. void catalog_header_function _AP((char *line));
  172. void catalog_finish_header_function _AP((char *header));
  173.  
  174. /* biology abstracts files */
  175. boolean bio_separator_function _AP((char *line));
  176. void bio_header_function _AP((char *line));
  177. void bio_finish_header_function _AP((char *header));
  178.  
  179. /* cm application files */
  180. boolean cmapp_separator_function _AP((char *line));
  181. void cmapp_header_function _AP((char *line));
  182. void cmapp_finish_header_function _AP((char *header));
  183.  
  184. /* jargon files */
  185. boolean jargon_separator_function _AP((char *line));
  186. void jargon_header_function _AP((char *line));
  187. void jargon_finish_header_function _AP((char *header));
  188.  
  189. /* internet resource guide */
  190. boolean irg_separator_function _AP((char *line));
  191. void irg_header_function _AP((char *line));
  192. void irg_finish_header_function _AP((char *header));
  193.  
  194. /* dash seperated files */
  195. boolean dash_separator_function _AP((char *line));
  196. void dash_header_function _AP((char *line));
  197. void dash_finish_header_function _AP((char *header));
  198.  
  199. /* one_line seperated files */
  200. boolean one_line_separator_function _AP((char *line));
  201. void one_line_header_function _AP((char *line));
  202. void one_line_finish_header_function _AP((char *header));
  203.  
  204. /* blank line seperated files (para) */
  205. boolean para_separator_function _AP((char *line));
  206. void para_header_function _AP((char *line));
  207. void para_finish_header_function _AP((char *header));
  208.  
  209. /* files from the Seeker system (dash separated, headline: marker) */
  210. boolean seeker_separator_function _AP((char *line));
  211. void seeker_header_function _AP((char *line));
  212. void seeker_finish_header_function _AP((char *header));
  213.  
  214. /* files from the Rlin system (dash separated, headline: marker) */
  215. boolean rlin_separator_function _AP((char *line));
  216. void rlin_header_function _AP((char *line));
  217. void rlin_finish_header_function _AP((char *header));
  218.  
  219. /* files saved by the RN newsreader */
  220. boolean rn_separator_function _AP((char *line));
  221.  
  222. /* The GNU Emacs Texinfo documentation system */
  223. boolean emacs_info_separator_function _AP((char *line));
  224. void emacs_info_header_function _AP((char *line));
  225. void emacs_info_finish_header_function _AP((char *headline));
  226.  
  227. /* files in medline format */
  228. boolean medline_separator_function _AP((char *line));
  229. void medline_header_function _AP((char *line));
  230. void medline_finish_header_function _AP((char *header));
  231.  
  232. /* files in html format */
  233. boolean html_separator_function _AP((char *line));
  234. void html_header_function _AP((char *line));
  235. void html_finish_header_function _AP((char *header));
  236.  
  237. /* files in refer format */
  238. boolean refer_separator_function _AP((char *line));
  239. void refer_header_function _AP((char *line));
  240. void refer_finish_header_function _AP((char *header));
  241.  
  242. /* first line of the file is the headline */
  243. boolean first_line_separator_function _AP((char *line));
  244. void first_line_header_function _AP((char *line));
  245. void first_line_finish_header_function _AP((char *header));
  246.  
  247. /* BibTeX files */
  248. boolean bibtex_separator_function _AP((char *line));
  249. void bibtex_header_function _AP((char *line));
  250. void bibtex_finish_header_function _AP((char *header));
  251.  
  252. /* hypertext files */
  253. boolean nhyp_separator_function _AP((char *line));
  254. void nhyp_header_function _AP((char *line));
  255. void nhyp_finish_header_function _AP((char *header));
  256.  
  257. /* objective-C code */
  258. boolean wobjc_separator_function _AP((char *line));
  259. void wobjc_header_function _AP((char *line));
  260. void wobjc_finish_header_function _AP((char *header));
  261.  
  262.  
  263. /* Ziff files */
  264. boolean ziff_separator_function _AP((char *line));
  265. void ziff_header_function _AP((char *line));
  266. void ziff_finish_header_function _AP((char *header));
  267.  
  268. /* INRIA documentation files */
  269. void inriadoc_header_function _AP((char *line));
  270. void inriadoc_finish_header_function _AP((char *header));
  271.  
  272. void filename_finish_header_function _AP((char *header));
  273.  
  274.  
  275. char *cleanHeadline _AP((char *header));
  276. extern char *URL_prefix;
  277. extern char *URL_trim;
  278.  
  279.  
  280.  
  281. #ifdef __cplusplus
  282.     }
  283. #endif /* def __cplusplus */
  284.  
  285. #endif /* ndef IRCFILES_H */
  286.