summaryrefslogblamecommitdiffstats
path: root/proxy.h
blob: 44d971d5b2d3cf7124f57456a740c2ffdcbfefac (plain) (tree)
1
2
3
4
5
6
7
8
9






                  
                                                                   
 


                                                       
 
                                                                   
 

                                            
      
#ifndef _PROXY_H_
#define _PROXY_H_

#include "types.h"

void proxy_init();

BOOL proxy_fromClient(epoll_client_t *client, const size_t maxLen);

void proxy_removeClient(epoll_client_t * const client);

void proxy_removeServer(epoll_server_t * const server);

BOOL proxy_fromServer(epoll_server_t *server, const size_t maxLen);

void proxy_initDefaultMap(server_t *server);

#endif