Imported Upstream version 7.59.0
[platform/upstream/curl.git] / lib / curl_range.h
similarity index 75%
rename from src/tool_writeenv.h
rename to lib/curl_range.h
index 55daf48..2350df9 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef HEADER_CURL_TOOL_WRITEENV_H
-#define HEADER_CURL_TOOL_WRITEENV_H
+#ifndef HEADER_CURL_RANGE_H
+#define HEADER_CURL_RANGE_H
 /***************************************************************************
  *                                  _   _ ____  _
  *  Project                     ___| | | |  _ \| |
@@ -7,7 +7,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * 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
  * KIND, either express or implied.
  *
  ***************************************************************************/
-#include "tool_setup.h"
 
-#ifdef USE_ENVIRONMENT
+#include "curl_setup.h"
+#include "urldata.h"
 
-void ourWriteEnv(CURL *curl);
-
-#else
-#  define ourWriteEnv(x)  Curl_nop_stmt
-#endif
-
-#endif /* HEADER_CURL_TOOL_WRITEENV_H */
+CURLcode Curl_range(struct connectdata *conn);
 
+#endif /* HEADER_CURL_RANGE_H */