--- innwebd/base_passive.h 2004/07/03 05:22:16 1.1 +++ innwebd/base_passive.h 2004/09/16 15:40:37 1.5 @@ -1,10 +1,10 @@ /*******************************************************/ /* */ -/* LeafOK Innd */ +/* LeafOK Innbbsd */ /* Copyright (C) LeafOK.com, 2003-2004 */ /* */ /* Programmed by Leaf */ -/* E-mail:leaf@leafok.com QQ:6049044 */ +/* E-mail:leaflet@leafok.com QQ:6049044 */ /* */ /* http://bbs.leafok.com */ /* http://bbs.leafok.net */ @@ -16,13 +16,13 @@ #include ".\base.h" #include "afxtempl.h" -#define MAX_THREAD 256 +#define MAX_CLIENT 256 class base_passive : public base { public: - static UINT uThreadCount; +// static UINT uThreadCount; struct Access_STRUCT { char ip[50]; @@ -35,7 +35,6 @@ public: ~base_passive(void); virtual int work(); protected: - base_passive* p_ParentThread; CArray access_array; int s_connect(const char* hostaddr, unsigned int port); int s_close(void); @@ -47,4 +46,5 @@ protected: virtual base_passive* new_client(void) = 0; virtual int db_env_init(void) = 0; virtual int w_call(void); + virtual bool check_priv(void); };