1 Star 1 Fork 0

hotmocha/spider

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
workerpub.h 982 Bytes
一键复制 编辑 原始数据 按行查看 历史
hotmocha 提交于 2015-04-02 22:29 . spider init
/*
* MODULE NAME :
* PROGRAM NAME : workerpub.h
* AUTHOR : HOTMOCHA
* CREATE DATE : 2015-03-15 13:57:21
* PROGRAM DESC :
*
* HISTORY :
*
*/
#ifndef _H_WORKERPUB_H_
#define _H_WORKERPUB_H_
#include "worker.h"
#include "workermanager.h"
#include "coremanager.h"
void SetTaskName(struct WorkerEnv* env, char *strTaskName);
int SetHeader(struct HttpReq *req, char *header);
int SetCookieFromFile(struct HttpReq *req, char *file);
int SetCookie(struct HttpReq *req, char *cookie);
int SetPostdata(struct HttpReq *req, char *postdata);
int SetUrl(struct HttpReq *req, char *url);
void SetVerbose(struct WorkerEnv *env, int e);
int SetCertFile(struct TaskEnv *tenv, struct HttpReq *req, char *filename);
void SetHttpReqInputData(struct HttpReq *req, void *inputdata, void (*freeFunc)(void *));
int PrintRespBody(struct HttpReq *req);
int PrintRespHeader(struct HttpReq *req);
int SetCertFile(struct TaskEnv *tenv, struct HttpReq *req, char *filename);
#endif
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hotmocha/spider.git
[email protected]:hotmocha/spider.git
hotmocha
spider
spider
master

搜索帮助