From 32e91939443d6e831eb438a81b6a8bc5e17ac021 Mon Sep 17 00:00:00 2001

From: =?UTF-8?q?Jaakko=20Kera=CC=88nen?= jaakko.keranen@iki.fi

Date: Wed, 30 Mar 2022 22:27:56 +0300

Subject: [PATCH 1/1] Archive: Added a cstr method


include/the_Foundation/archive.h | 1 +

src/archive.c | 7 +++++++

2 files changed, 8 insertions(+)

diff --git a/include/the_Foundation/archive.h b/include/the_Foundation/archive.h

index 91b2bd3..5ccc301 100644

--- a/include/the_Foundation/archive.h

+++ b/include/the_Foundation/archive.h

@@ -69,6 +69,7 @@ const iBlock * dataCStr_Archive (const iArchive *d, const char *path

const iBlock * dataAt_Archive (const iArchive *, size_t index);

void setData_Archive (iArchive *, const iString *path, const iBlock *data);

+void setDataCStr_Archive (iArchive *, const char *path, const iBlock *data);

void serialize_Archive (const iArchive *, iStream *);

/** @name Iterators */

diff --git a/src/archive.c b/src/archive.c

index 0fb131c..5851099 100644

--- a/src/archive.c

+++ b/src/archive.c

@@ -624,6 +624,13 @@ void setData_Archive(iArchive *d, const iString *path, const iBlock *data) {

 }

}

+void setDataCStr_Archive(iArchive *d, const char *path, const iBlock *data) {

+}

void serialize_Archive(const iArchive *d, iStream *out) {

 /* Structure:       

         LocalFileHeader + fileName + data, ...

--

2.25.1

Proxy Information
Original URL
gemini://git.skyjake.fi/the_Foundation/release-1.0/patch/32e91939443d6e831eb438a81b6a8bc5e17ac021.patch
Status Code
Success (20)
Meta
text/plain
Capsule Response Time
124.374301 milliseconds
Gemini-to-HTML Time
0.802373 milliseconds

This content has been proxied by September (ba2dc).