Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

httext.cc File Reference

#include "htsearch.h"
#include "httext.h"
#include "stream.h"
#include <string.h>

Go to the source code of this file.

Defines

#define TEXT_SUB_READSIZE   256
#define TEXT_SUB_MAX_LINELEN   512
#define TEXT_SUB_MAX_LINEENDLEN   2
#define TEXT_SUB_TABSIZE   5

Functions

ht_viewhttext_init (bounds *b, ht_streamfile *file, ht_format_group *group)
void * memrchr (const void *string, int ch, size_t num)

Variables

format_viewer_if httext_if
byte ht_text_sub_line [TEXT_SUB_MAX_LINELEN]


Define Documentation

#define TEXT_SUB_MAX_LINEENDLEN   2
 

Definition at line 113 of file httext.cc.

Referenced by ht_text_sub::find_linelen_backwd(), and ht_text_sub::find_linelen_forwd().

#define TEXT_SUB_MAX_LINELEN   512
 

Definition at line 111 of file httext.cc.

Referenced by ht_text_sub::find_linelen_backwd(), and ht_text_sub::find_linelen_forwd().

#define TEXT_SUB_READSIZE   256
 

Definition at line 110 of file httext.cc.

Referenced by ht_text_sub::find_linelen_backwd(), and ht_text_sub::find_linelen_forwd().

#define TEXT_SUB_TABSIZE   5
 

Definition at line 115 of file httext.cc.


Function Documentation

ht_view* httext_init bounds *  b,
ht_streamfile file,
ht_format_group group
 

Definition at line 27 of file httext.cc.

References file, ht_text_sub::init(), ht_uformat_viewer::init(), ht_uformat_viewer::insertsub(), ht_uformat_viewer::search_caps, SEARCHMODE_BIN, SEARCHMODE_EVALSTR, and TEXT_DESC.

void* memrchr const void *  string,
int  ch,
size_t  num
 

Definition at line 101 of file httext.cc.

References NULL, and string.

Referenced by ht_text_sub::match_lineend_backwd().


Variable Documentation

byte ht_text_sub_line[TEXT_SUB_MAX_LINELEN]
 

Definition at line 117 of file httext.cc.

Referenced by ht_text_sub::getline(), ht_text_sub::last_line_id(), ht_text_sub::next_line_id(), and ht_text_sub::prev_line_id().

format_viewer_if httext_if
 

Initial value:

 {
        httext_init,
        0
}

Definition at line 40 of file httext.cc.


Generated on Fri May 7 21:15:50 2004 by doxygen 1.3.5