curl: add an option to fetch bound to a local source address

This commit is contained in:
Martin Willi
2013-06-11 15:54:26 +02:00
parent 0adfffb6dd
commit fe20f752f1
3 changed files with 23 additions and 0 deletions
+6
View File
@@ -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
*/