curl: add an option to fetch bound to a local source address
This commit is contained in:
@@ -89,6 +89,12 @@ enum fetcher_option_t {
|
||||
*/
|
||||
FETCH_CALLBACK,
|
||||
|
||||
/**
|
||||
* Source IP address to bind for a fetch.
|
||||
* Additional argument is a host_t*, which may be NULL.
|
||||
*/
|
||||
FETCH_SOURCEIP,
|
||||
|
||||
/**
|
||||
* end of fetching options
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user