Parent Directory
|
Revision Log
Rename to innbbsd.h nntp_innd.h
| 1 | /*******************************************************/ |
| 2 | /* */ |
| 3 | /* LeafOK Innd */ |
| 4 | /* Copyright (C) LeafOK.com, 2003-2004 */ |
| 5 | /* */ |
| 6 | /* Programmed by Leaf */ |
| 7 | /* E-mail:leaf@leafok.com QQ:6049044 */ |
| 8 | /* */ |
| 9 | /* http://bbs.leafok.com */ |
| 10 | /* http://bbs.leafok.net */ |
| 11 | /* http://bbs.fenglin.info */ |
| 12 | /* */ |
| 13 | /*******************************************************/ |
| 14 | |
| 15 | #pragma once |
| 16 | #include "nntp_passive.h" |
| 17 | |
| 18 | class innd : |
| 19 | public nntp_passive |
| 20 | { |
| 21 | public: |
| 22 | innd(void); |
| 23 | ~innd(void); |
| 24 | int Startup(void); |
| 25 | int Shutdown(void); |
| 26 | bool IsShutdown(void); |
| 27 | private: |
| 28 | static bool thread_terminate; |
| 29 | int Accept(void); |
| 30 | innd* new_client(void); |
| 31 | int cmd_list(void); |
| 32 | int cmd_ihave(const char* msg_id); |
| 33 | int db_env_init(void); |
| 34 | }; |
| webmaster@leafok.com | ViewVC Help |
| Powered by ViewVC 1.3.0-beta1 |