--- innwebd/base_passive.h 2004/07/03 08:47:07 1.2 +++ innwebd/base_passive.h 2008/04/11 17:14:49 1.7 @@ -1,14 +1,10 @@ /*******************************************************/ /* */ -/* LeafOK Innd */ -/* Copyright (C) LeafOK.com, 2003-2004 */ +/* LeafOK Innbbsd */ /* */ -/* Programmed by Leaf */ -/* E-mail:leaf@leafok.com QQ:6049044 */ +/* Copyright (C) LeafOK.com, 2003-2008 */ /* */ -/* http://bbs.leafok.com */ -/* http://bbs.leafok.net */ -/* http://bbs.fenglin.info */ +/* http://www.leafok.com */ /* */ /*******************************************************/ @@ -22,7 +18,7 @@ class base_passive : public base { public: - static UINT uThreadCount; +// static UINT uThreadCount; struct Access_STRUCT { char ip[50]; @@ -35,7 +31,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 +42,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); };