--- innwebd/innd.h 2004/06/25 07:01:51 1.1.1.1 +++ innwebd/innd.h 2008/04/11 17:14:49 1.7 @@ -1,17 +1,31 @@ /*******************************************************/ /* */ -/* 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 */ /* */ /*******************************************************/ #pragma once +#include "base_passive.h" -#include "resource.h" +class innd : + public base_passive +{ +public: + innd(void); + ~innd(void); + int Startup(void); + int Shutdown(void); + bool IsShutdown(void); +private: + static bool thread_terminate; + int Accept(void); + innd* new_client(void); + int cmd_list(void); + int cmd_ihave(const char* msg_id); + int db_env_init(void); + bool check_priv(void); +};