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

Contents of /innwebd/controld.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations)
Sat Jul 3 05:35:07 2004 UTC (21 years, 8 months ago) by sysadm
Branch: MAIN
Changes since 1.1: +2 -2 lines
Content type: text/x-chdr
Rename to class nntp_active to base_active
Rename to class nntp_passive to base_passive

1 /*******************************************************/
2 /* */
3 /* LeafOK Innd */
4 /* Copyright (C) LeafOK.com, 2003-2004 */
5 /* */
6 /* Programmed by Leaf */
7 /* E-mail:leaf@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 private:
38 static bool thread_terminate;
39 bool bbsd_startup;
40 bool innd_startup;
41 bool outd_startup;
42 int startup_delay;
43 int Accept(void);
44 controld* new_client(void);
45 int db_env_init(void);
46 };

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