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

Annotation of /innwebd/controld.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (hide 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 sysadm 1.1 /*******************************************************/
2     /* */
3 sysadm 1.4 /* LeafOK Innbbsd */
4 sysadm 1.1 /* */
5 sysadm 1.7 /* Copyright (C) LeafOK.com, 2003-2008 */
6 sysadm 1.1 /* */
7 sysadm 1.7 /* http://www.leafok.com */
8 sysadm 1.1 /* */
9     /*******************************************************/
10    
11     #pragma once
12 sysadm 1.2 #include ".\base_passive.h"
13 sysadm 1.1 #include ".\bbsd.h"
14     #include ".\innd.h"
15     #include ".\outd.h"
16    
17     class controld :
18 sysadm 1.2 public base_passive
19 sysadm 1.1 {
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 sysadm 1.3 int InitThreadPool(void);
34     int CleanupThreadPool(void);
35 sysadm 1.1 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 sysadm 1.5 bool check_priv(void);
45 sysadm 1.1 };

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