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

infoview.cc File Reference

#include <stdlib.h>
#include <string.h>
#include "htdoc.h"
#include "htiobox.h"
#include "htpal.h"
#include "htstring.h"
#include "htsys.h"
#include "infoview.h"
#include "tools.h"

Go to the source code of this file.

Classes

class  info_history_entry
class  info_pos
class  info_xref

Defines

#define ILT_TEXT   1
#define ILT_LINK   2
#define ILT_LINK_SEL   3
#define NUM_NODE_TAGS   (sizeof (tags) / sizeof (tags[0]))

Functions

int compare_keys_info_pos_delinear (Object *data_a, Object *data_b)
int compare_keys_info_pos (Object *data_a, Object *data_b)
char * memndup (const char *s, int n)
bool parse_xref_body (ht_streamfile *f, ht_tree *t, char **n, UINT *o, UINT *line, bool note)
ht_treeparse_info_node (ht_streamfile *fl, char *infotext)


Define Documentation

#define ILT_LINK   2
 

Definition at line 281 of file infoview.cc.

Referenced by ht_info_lexer::gettoken(), and ht_info_lexer::gettoken_color().

#define ILT_LINK_SEL   3
 

Definition at line 282 of file infoview.cc.

Referenced by ht_info_lexer::gettoken(), and ht_info_lexer::gettoken_color().

#define ILT_TEXT   1
 

Definition at line 280 of file infoview.cc.

Referenced by ht_info_lexer::gettoken(), and ht_info_lexer::gettoken_color().

#define NUM_NODE_TAGS   (sizeof (tags) / sizeof (tags[0]))
 

Referenced by ht_info_viewer::find_node().


Function Documentation

int compare_keys_info_pos Object data_a,
Object data_b
 

Definition at line 55 of file infoview.cc.

References info_pos::line, and info_pos::ofs.

Referenced by parse_info_node().

int compare_keys_info_pos_delinear Object data_a,
Object data_b
 

Definition at line 43 of file infoview.cc.

References delinearize(), dword, info_pos::line, and info_pos::ofs.

Referenced by parse_info_node().

char* memndup const char *  s,
int  n
 

Definition at line 81 of file infoview.cc.

References malloc().

Referenced by ht_info_viewer::handlemsg(), and parse_xref_body().

ht_tree* parse_info_node ht_streamfile fl,
char *  infotext
 

Definition at line 167 of file infoview.cc.

References compare_keys_info_pos(), compare_keys_info_pos_delinear(), FILEOFS, ht_strnicmp(), ht_stree::init(), parse_xref_body(), ht_streamfile::seek(), ht_stree::set_compare_keys(), ht_streamfile::tell(), UINT, and ht_stream::write().

Referenced by ht_info_viewer::igotonode().

bool parse_xref_body ht_streamfile f,
ht_tree t,
char **  n,
UINT o,
UINT line,
bool  note
 

Definition at line 93 of file infoview.cc.

References ht_tree::insert(), info_xref::len, memndup(), NULL, UINT, whitespaces(), and ht_stream::write().

Referenced by parse_info_node().


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