Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Typedefs | Enumerations
nsNNTPProtocol.h File Reference
#include "nsMsgProtocol.h"
#include "nsCOMPtr.h"
#include "nsIInputStream.h"
#include "nsIOutputStream.h"
#include "nsINntpUrl.h"
#include "nsINntpIncomingServer.h"
#include "nsINNTPProtocol.h"
#include "nsINNTPNewsgroupList.h"
#include "nsINNTPArticleList.h"
#include "nsIMsgNewsFolder.h"
#include "nsIMsgWindow.h"
#include "nsMsgLineBuffer.h"
#include "nsSpecialSystemDirectory.h"
#include "nsXPIDLString.h"
#include "nsIStringBundle.h"
#include "nsITimer.h"
#include "nsICacheListener.h"
#include "prio.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  nsNNTPProtocol

Defines

#define NNTP_PAUSE_FOR_READ   0x00000001 /* should we pause for the next read */
#define NNTP_PROXY_AUTH_REQUIRED   0x00000002 /* is auth required */
#define NNTP_SENT_PROXY_AUTH   0x00000004 /* have we sent a proxy auth? */
#define NNTP_NEWSRC_PERFORMED   0x00000008 /* have we done a newsrc update? */
#define NNTP_READER_PERFORMED   0x00000010 /* have we sent any cmds to the server yet? */
#define NNTP_USE_FANCY_NEWSGROUP   0x00000020 /* use LIST XACTIVE or LIST */
#define NNTP_DESTROY_PROGRESS_GRAPH   0x00000040 /* do we need to destroy graph progress */
#define NNTP_SOME_PROTOCOL_SUCCEEDED   0x0000080 /* some protocol has suceeded so don't kill the connection */
#define NNTP_NO_XOVER_SUPPORT   0x00000100 /* xover command is not supported here */

Typedefs

typedef enum _StatesEnum StatesEnum

Enumerations

enum  _StatesEnum {
  NNTP_RESPONSE, NNTP_CONNECT, NNTP_CONNECT_WAIT, NNTP_LOGIN_RESPONSE,
  NNTP_SEND_MODE_READER, NNTP_SEND_MODE_READER_RESPONSE, SEND_LIST_EXTENSIONS, SEND_LIST_EXTENSIONS_RESPONSE,
  SEND_LIST_SEARCHES, SEND_LIST_SEARCHES_RESPONSE, NNTP_LIST_SEARCH_HEADERS, NNTP_LIST_SEARCH_HEADERS_RESPONSE,
  NNTP_GET_PROPERTIES, NNTP_GET_PROPERTIES_RESPONSE, SEND_LIST_SUBSCRIPTIONS, SEND_LIST_SUBSCRIPTIONS_RESPONSE,
  SEND_FIRST_NNTP_COMMAND, SEND_FIRST_NNTP_COMMAND_RESPONSE, SETUP_NEWS_STREAM, NNTP_BEGIN_AUTHORIZE,
  NNTP_AUTHORIZE_RESPONSE, NNTP_PASSWORD_RESPONSE, NNTP_READ_LIST_BEGIN, NNTP_READ_LIST,
  DISPLAY_NEWSGROUPS, NNTP_NEWGROUPS_BEGIN, NNTP_NEWGROUPS, NNTP_BEGIN_ARTICLE,
  NNTP_READ_ARTICLE, NNTP_XOVER_BEGIN, NNTP_FIGURE_NEXT_CHUNK, NNTP_XOVER_SEND,
  NNTP_XOVER_RESPONSE, NNTP_XOVER, NEWS_PROCESS_XOVER, NNTP_READ_GROUP,
  NNTP_READ_GROUP_RESPONSE, NNTP_READ_GROUP_BODY, NNTP_SEND_GROUP_FOR_ARTICLE, NNTP_SEND_GROUP_FOR_ARTICLE_RESPONSE,
  NNTP_PROFILE_ADD, NNTP_PROFILE_ADD_RESPONSE, NNTP_PROFILE_DELETE, NNTP_PROFILE_DELETE_RESPONSE,
  NNTP_SEND_ARTICLE_NUMBER, NEWS_PROCESS_BODIES, NNTP_PRINT_ARTICLE_HEADERS, NNTP_SEND_POST_DATA,
  NNTP_SEND_POST_DATA_RESPONSE, NNTP_CHECK_FOR_MESSAGE, NEWS_NEWS_RC_POST, NEWS_DISPLAY_NEWS_RC,
  NEWS_DISPLAY_NEWS_RC_RESPONSE, NEWS_START_CANCEL, NEWS_DO_CANCEL, NNTP_XPAT_SEND,
  NNTP_XPAT_RESPONSE, NNTP_SEARCH, NNTP_SEARCH_RESPONSE, NNTP_SEARCH_RESULTS,
  NNTP_LIST_PRETTY_NAMES, NNTP_LIST_PRETTY_NAMES_RESPONSE, NNTP_LIST_XACTIVE, NNTP_LIST_XACTIVE_RESPONSE,
  NNTP_LIST_GROUP, NNTP_LIST_GROUP_RESPONSE, NEWS_DONE, NEWS_POST_DONE,
  NEWS_ERROR, NNTP_ERROR, NEWS_FREE, NEWS_FINISHED
}

