File:  [Public] / libwww / LineMode / src / HTBrowse.html
Revision 1.12: download - view: text, annotated - select for diffs
Thu May 14 02:11:34 1998 UTC (26 years, 1 month ago) by frystyk
Branches: MAIN
CVS tags: repeat-requests, candidate-5-4-1, before_webdav, Release-5-4-0, Release-5-3-1, Release-5-2-8, Release-5-2-6, Release-5-2, Release-5-1m, HEAD, Before-New-Trace-Messages
Changing old pub/WWW links

<HTML>
<HEAD>
<TITLE>Main Module for Line Mode Browser</TITLE>
</HEAD>
<BODY>

<H1>Main Module for Line Mode Browser</H1>

<PRE>
/*
**	(c) COPYRIGHT MIT 1995.
**	Please first read the full copyright statement in the file COPYRIGH.
*/
</PRE>

This module defines the global variables etc. for the Line Mode
Browser. The module is implemented by <A
HREF="HTBrowse.c">HTBrowse.c</A>, and it is a part of the <A
HREF="http://www.w3.org/LineMode/">Line Mode
Browser</A>. <P>

<PRE>
#ifndef HTBROWSE_H
#define HTBROWSE_H

extern int	HTScreenWidth;
extern int	HTScreenHeight;

/* Anchor specific information */
extern BOOL	display_anchors;		    /* Show anchors in text? */
extern char *	start_reference;		  /* Format for start anchor */
extern char *	end_reference;				   /* for end anchor */
extern char *	reference_mark;			      /* for reference lists */
extern char *	end_mark;		   	  /* Format string for [End] */

typedef struct _LineMode LineMode;
typedef struct _HTView HTView;

extern int OutputData(HTView * pView, const char  * fmt, ...);
#endif /* HTBROWSE_H */

/* for access to windows app's windows procedures */
typedef int InputParser_t (char* buf, SOCKET s, HTRequest * req, HTEventType type);
extern InputParser_t * PInputParser;
PUBLIC int bufferInput (char* buf, int len, SOCKET s, HTRequest * req, HTEventType type);
extern LineMode * Context_getLineMode(HTRequest * request);
extern HTRequest * LineMode_getConsole(LineMode * pLm);
extern HTView * LineMode_getView(LineMode * pLm);
extern HTView * HTView_create(char* name, int rows, int cols, LineMode * pLm);
extern BOOL HTView_destroy(HTView * pView);
</PRE>

End of HTBrowse Declaration
</BODY>
</HTML>

Webmaster