mirror of
https://github.com/nmap/nmap.git
synced 2025-12-20 14:39:02 +00:00
Refactored proxy code to use a "strategy" design pattern.
Proxy backends are selected at runtime. Each proxy exports a list of operations to the rest of the library. This is similar to the way IO engines are implemented within nsock.
This commit is contained in:
@@ -67,7 +67,7 @@
|
||||
|
||||
|
||||
/* Defined in nsock_proxy.c */
|
||||
extern struct proxy_op ProxyOps[];
|
||||
extern struct proxy_op *ProxyOps[];
|
||||
|
||||
|
||||
/* Create the actual socket (nse->iod->sd) underlying the iod. This unblocks the
|
||||
|
||||
Reference in New Issue
Block a user