source: UsbWattMeter/trunk/curl-7.47.1/lib/pipeline.h@ 164

Last change on this file since 164 was 164, checked in by coas-nagasima, 6 years ago

TOPPERS/ECNLサンプルアプリ「USB充電器電力計」を追加

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/x-chdr
File size: 2.6 KB
Line 
1#ifndef HEADER_CURL_PIPELINE_H
2#define HEADER_CURL_PIPELINE_H
3/***************************************************************************
4 * _ _ ____ _
5 * Project ___| | | | _ \| |
6 * / __| | | | |_) | |
7 * | (__| |_| | _ <| |___
8 * \___|\___/|_| \_\_____|
9 *
10 * Copyright (C) 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
11 * Copyright (C) 2013 - 2014, Linus Nielsen Feltzing, <linus@haxx.se>
12 *
13 * This software is licensed as described in the file COPYING, which
14 * you should have received as part of this distribution. The terms
15 * are also available at https://curl.haxx.se/docs/copyright.html.
16 *
17 * You may opt to use, copy, modify, merge, publish, distribute and/or sell
18 * copies of the Software, and permit persons to whom the Software is
19 * furnished to do so, under the terms of the COPYING file.
20 *
21 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
22 * KIND, either express or implied.
23 *
24 ***************************************************************************/
25
26CURLcode Curl_add_handle_to_pipeline(struct SessionHandle *handle,
27 struct connectdata *conn);
28void Curl_move_handle_from_send_to_recv_pipe(struct SessionHandle *handle,
29 struct connectdata *conn);
30bool Curl_pipeline_penalized(struct SessionHandle *data,
31 struct connectdata *conn);
32
33bool Curl_pipeline_site_blacklisted(struct SessionHandle *handle,
34 struct connectdata *conn);
35
36CURLMcode Curl_pipeline_set_site_blacklist(char **sites,
37 struct curl_llist **list_ptr);
38
39bool Curl_pipeline_server_blacklisted(struct SessionHandle *handle,
40 char *server_name);
41
42CURLMcode Curl_pipeline_set_server_blacklist(char **servers,
43 struct curl_llist **list_ptr);
44
45bool Curl_pipeline_checkget_write(struct SessionHandle *data,
46 struct connectdata *conn);
47bool Curl_pipeline_checkget_read(struct SessionHandle *data,
48 struct connectdata *conn);
49void Curl_pipeline_leave_write(struct connectdata *conn);
50void Curl_pipeline_leave_read(struct connectdata *conn);
51bool Curl_recvpipe_head(struct SessionHandle *data,
52 struct connectdata *conn);
53bool Curl_sendpipe_head(struct SessionHandle *data,
54 struct connectdata *conn);
55
56#endif /* HEADER_CURL_PIPELINE_H */
Note: See TracBrowser for help on using the repository browser.