From 046ebf5cbdcac2ae7ccd0a3addc8b7a7e2419757 Mon Sep 17 00:00:00 2001 From: Maschell Date: Sat, 15 Jul 2023 12:17:23 +0200 Subject: [PATCH] Build with curl 8.0.1, Update Dockerfile --- Dockerfile | 4 ++-- README.md | 4 ++-- src/main.cpp | 2 ++ 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 48f7fd1..496b49b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ -FROM ghcr.io/wiiu-env/devkitppc:20221228 +FROM ghcr.io/wiiu-env/devkitppc:20230621 -COPY --from=ghcr.io/wiiu-env/wiiumodulesystem:20230106 /artifacts $DEVKITPRO +COPY --from=ghcr.io/wiiu-env/wiiumodulesystem:20230622 /artifacts $DEVKITPRO WORKDIR project diff --git a/README.md b/README.md index dd87695..f086d49 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ [![CI-Release](https://github.com/wiiu-env/CURLWrapperModule/actions/workflows/ci.yml/badge.svg)](https://github.com/wiiu-env/CURLWrapperModule/actions/workflows/ci.yml) -Aroma Module that (hopefully) exports all functions of libcurl (Currently targeting: curl 7.84.0) +Aroma Module that (hopefully) exports all functions of libcurl (Currently targeting: curl 8.0.1) ## Usage (`[ENVIRONMENT]` is a placeholder for the actual environment name.) @@ -23,7 +23,7 @@ docker run -it --rm -v ${PWD}:/project curlwrappermodule-builder make docker run -it --rm -v ${PWD}:/project curlwrappermodule-builder make clean ``` -The bundled Dockerfile creates a module with this version: `libcurl/7.84.0 mbedTLS/2.28.1 zlib/1.2.11` +The bundled Dockerfile creates a module with this version: `libcurl/8.0.1 mbedTLS/2.28.3 zlib/1.2.13` ## Format the code via docker diff --git a/src/main.cpp b/src/main.cpp index f8f365c..20df9cc 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -109,6 +109,8 @@ WUMS_EXPORT_FUNCTION(curl_url_dup); WUMS_EXPORT_FUNCTION(curl_url_get); WUMS_EXPORT_FUNCTION(curl_url_set); WUMS_EXPORT_FUNCTION(curl_url_strerror); +WUMS_EXPORT_FUNCTION(curl_ws_send); +WUMS_EXPORT_FUNCTION(curl_ws_recv); // Export cacerts WUMS_EXPORT_DATA(cacert_pem);