Annotation of libwww/Library/src/WWWNews.html, revision 2.7

2.1       frystyk     1: <HTML>
                      2: <HEAD>
2.6       frystyk     3:   <TITLE>W3C Sample Code Library libwww News/NNTP Client</TITLE>
2.1       frystyk     4: </HEAD>
                      5: <BODY>
2.5       frystyk     6: <H1>
2.6       frystyk     7:   Declaration of W3C Sample Code News/NNTP Client
2.5       frystyk     8: </H1>
2.1       frystyk     9: <PRE>
                     10: /*
                     11: **     (c) COPYRIGHT MIT 1995.
                     12: **     Please first read the full copyright statement in the file COPYRIGH.
                     13: */
                     14: </PRE>
2.5       frystyk    15: <P>
                     16: This application interface defines a News client which &nbsp;can be used
                     17: together with the <A HREF="WWWCore.html">Library core</A>.The module itself
                     18: is <I>not</I> part of the <A HREF="WWWCore.html">Library core</A>. It may
                     19: be registered by the application if wanted. The application may also use
                     20: the <A HREF="HTProfil.html">application profiles</A> to initialize this module.
2.1       frystyk    21: <PRE>
                     22: #ifndef WWWNEWS_H
                     23: #define WWWNEWS_H
                     24: </PRE>
                     25: <PRE>
                     26: #ifdef __cplusplus
                     27: extern "C" { 
                     28: #endif
                     29: </PRE>
2.5       frystyk    30: <H3>
                     31:   System dependencies
                     32: </H3>
                     33: <P>
2.7     ! frystyk    34: The <A HREF="wwwsys.html">wwwsys.h</A> file includes system-specific include
2.5       frystyk    35: files and flags for I/O to network and disk. The only reason for this file
                     36: is that the Internet world is more complicated than Posix and ANSI.
2.1       frystyk    37: <PRE>
2.7     ! frystyk    38: #include "<A HREF="wwwsys.html">wwwsys.h</A>"
2.4       frystyk    39: </PRE>
2.5       frystyk    40: <H3>
                     41:   NNTP Protocol State machine
                     42: </H3>
                     43: <P>
                     44: The state machine handles requests and responses to an NNTP server according
                     45: to the NNTP specifications.
                     46: <PRE>#include "<A HREF="HTNews.html">HTNews.h</A>"
                     47: </PRE>
                     48: <H3>
                     49:   News Request Stream
                     50: </H3>
                     51: <P>
                     52: The request stream generates a request which may or may not include a message
                     53: body to be posted to the server
                     54: <PRE>#include "<A HREF="HTNewsRq.html">HTNewsRq.h</A>"
                     55: </PRE>
                     56: <H3>
                     57:   News Response Stream for Messages and group Listings
                     58: </H3>
                     59: <P>
                     60: The News response streams parses the output from an NNTP server. The two
                     61: formats understood are News groups and News articles.
                     62: <PRE>#include "<A HREF="HTNewsLs.html">HTNewsLs.h</A>"
                     63: </PRE>
                     64: <H3>
                     65:   Presentation of News Listings in HTML
                     66: </H3>
                     67: <P>
                     68: When the output has been received then we convert it to HTML by parsing it
                     69: through the following stream.
                     70: <PRE>#include "<A HREF="HTNDir.html">HTNDir.h</A>"
2.1       frystyk    71: </PRE>
2.5       frystyk    72: <P>
2.1       frystyk    73: End of News module
                     74: <PRE>
                     75: #ifdef __cplusplus
                     76: } /* end extern C definitions */
                     77: #endif
                     78: 
                     79: #endif
                     80: </PRE>
2.5       frystyk    81: <P>
                     82:   <HR>
2.3       frystyk    83: <ADDRESS>
2.7     ! frystyk    84:   @(#) $Id: WWWNews.html,v 2.6 1997/02/16 18:43:28 frystyk Exp $
2.3       frystyk    85: </ADDRESS>
2.5       frystyk    86: </BODY></HTML>

Webmaster