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

Contents of /innwebd/base_active.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations)
Sat Jul 3 05:22:04 2004 UTC (21 years, 8 months ago) by sysadm
Branch: MAIN
Content type: text/x-chdr
nntp_active.h

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.h"
17
18 class base_active :
19 public base
20 {
21 public:
22 static UINT uThreadCount;
23 base_active(void);
24 ~base_active(void);
25 virtual int s_connect(const char* hostaddr, unsigned int port);
26 virtual int s_close(void);
27 virtual int work(bool get = false, bool use_ihave = false);
28 protected:
29 int get_article(const char* news_server, unsigned int news_id);
30 int get_cancel(const char* news_server, unsigned int news_id, int step=1);
31 int post_article(const char* news_server);
32 int post_cancel(const char* news_server);
33 int ihave_article(const char* news_server);
34 int ihave_cancel(const char* news_server);
35 int get(void);
36 int post(void);
37 int ihave(void);
38 bool check_todo_list(void);
39 virtual int w_call(void);
40 static DWORD SendThread(LPVOID pParam);
41 };

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