- Timestamp:
- 2012-02-28T13:59:00+13:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/common-src/indexers/mg/src/text/text.h
r16583 r25147 117 117 typedef struct compression_dict_header 118 118 { 119 u_long dict_type;120 u_long novel_method;121 u_long params[TEXT_PARAMS];122 u_long num_words[2];123 u_long num_word_chars[2];124 u_long lookback;119 mg_u_long dict_type; 120 mg_u_long novel_method; 121 mg_u_long params[TEXT_PARAMS]; 122 mg_u_long num_words[2]; 123 mg_u_long num_word_chars[2]; 124 mg_u_long lookback; 125 125 } 126 126 compression_dict_header; … … 130 130 { 131 131 huff_data hd; 132 u_long uncompressed_size;133 u_long huff_words_size[MAX_HUFFCODE_LEN + 1];132 mg_u_long uncompressed_size; 133 mg_u_long huff_words_size[MAX_HUFFCODE_LEN + 1]; 134 134 } 135 135 comp_frags_header; … … 139 139 typedef struct compressed_text_header 140 140 { 141 u_long num_of_docs;142 u_long num_of_words; /* number of words in collection */141 mg_u_long num_of_docs; 142 mg_u_long num_of_words; /* number of words in collection */ 143 143 double num_of_bytes; /* [RJM 07/97: 4G limit] */ 144 144 double ratio; 145 u_long length_of_longest_doc; /* (characters) */146 u_long dummy; /* added to make the structure the same on different architectures */145 mg_u_long length_of_longest_doc; /* (characters) */ 146 mg_u_long dummy; /* added to make the structure the same on different architectures */ 147 147 } 148 148 compressed_text_header; … … 151 151 typedef struct compression_stats_header 152 152 { 153 u_long num_docs;154 u_long dummy; /* added to make the structure the same on different architectures */153 mg_u_long num_docs; 154 mg_u_long dummy; /* added to make the structure the same on different architectures */ 155 155 double num_bytes; /* [RJM 07/97: 4G limit] */ 156 156 } … … 160 160 typedef struct frags_stats_header 161 161 { 162 u_long num_frags;163 u_long mem_for_frags;162 mg_u_long num_frags; 163 mg_u_long mem_for_frags; 164 164 } 165 165 frags_stats_header; … … 168 168 typedef struct aux_frags_header 169 169 { 170 u_long num_frags;171 u_long mem_for_frags;170 mg_u_long num_frags; 171 mg_u_long mem_for_frags; 172 172 } 173 173 aux_frags_header;
Note:
See TracChangeset
for help on using the changeset viewer.