Subversion Repositories Tewi

Rev

Rev 16 | Rev 20 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 16 Rev 17
Line 1... Line 1...
1
/* $Id: tw_http.h 16 2024-09-13 15:09:52Z nishi $ */
1
/* $Id: tw_http.h 17 2024-09-13 17:41:07Z nishi $ */
2
 
2
 
3
#ifndef __TW_HTTP_H__
3
#ifndef __TW_HTTP_H__
4
#define __TW_HTTP_H__
4
#define __TW_HTTP_H__
5
 
5
 
6
struct tw_http_request {
6
struct tw_http_request {
Line 13... Line 13...
13
 
13
 
14
struct tw_http_response {
14
struct tw_http_response {
15
	char** headers;
15
	char** headers;
16
};
16
};
17
 
17
 
18
struct tw_http_tool {};
-
 
19
 
-
 
20
#ifdef SOURCE
18
#ifdef SOURCE
21
#include <openssl/ssl.h>
19
#include <openssl/ssl.h>
22
int tw_http_parse(SSL* ssl, int sock, struct tw_http_request* req);
20
int tw_http_parse(SSL* ssl, int sock, struct tw_http_request* req);
23
#endif
21
#endif
24
 
22