Parent Directory
|
Revision Log
Rename to class nntp_active to base_active Rename to class nntp_passive to base_passive
| 1 | sysadm | 1.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 | sysadm | 1.3 | #include "base_passive.h" |
| 17 | sysadm | 1.1 | |
| 18 | sysadm | 1.2 | class innd : |
| 19 | sysadm | 1.3 | public base_passive |
| 20 | sysadm | 1.2 | { |
| 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 |