Parent Directory
|
Revision Log
Update copyright Add extra log for exception
| 1 | /*******************************************************/ |
| 2 | /* */ |
| 3 | /* LeafOK Innbbsd */ |
| 4 | /* */ |
| 5 | /* Copyright (C) LeafOK.com, 2003-2008 */ |
| 6 | /* */ |
| 7 | /* http://www.leafok.com */ |
| 8 | /* */ |
| 9 | /*******************************************************/ |
| 10 | |
| 11 | #pragma once |
| 12 | #include "base_passive.h" |
| 13 | |
| 14 | class bbsd : |
| 15 | public base_passive |
| 16 | { |
| 17 | public: |
| 18 | bbsd(void); |
| 19 | ~bbsd(void); |
| 20 | int Startup(void); |
| 21 | int Shutdown(void); |
| 22 | bool IsShutdown(void); |
| 23 | private: |
| 24 | static bool thread_terminate; |
| 25 | int Accept(void); |
| 26 | bbsd* new_client(void); |
| 27 | int db_env_init(void); |
| 28 | bool check_priv(void); |
| 29 | }; |
| webmaster@leafok.com | ViewVC Help |
| Powered by ViewVC 1.3.0-beta1 |