--- innwebd/base_passive.h 2004/07/03 08:47:07 1.2 +++ innwebd/base_passive.h 2005/02/26 16:10:25 1.6 @@ -1,10 +1,10 @@ /*******************************************************/ /* */ -/* LeafOK Innd */ -/* Copyright (C) LeafOK.com, 2003-2004 */ +/* LeafOK Innbbsd */ +/* Copyright (C) LeafOK.com, 2003-2005 */ /* */ /* 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 */ @@ -22,7 +22,7 @@ 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); };