Parent Directory
|
Revision Log
nntp_bbsd.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 bbsd : |
| 19 | public nntp_passive |
| 20 | { |
| 21 | public: |
| 22 | bbsd(void); |
| 23 | ~bbsd(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 | bbsd* new_client(void); |
| 31 | int db_env_init(void); |
| 32 | }; |
| webmaster@leafok.com | ViewVC Help |
| Powered by ViewVC 1.3.0-beta1 |