kioslave/nntp
15 #include <kio/global.h>
16 #include <kio/tcpslavebase.h>
18 #define MAX_PACKET_LEN 8192
41 NNTPProtocol (
const QByteArray & pool,
const QByteArray & app,
bool isSSL );
44 virtual void get(
const KUrl& url );
45 virtual void put(
const KUrl& url,
int permissions, KIO::JobFlags flags );
46 virtual void stat(
const KUrl& url );
47 virtual void listDir(
const KUrl& url );
48 virtual void setHost(
const QString& host, quint16 port,
49 const QString& user,
const QString& pass);
58 virtual void special(
const QByteArray& data);
87 QString mHost, mUser, mPass;
88 quint16 m_port, m_defaultPort;
89 bool postingAllowed, isAuthenticated;
90 char readBuffer[MAX_PACKET_LEN];
91 ssize_t readBufferLen;
93 QString mCurrentGroup;
101 void fetchGroups(
const QString &since,
bool desc );
111 bool fetchGroup ( QString &group,
unsigned long first = 0,
unsigned long max = 0 );
118 bool fetchGroupRFC977(
unsigned long first );
129 bool fetchGroupXOVER(
unsigned long first,
bool ¬Supported );
131 void fillUDSEntry ( KIO::UDSEntry & entry,
const QString & name,
long size,
132 bool is_article,
long access = 0 );
134 void unexpected_response (
int res_code,
const QString & command );
140 int evalResponse (
char *data, ssize_t &len );
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sat Jul 13 2013 01:25:36 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.