Define Documentation

#define NNTP_DESTROY_PROGRESS_GRAPH   0x00000040 /* do we need to destroy graph progress */

Definition at line 77 of file nsNNTPProtocol.h.

#define NNTP_NEWSRC_PERFORMED   0x00000008 /* have we done a newsrc update? */

Definition at line 74 of file nsNNTPProtocol.h.

#define NNTP_NO_XOVER_SUPPORT   0x00000100 /* xover command is not supported here */

Definition at line 79 of file nsNNTPProtocol.h.

#define NNTP_PAUSE_FOR_READ   0x00000001 /* should we pause for the next read */

Definition at line 71 of file nsNNTPProtocol.h.

#define NNTP_PROXY_AUTH_REQUIRED   0x00000002 /* is auth required */

Definition at line 72 of file nsNNTPProtocol.h.

#define NNTP_READER_PERFORMED   0x00000010 /* have we sent any cmds to the server yet? */

Definition at line 75 of file nsNNTPProtocol.h.

#define NNTP_SENT_PROXY_AUTH   0x00000004 /* have we sent a proxy auth? */

Definition at line 73 of file nsNNTPProtocol.h.

#define NNTP_SOME_PROTOCOL_SUCCEEDED   0x0000080 /* some protocol has suceeded so don't kill the connection */

Definition at line 78 of file nsNNTPProtocol.h.

#define NNTP_USE_FANCY_NEWSGROUP   0x00000020 /* use LIST XACTIVE or LIST */

Definition at line 76 of file nsNNTPProtocol.h.


Typedef Documentation

typedef enum _StatesEnum StatesEnum

Enumeration Type Documentation

Enumerator:
NNTP_RESPONSE 
NNTP_CONNECT 
NNTP_CONNECT_WAIT 
NNTP_LOGIN_RESPONSE 
NNTP_SEND_MODE_READER 
NNTP_SEND_MODE_READER_RESPONSE 
SEND_LIST_EXTENSIONS 
SEND_LIST_EXTENSIONS_RESPONSE 
SEND_LIST_SEARCHES 
SEND_LIST_SEARCHES_RESPONSE 
NNTP_LIST_SEARCH_HEADERS 
NNTP_LIST_SEARCH_HEADERS_RESPONSE 
NNTP_GET_PROPERTIES 
NNTP_GET_PROPERTIES_RESPONSE 
SEND_LIST_SUBSCRIPTIONS 
SEND_LIST_SUBSCRIPTIONS_RESPONSE 
SEND_FIRST_NNTP_COMMAND 
SEND_FIRST_NNTP_COMMAND_RESPONSE 
SETUP_NEWS_STREAM 
NNTP_BEGIN_AUTHORIZE 
NNTP_AUTHORIZE_RESPONSE 
NNTP_PASSWORD_RESPONSE 
NNTP_READ_LIST_BEGIN 
NNTP_READ_LIST 
DISPLAY_NEWSGROUPS 
NNTP_NEWGROUPS_BEGIN 
NNTP_NEWGROUPS 
NNTP_BEGIN_ARTICLE 
NNTP_READ_ARTICLE 
NNTP_XOVER_BEGIN 
NNTP_FIGURE_NEXT_CHUNK 
NNTP_XOVER_SEND 
NNTP_XOVER_RESPONSE 
NNTP_XOVER 
NEWS_PROCESS_XOVER 
NNTP_READ_GROUP 
NNTP_READ_GROUP_RESPONSE 
NNTP_READ_GROUP_BODY 
NNTP_SEND_GROUP_FOR_ARTICLE 
NNTP_SEND_GROUP_FOR_ARTICLE_RESPONSE 
NNTP_PROFILE_ADD 
NNTP_PROFILE_ADD_RESPONSE 
NNTP_PROFILE_DELETE 
NNTP_PROFILE_DELETE_RESPONSE 
NNTP_SEND_ARTICLE_NUMBER 
NEWS_PROCESS_BODIES 
NNTP_PRINT_ARTICLE_HEADERS 
NNTP_SEND_POST_DATA 
NNTP_SEND_POST_DATA_RESPONSE 
NNTP_CHECK_FOR_MESSAGE 
NEWS_NEWS_RC_POST 
NEWS_DISPLAY_NEWS_RC 
NEWS_DISPLAY_NEWS_RC_RESPONSE 
NEWS_START_CANCEL 
NEWS_DO_CANCEL 
NNTP_XPAT_SEND 
NNTP_XPAT_RESPONSE 
NNTP_SEARCH 
NNTP_SEARCH_RESPONSE 
NNTP_SEARCH_RESULTS 
NNTP_LIST_PRETTY_NAMES 
NNTP_LIST_PRETTY_NAMES_RESPONSE 
NNTP_LIST_XACTIVE 
NNTP_LIST_XACTIVE_RESPONSE 
NNTP_LIST_GROUP 
NNTP_LIST_GROUP_RESPONSE 
NEWS_DONE 
NEWS_POST_DONE 
NEWS_ERROR 
NNTP_ERROR 
NEWS_FREE 
NEWS_FINISHED 

