FindMailThread.h
资源名称:FindMail.zip [点击查看]
上传用户:feituo2008
上传日期:2013-02-02
资源大小:493k
文件大小:1k
源码类别:
Email客户端
开发平台:
Visual C++
- #pragma once
- #include "smtpclient.h"
- class CFindMailThread
- {
- public:
- CFindMailThread(void);
- ~CFindMailThread(void);
- int Init(char *domain_name, char *mx_server, char *outfile_exist, char *outfile_nonexist, int thread_num, int max_thread_count, int start_pos =0, char **pdict_buf =NULL, int dict_line_count=0, int sleep_sec =60);
- int Start(void);
- int m_f_stop;
- HANDLE m_hThread;
- int Stop(void);
- CSMTPClient m_smtp_client;
- int m_f_stopped;
- int CheckRandom(char *name, int buf_pos, int pch_pos, int count);
- int CheckMail(int count, char *name);
- char *m_pch;
- int m_pch_len;
- int m_thread_num;
- int m_max_thread_count;
- int m_cur_pos;
- char **m_pdict_buf; // dict file buf
- int m_dict_lines_count; // dict file line count
- char m_outfile_exist[128];
- char m_outfile_nonexist[128];
- int m_start_pos;
- int CheckDict(void);
- int m_sleep_sec;
- };