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

Contents of /innwebd/controld.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations)
Fri Apr 11 17:14:49 2008 UTC (17 years, 11 months ago) by sysadm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +2 -6 lines
Content type: text/x-chdr
Update copyright
Add extra log for exception

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

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