Definition at line 83 of file nsNNTPProtocol.h.

                         {
NNTP_RESPONSE,
#ifdef BLOCK_UNTIL_AVAILABLE_CONNECTION
NNTP_BLOCK_UNTIL_CONNECTIONS_ARE_AVAILABLE,
NNTP_CONNECTIONS_ARE_AVAILABLE,
#endif
NNTP_CONNECT,
NNTP_CONNECT_WAIT,
NNTP_LOGIN_RESPONSE,
NNTP_SEND_MODE_READER,
NNTP_SEND_MODE_READER_RESPONSE,
SEND_LIST_EXTENSIONS,
SEND_LIST_EXTENSIONS_RESPONSE,
SEND_LIST_SEARCHES,
SEND_LIST_SEARCHES_RESPONSE,
NNTP_LIST_SEARCH_HEADERS,
NNTP_LIST_SEARCH_HEADERS_RESPONSE,
NNTP_GET_PROPERTIES,
NNTP_GET_PROPERTIES_RESPONSE,
SEND_LIST_SUBSCRIPTIONS,
SEND_LIST_SUBSCRIPTIONS_RESPONSE,
SEND_FIRST_NNTP_COMMAND,
SEND_FIRST_NNTP_COMMAND_RESPONSE,
SETUP_NEWS_STREAM,
NNTP_BEGIN_AUTHORIZE,
NNTP_AUTHORIZE_RESPONSE,
NNTP_PASSWORD_RESPONSE,
NNTP_READ_LIST_BEGIN,
NNTP_READ_LIST,
DISPLAY_NEWSGROUPS,
NNTP_NEWGROUPS_BEGIN,
NNTP_NEWGROUPS,
NNTP_BEGIN_ARTICLE,
NNTP_READ_ARTICLE,
NNTP_XOVER_BEGIN,
NNTP_FIGURE_NEXT_CHUNK,
NNTP_XOVER_SEND,
NNTP_XOVER_RESPONSE,
NNTP_XOVER,
NEWS_PROCESS_XOVER,
NNTP_READ_GROUP,
NNTP_READ_GROUP_RESPONSE,
NNTP_READ_GROUP_BODY,
NNTP_SEND_GROUP_FOR_ARTICLE,
NNTP_SEND_GROUP_FOR_ARTICLE_RESPONSE,
NNTP_PROFILE_ADD,
NNTP_PROFILE_ADD_RESPONSE,
NNTP_PROFILE_DELETE,
NNTP_PROFILE_DELETE_RESPONSE,
NNTP_SEND_ARTICLE_NUMBER,
NEWS_PROCESS_BODIES,
NNTP_PRINT_ARTICLE_HEADERS,
NNTP_SEND_POST_DATA,
NNTP_SEND_POST_DATA_RESPONSE,
NNTP_CHECK_FOR_MESSAGE,
NEWS_NEWS_RC_POST,
NEWS_DISPLAY_NEWS_RC,
NEWS_DISPLAY_NEWS_RC_RESPONSE,
NEWS_START_CANCEL,
NEWS_DO_CANCEL,
NNTP_XPAT_SEND,
NNTP_XPAT_RESPONSE,
NNTP_SEARCH,
NNTP_SEARCH_RESPONSE,
NNTP_SEARCH_RESULTS,
NNTP_LIST_PRETTY_NAMES,
NNTP_LIST_PRETTY_NAMES_RESPONSE,
NNTP_LIST_XACTIVE,
NNTP_LIST_XACTIVE_RESPONSE,
NNTP_LIST_GROUP,
NNTP_LIST_GROUP_RESPONSE,
NEWS_DONE,
NEWS_POST_DONE,
NEWS_ERROR,
NNTP_ERROR,
NEWS_FREE,
NEWS_FINISHED
} StatesEnum;