mirror of
https://github.com/nmap/nmap.git
synced 2025-12-14 19:59:02 +00:00
Reduced scope of the top level proxy event handler.
There is no need anymore for exporting this function to the rest of the library. It's called by the proxy hooks when registering new events.
This commit is contained in:
@@ -85,6 +85,7 @@ static void proxy_parser_delete(struct proxy_parser *parser);
|
||||
static struct proxy_node *proxy_node_new(char *proxystr);
|
||||
static void proxy_node_delete(struct proxy_node *proxy);
|
||||
|
||||
static void nsock_proxy_ev_handler(nsock_pool nspool, nsock_event nsevent, void *udata);
|
||||
static void forward_event(mspool *nsp, msevent *nse, void *udata);
|
||||
|
||||
static void proxy_http_node_init(struct proxy_node *proxy, char *proxystr);
|
||||
|
||||
@@ -125,7 +125,6 @@ struct proxy_actions {
|
||||
|
||||
|
||||
/* ------------------- PROTOTYPES ------------------- */
|
||||
void nsock_proxy_ev_handler(nsock_pool nspool, nsock_event nsevent, void *udata);
|
||||
|
||||
struct proxy_chain_context *proxy_chain_context_new(nsock_pool nspool);
|
||||
void proxy_chain_context_delete(struct proxy_chain_context *ctx);
|
||||
|
||||
Reference in New Issue
Block a user