JunkBox_Lib
1.10.1
Loading...
Searching...
No Matches
https_tool.h
Go to the documentation of this file.
1
#ifndef __JBXL_HTTPS_TOOL_H_
2
#define __JBXL_HTTPS_TOOL_H_
3
10
#include "
ssl_tool.h
"
11
#include "
http_tool.h
"
12
13
14
#ifdef DISABLE_SSL
15
#undef ENABLE_SSL
16
#endif
17
18
#ifdef ENABLE_SSL
19
20
int
recv_https_header(
int
sofd, SSL* ssl,
tList
** pl,
int
*
len
,
int
tm, FILE* fp,
int
* state);
21
int
send_https_header(
int
sofd, SSL* ssl,
tList
* pl,
int
mode);
22
23
int
recv_https_content(
int
sofd, SSL* ssl,
Buffer
*
buf
,
int
len
,
int
tm, FILE* fp,
int
* state);
24
int
recv_https_chunked(
int
sofd, SSL* ssl,
Buffer
*
buf
,
int
tm, FILE* fp,
int
* state);
25
int
recv_https_closed (
int
sofd, SSL* ssl,
Buffer
*
buf
,
int
tm, FILE* fp);
26
27
int
recv_https_chunked_remain(
int
sofd, SSL* ssl,
Buffer
*
buf
,
int
chnksz,
int
tm);
28
29
int
recv_https_Buffer(
int
sofd, SSL* ssl,
tList
** pl,
Buffer
*
buf
,
int
timeout,
int
* hdonly,
int
* state,
int
nochunk);
30
int
send_https_Buffer(
int
sofd, SSL* ssl,
tList
* pl,
Buffer
*
buf
);
31
32
int
recv_https_file(
int
sofd, SSL* ssl,
tList
** pl,
const
char
* fname,
const
char
* wdir,
int
timeout,
int
* hdonly,
int
* state);
33
int
send_https_file(
int
sofd, SSL* ssl,
tList
* pl,
const
char
* fname);
34
35
int
save_https_xml(
int
cofd, SSL* ssl,
tList
** pl,
tXML
** xml,
char
** recvfn,
const
char
* wdir,
int
timeout,
int
* state);
36
37
#endif
// ENABLE_SSL
38
39
#endif
// __JBXL_HTTPS_TOOL_H_
40
http_tool.h
HTTP ツールライブラリ ヘッダ
buf
unsigned char ** buf
Definition
jpeg_tool.h:96
len
unsigned char unsigned long * len
Definition
jpeg_tool.h:96
ssl_tool.h
Buffer
Definition
buffer.h:35
tList
xLib
https_tool.h
Generated on Sat Oct 12 2024 19:31:03 for JunkBox_Lib by
1.11.0