diff options
Diffstat (limited to 'libs/libcurl/src/connect.h')
-rw-r--r-- | libs/libcurl/src/connect.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/libcurl/src/connect.h b/libs/libcurl/src/connect.h index 60cec0a9b3..3077178d8c 100644 --- a/libs/libcurl/src/connect.h +++ b/libs/libcurl/src/connect.h @@ -32,7 +32,7 @@ struct Curl_dns_entry;
struct ip_quadruple;
-enum alpnid Curl_alpn2alpnid(char *name, size_t len);
+enum alpnid Curl_alpn2alpnid(const char *name, size_t len);
/* generic function that returns how much time there is left to run, according
to the timeouts set */
@@ -45,7 +45,7 @@ timediff_t Curl_timeleft(struct Curl_easy *data, #define DEFAULT_SHUTDOWN_TIMEOUT_MS (2 * 1000)
void Curl_shutdown_start(struct Curl_easy *data, int sockindex,
- struct curltime *nowp);
+ int timeout_ms, struct curltime *nowp);
/* return how much time there is left to shutdown the connection at
* sockindex. Returns 0 if there is no limit or shutdown has not started. */
|