Ignore:
Timestamp:
2012-02-28T13:59:00+13:00 (12 years ago)
Author:
kjdon
Message:

merged 64_bit_Greenstone branch into trunk, rev 25139

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/common-src/indexers/mg/src/text/text.h

    r16583 r25147  
    117117typedef struct compression_dict_header
    118118  {
    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;
    125125  }
    126126compression_dict_header;
     
    130130  {
    131131    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];
    134134  }
    135135comp_frags_header;
     
    139139typedef struct compressed_text_header
    140140  {
    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 */
    143143    double num_of_bytes; /* [RJM 07/97: 4G limit] */
    144144    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 */
    147147  }
    148148compressed_text_header;
     
    151151typedef struct compression_stats_header
    152152  {
    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 */
    155155    double num_bytes; /* [RJM 07/97: 4G limit] */
    156156  }
     
    160160typedef struct frags_stats_header
    161161  {
    162     u_long num_frags;
    163     u_long mem_for_frags;
     162    mg_u_long num_frags;
     163    mg_u_long mem_for_frags;
    164164  }
    165165frags_stats_header;
     
    168168typedef struct aux_frags_header
    169169  {
    170     u_long num_frags;
    171     u_long mem_for_frags;
     170    mg_u_long num_frags;
     171    mg_u_long mem_for_frags;
    172172  }
    173173aux_frags_header;
Note: See TracChangeset for help on using the changeset viewer.