projects
/
fms.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
version 0.3.29
[fms.git]
/
include
/
nntp
/
nntpconnection.h
diff --git
a/include/nntp/nntpconnection.h
b/include/nntp/nntpconnection.h
index
15c2080
..
d048375
100644
(file)
--- a/
include/nntp/nntpconnection.h
+++ b/
include/nntp/nntpconnection.h
@@
-6,6
+6,7
@@
#include "../ilogger.h"
\r
#include "../message.h"
\r
#include "../localidentity.h"
\r
#include "../ilogger.h"
\r
#include "../message.h"
\r
#include "../localidentity.h"
\r
+#include "../ithreaddatabase.h"
\r
\r
#include <string>
\r
#include <vector>
\r
\r
#include <string>
\r
#include <vector>
\r
@@
-21,7
+22,7
@@
#include <arpa/inet.h>
\r
#endif
\r
\r
#include <arpa/inet.h>
\r
#endif
\r
\r
-class NNTPConnection:public CancelableRunnable,public ILogger
\r
+class NNTPConnection:public CancelableRunnable,public ILogger
,public IThreadDatabase
\r
{
\r
public:
\r
NNTPConnection(SOCKET sock);
\r
{
\r
public:
\r
NNTPConnection(SOCKET sock);
\r
@@
-46,6
+47,8
@@
private:
};
\r
struct ClientStatus
\r
{
\r
};
\r
struct ClientStatus
\r
{
\r
+ ClientStatus(SQLite3DB::DB *db):m_authuser(db) {}
\r
+
\r
ClientMode m_mode;
\r
bool m_allowpost;
\r
bool m_isposting;
\r
ClientMode m_mode;
\r
bool m_allowpost;
\r
bool m_isposting;
\r