From 1b0a8edfd4cdffdc76f3e979a5e1b42cbe289e73 Mon Sep 17 00:00:00 2001 From: Federico Stazi Date: Tue, 18 Aug 2020 11:11:17 +0000 Subject: [PATCH] Minor fix --- oss-internship-2020/curl/CMakeLists.txt | 10 +++++----- oss-internship-2020/curl/examples/README.md | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/oss-internship-2020/curl/CMakeLists.txt b/oss-internship-2020/curl/CMakeLists.txt index 689597e..679dcac 100644 --- a/oss-internship-2020/curl/CMakeLists.txt +++ b/oss-internship-2020/curl/CMakeLists.txt @@ -30,7 +30,7 @@ if (CURL_SAPI_ENABLE_EXAMPLES) endif() # Add folder containing the non-sandboxed custom curl library -add_subdirectory(custom_curl) +add_subdirectory(curl_wrapper) # Setup Sandboxed API set(SAPI_ROOT "" CACHE PATH "Path to the Sandboxed API source tree") @@ -47,7 +47,7 @@ add_sapi_library(curl_sapi # List of all the methods in https://curl.haxx.se/libcurl/c/allfuncs.html # Some are added or modified because the original ones are not supported - # by Sandboxed API (details can be found in custom_curl.h) + # by Sandboxed API (details can be found in curl_wrapper.h) FUNCTIONS curl_easy_cleanup curl_easy_duphandle curl_easy_escape @@ -117,10 +117,10 @@ add_sapi_library(curl_sapi curl_version curl_version_info - INPUTS custom_curl/curl/include/curl/curl.h - custom_curl/custom_curl.h + INPUTS curl_wrapper/curl/include/curl/curl.h + curl_wrapper/curl_wrapper.h - LIBRARY custom_curl_and_callbacks + LIBRARY curl_wrapper_and_callbacks LIBRARY_NAME Curl diff --git a/oss-internship-2020/curl/examples/README.md b/oss-internship-2020/curl/examples/README.md index 0f0d2d3..6327965 100644 --- a/oss-internship-2020/curl/examples/README.md +++ b/oss-internship-2020/curl/examples/README.md @@ -8,4 +8,4 @@ This is the list of the examples: - **example2**: sandboxed version of [getinmemory.c](https://curl.haxx.se/libcurl/c/getinmemory.html). Same HTTP request as example1. The difference is that this example uses a callback to save the page directly in memory. Only the page size is printed out. - **example3**: sandboxed version of [simplessl.c](https://curl.haxx.se/libcurl/c/simplessl.html). HTTPS request of the [example.com](https://example.com) page, using SSL authentication. This script takes 4 arguments (SSL certificates file, SSL keys file, SSL keys password and CA certificates files), and prints out the page. - **example4**: sandboxed version of [multi-poll.c](https://curl.haxx.se/libcurl/c/multi-poll.html). Same HTTP request as example1, with the addition of a polling method that can be used to track the status of the request. The page is printed out after it is downloaded. -- **example5**: sandboxed version of [multithread.c](https://curl.haxx.se/libcurl/c/multithread.html). Four HTTP request of the pages [example.com](http://example.com), [example.edu](http://example.edu), [example.net](http://example.net), [example.org](http://example.org) pages, performed at the same time using libcurl's multithreading methods. The threads' status and the pages are printed out. +- **example5**: sandboxed version of [multithread.c](https://curl.haxx.se/libcurl/c/multithread.html). Four HTTP request of the pages [example.com](http://example.com), [example.edu](http://example.edu), [example.net](http://example.net) and [example.org](http://example.org), performed at the same time using libcurl's multithreading methods. The threads' status and the pages are printed out.