/[LeafOK_CVS]/innwebd/controld.h
ViewVC logotype

Contents of /innwebd/controld.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations)
Sun Jul 4 06:45:23 2004 UTC (21 years, 8 months ago) by sysadm
Branch: MAIN
Changes since 1.3: +2 -2 lines
Content type: text/x-chdr
Version 1.4.2

1 /*******************************************************/
2 /* */
3 /* LeafOK Innbbsd */
4 /* Copyright (C) LeafOK.com, 2003-2004 */
5 /* */
6 /* Programmed by Leaf */
7 /* E-mail:leaflet@leafok.com QQ:6049044 */
8 /* */
9 /* http://bbs.leafok.com */
10 /* http://bbs.leafok.net */
11 /* http://bbs.fenglin.info */
12 /* */
13 /*******************************************************/
14
15 #pragma once
16 #include ".\base_passive.h"
17 #include ".\bbsd.h"
18 #include ".\innd.h"
19 #include ".\outd.h"
20
21 class controld :
22 public base_passive
23 {
24 public:
25 controld(void);
26 ~controld(void);
27 bbsd bbsd;
28 innd innd;
29 outd outd;
30 int Startup(void);
31 int Shutdown(void);
32 bool IsShutdown(void);
33 int load_conf(const char* conf_file);
34 void StartupDelay(void);
35 void StartupChild(void);
36 void ShutdownChild(void);
37 int InitThreadPool(void);
38 int CleanupThreadPool(void);
39 private:
40 static bool thread_terminate;
41 bool bbsd_startup;
42 bool innd_startup;
43 bool outd_startup;
44 int startup_delay;
45 int Accept(void);
46 controld* new_client(void);
47 int db_env_init(void);
48 };

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1