source: trunk/gsdl/src/mgpp/text/build.h@ 879

Last change on this file since 879 was 856, checked in by sjboddie, 24 years ago

Rodgers new C++ mg

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 2.6 KB
Line 
1/**************************************************************************
2 *
3 * build.h -- Global information for the passes of mg_passes
4 * Copyright (C) 1994 Neil Sharman, Alistair Moffat and Lachlan Andrew
5 * Copyright (C) 1999 Rodger McNab
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 *
21 * $Id: build.h 856 2000-01-14 02:26:25Z sjboddie $
22 *
23 **************************************************************************/
24
25
26#ifndef H_BUILD
27#define H_BUILD
28
29#include "longlong.h"
30
31#include "TextEl.h"
32#include "TagInfo.h"
33
34
35int init_special (const TagInfo &tagInfo, char *file_name);
36int init_text_1 (const TagInfo &tagInfo, char *file_name);
37int init_text_2 (const TagInfo &tagInfo, char *file_name);
38int init_ivf_1 (const TagInfo &tagInfo, char *file_name);
39int init_ivf_2 (const TagInfo &tagInfo, char *file_name);
40/*
41 * file_name IN The name of the dictionary file
42 *
43 * returns COMPALLOK for all ok,
44 * COMPERROR for any error. e.g. cannot read file
45 */
46
47
48
49
50
51int process_special (const TagInfo &tagInfo, const TextElArray &doc);
52int process_text_1 (const TagInfo &tagInfo, const TextElArray &doc);
53int process_text_2 (const TagInfo &tagInfo, const TextElArray &doc);
54int process_ivf_1 (const TagInfo &tagInfo, const TextElArray &doc);
55int process_ivf_2 (const TagInfo &tagInfo, const TextElArray &doc);
56/*
57 * returns COMPALLOK for all ok,
58 * COMPERROR for any error. e.g. cannot read file
59 *
60 * The calling routine is responsible for ensuring that s_out is long
61 * enough.
62 */
63
64
65
66
67
68int done_special (const TagInfo &tagInfo, char *filename);
69int done_text_1 (const TagInfo &tagInfo, char *filename);
70int done_text_2 (const TagInfo &tagInfo, char *filename);
71int done_ivf_1 (const TagInfo &tagInfo, char *filename);
72int done_ivf_2 (const TagInfo &tagInfo, char *filename);
73/*
74 * returns COMPALLOK for all ok,
75 * COMPERROR for any error. e.g. cannot write file
76 */
77
78
79
80
81extern unsigned long invf_buffer_size;
82/*
83 * The amount of memory to allocate to the invertion buffer.
84 */
85
86
87
88#endif
Note: See TracBrowser for help on using the repository browser.