You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
506 B
25 lines
506 B
#ifndef PROXY_H |
|
#define PROXY_H |
|
|
|
#include <unistd.h> |
|
#include <stdio.h> |
|
#include <sys/socket.h> |
|
#include <stdlib.h> |
|
#include <netinet/in.h> |
|
#include <arpa/inet.h> |
|
#include <netdb.h> |
|
#include <string.h> |
|
#include <stdbool.h> |
|
|
|
#include "request.h" |
|
#include "response.h" |
|
#include "webserver.h" |
|
#include "ssl.h" |
|
|
|
Response *upstreamGetResponse(Request *request); |
|
void sendConnectionEstablished(int client); |
|
|
|
void proxyRequest(Request *request, int client, CertificateAutority *ca); |
|
|
|
|
|
#endif /* ifndef PROXY_H */
|
|
|