File:  [Public] / libwww / LineMode / src / HTBrowse.html
Revision 1.11: download - view: text, annotated - select for diffs
Sat Nov 2 20:10:43 1996 UTC (27 years, 7 months ago) by frystyk
Branches: MAIN
CVS tags: Release-5-1l, Release-5-1k, Release-5-1j, Release-5-1g, Release-5-1e, Release-5-1d, Release-5-1b, Release-5-1a, Release-5-1, HEAD
new version of MUX

<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/pub/WWW/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