diff options
author | Daniel Stenberg <daniel@haxx.se> | 2015-05-13 14:24:30 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-05-18 09:33:47 +0200 |
commit | d6f1c74330818325bd244e09150e43c997576ba7 (patch) | |
tree | 5f71fff8eef388edc88377bdd10df28c9c55c984 /lib/pipeline.h | |
parent | 7d0df07e48aedc4f9a97dc1c6f73c5b69849a5a6 (diff) | |
download | curl-d6f1c74330818325bd244e09150e43c997576ba7.tar.gz |
pipeline: switch some code over to functions
... to "compartmentalize" a bit and make it easier to change behavior
when multiplexing is used instead of good old pipelining.
Diffstat (limited to 'lib/pipeline.h')
-rw-r--r-- | lib/pipeline.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/pipeline.h b/lib/pipeline.h index 96c4c33ec..bf229f199 100644 --- a/lib/pipeline.h +++ b/lib/pipeline.h @@ -7,6 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * + * Copyright (C) 2015, Daniel Stenberg, <daniel@haxx.se>, et al. * Copyright (C) 2013 - 2014, Linus Nielsen Feltzing, <linus@haxx.se> * * This software is licensed as described in the file COPYING, which @@ -41,4 +42,15 @@ bool Curl_pipeline_server_blacklisted(struct SessionHandle *handle, CURLMcode Curl_pipeline_set_server_blacklist(char **servers, struct curl_llist **list_ptr); +bool Curl_pipeline_checkget_write(struct SessionHandle *data, + struct connectdata *conn); +bool Curl_pipeline_checkget_read(struct SessionHandle *data, + struct connectdata *conn); +void Curl_pipeline_leave_write(struct connectdata *conn); +void Curl_pipeline_leave_read(struct connectdata *conn); +bool Curl_recvpipe_head(struct SessionHandle *data, + struct connectdata *conn); +bool Curl_sendpipe_head(struct SessionHandle *data, + struct connectdata *conn); + #endif /* HEADER_CURL_PIPELINE_H */ |