aboutsummaryrefslogtreecommitdiff
path: root/lib/curl_range.h
diff options
context:
space:
mode:
authorMax Dymond <cmeister2@gmail.com>2018-01-29 09:50:43 +0000
committerDaniel Stenberg <daniel@haxx.se>2018-01-30 17:23:26 +0100
commite04417d98f2cac095ea233a4a03e85d881e7ad7b (patch)
treef7cc55f064abfb94018864ddc8983be64b801e07 /lib/curl_range.h
parentf02c34476d20bbc25c009a74b42e058504560b0a (diff)
Curl_range: commonize FTP and FILE range handling
Closes #2205
Diffstat (limited to 'lib/curl_range.h')
-rw-r--r--lib/curl_range.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/lib/curl_range.h b/lib/curl_range.h
new file mode 100644
index 000000000..2350df992
--- /dev/null
+++ b/lib/curl_range.h
@@ -0,0 +1,30 @@
+#ifndef HEADER_CURL_RANGE_H
+#define HEADER_CURL_RANGE_H
+/***************************************************************************
+ * _ _ ____ _
+ * Project ___| | | | _ \| |
+ * / __| | | | |_) | |
+ * | (__| |_| | _ <| |___
+ * \___|\___/|_| \_\_____|
+ *
+ * Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al.
+ *
+ * This software is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at https://curl.haxx.se/docs/copyright.html.
+ *
+ * You may opt to use, copy, modify, merge, publish, distribute and/or sell
+ * copies of the Software, and permit persons to whom the Software is
+ * furnished to do so, under the terms of the COPYING file.
+ *
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+ * KIND, either express or implied.
+ *
+ ***************************************************************************/
+
+#include "curl_setup.h"
+#include "urldata.h"
+
+CURLcode Curl_range(struct connectdata *conn);
+
+#endif /* HEADER_CURL_RANGE_H */