aboutsummaryrefslogtreecommitdiffstats
path: root/lib/pingpong.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pingpong.h')
-rw-r--r--lib/pingpong.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/pingpong.h b/lib/pingpong.h
index e874799d..855815af 100644
--- a/lib/pingpong.h
+++ b/lib/pingpong.h
@@ -64,6 +64,7 @@ struct pingpong {
milliseconds we await for a server response. */
struct connectdata *conn; /* points to the connectdata struct that this
belongs to */
+ struct dynbuf sendbuf;
/* Function pointers the protocols MUST implement and provide for the
pingpong layer to function */
@@ -86,6 +87,9 @@ CURLcode Curl_pp_statemach(struct pingpong *pp, bool block,
/* initialize stuff to prepare for reading a fresh new response */
void Curl_pp_init(struct pingpong *pp);
+/* setup for the transfer */
+void Curl_pp_setup(struct pingpong *pp);
+
/* Returns timeout in ms. 0 or negative number means the timeout has already
triggered */
timediff_t Curl_pp_state_timeout(struct pingpong *pp, bool disconnecting);