blob: 1b5ca02b2dde51b4293f2ba152d74b3633cfaa92 [file] [log] [blame]
/*
* 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 */