/* | |
* Copyright 2021 Google LLC | |
* SPDX-License-Identifier: MIT | |
*/ | |
#ifndef PROXY_SERVER_H | |
#define PROXY_SERVER_H | |
#include "proxy_common.h" | |
#include <sys/types.h> | |
struct proxy_server { | |
pid_t pid; | |
int client_fd; | |
}; | |
struct proxy_server * | |
proxy_server_create(void); | |
void | |
proxy_server_destroy(struct proxy_server *srv); | |
int | |
proxy_server_connect(struct proxy_server *srv); | |
#endif /* PROXY_SERVER_H */ |