⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 downfromhttp.h

📁 linux下http和ftp下载工具
💻 H
字号:
/***********************************************************************
* File name: DownFromHTTP.h
* Author: Version: Date: likun
* Description: 
*
* Others:
* Function List:
* 1. ....
* History:
* 1. Date:2008-3-21
* Author:likun create this file
* Modification:
* 2. ...
*************************************************************************/

#ifndef __DOWNFROMHTTP_H__
#define __DOWNFROMHTTP_H__
#include "Dload.h"

#ifdef __cplusplus
extern "C" {
#endif


/*http断点续传文件扩展名*/
#define DLOAD_HTTPFILE_EXT  "httpbrfile"

extern int HttpStartTask(HDLProtocolHandle hProtocolHandle);
extern int HttpPauseTask(HDLProtocolHandle hProtocolHandle);
extern int HttpResumeTask(HDLProtocolHandle hProtocolHandle);
extern int HttpDelTask(HDLProtocolHandle hProtocolHandle);
extern int HttpGetTaskInfo(HDLProtocolHandle hProtocolHandle,DLoadTaskPubInfo *pDloadTaskPub);
extern int HttpRegFinishCallback(HDLProtocolHandle hProtocolHandle, int (*fnDLoadFinish)(void *));
extern int HttpInitFileInfoFromUrl(HDLProtocolHandle *phProtocolHandle, DLoadUrlInfo *pUrlInfo);
extern int HttpInitFileInfoFromFile(HDLProtocolHandle *phProtocolHandle, const char *file);
extern int HttpUnInitFileInfoFromUrl(HDLProtocolHandle phProtocolHandle);

#ifdef _cplusplus
}
#endif

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -