From 23713645d4e9ae00a3065f7a3d995e57748da4c7 Mon Sep 17 00:00:00 2001
From: Francisco Sedano <fran@fransedano.net>
Date: Wed, 14 Feb 2018 17:20:43 +0000
Subject: url: Add option CURLOPT_RESOLVER_START_FUNCTION

- Add new option CURLOPT_RESOLVER_START_FUNCTION to set a callback that
  will be called every time before a new resolve request is started
  (ie before a host is resolved) with a pointer to backend-specific
  resolver data. Currently this is only useful for ares.

- Add new option CURLOPT_RESOLVER_START_DATA to set a user pointer to
  pass to the resolver start callback.

Closes https://github.com/curl/curl/pull/2311
---
 packages/OS400/curl.inc.in | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'packages/OS400')

diff --git a/packages/OS400/curl.inc.in b/packages/OS400/curl.inc.in
index 3852dde7a..0846da1b9 100644
--- a/packages/OS400/curl.inc.in
+++ b/packages/OS400/curl.inc.in
@@ -1326,6 +1326,10 @@
      d                 c                   30270
      d  CURLOPT_HAPPY_EYEBALLS_TIMEOUT_MS...
      d                 c                   00271
+     d  CURLOPT_RESOLVER_START_FUNCTION...
+     d                 c                   20272
+     d  CURLOPT_RESOLVER_START_DATA...
+     d                 c                   10273
       *
       /if not defined(CURL_NO_OLDIES)
      d  CURLOPT_FILE   c                   10001
-- 
cgit v1.2.3