diff --git a/Makefile b/Makefile

index 69a241a8825a6a7aa979eb2ae95a26faaf3a0532..3d4df602cd7f7ab4f5a45b47dee0d47729f0739c 100644

--- a/Makefile

+++ b/Makefile

@@ -8,6 +8,10 @@ gmni: $(gmni_objects)

@printf 'CCLD\t$@\n'

@$(CC) $(LDFLAGS) $(LIBS) -o $@ $(gmni_objects)

+gmnlm: $(gmnlm_objects)

doc/gmni.1: doc/gmni.scd

.SUFFIXES: .c .o .scd .1

diff --git a/config.sh b/config.sh

index b93815ada4a25ec508e7a86cc79b9e9be3eba428..52931ab241c3177285b56258bf9b67ac4b63a7ea 100644

--- a/config.sh

+++ b/config.sh

@@ -134,6 +134,7 @@

all: ${all}

EOF

gmni >>"$outdir"/config.mk

echo done

touch $outdir/cppcache

diff --git a/configure b/configure

index aca6e8a1eaa9a6271f03eb8863640d0d93cdf435..151bdae8c12d9ad07d3a5240d7c554f4c62664c8 100755

--- a/configure

+++ b/configure

@@ -7,10 +7,18 @@ genrules gmni \

	src/client.c \

	src/escape.c \

	src/gmni.c \

+}

+gmnlm() {

	src/parser.c \

	src/url.c

}

-all="gmni"

+all="gmni gmnlm"

run_configure

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

index 75c6c5afb6e7f1f286d314d93f2b44ef8414afb3..dc0c5c7f61679369fe4fadafd0508147868cc3c3 100644

--- a/src/gmni.c

+++ b/src/gmni.c

@@ -15,7 +15,7 @@ #include <unistd.h>

#include "gmni.h"

static void

-usage(char *argv_0)

+usage(const char *argv_0)

{

fprintf(stderr,

	"usage: %s [-46lLiIN] [-E cert] [-d input] [-D path] gemini://...\n",

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

new file mode 100644

index 0000000000000000000000000000000000000000..bc3f647d42372678b4180f539df8637d0ba69a12

--- /dev/null

+++ b/src/gmnlm.c

@@ -0,0 +1,215 @@

+#include <assert.h>

+#include <ctype.h>

+#include <getopt.h>

+#include <openssl/bio.h>

+#include <openssl/err.h>

+#include <stdbool.h>

+#include <stdio.h>

+#include <string.h>

+#include <sys/ioctl.h>

+#include <termios.h>

+#include <unistd.h>

+#include "gmni.h"

+#include "url.h"

+struct link {

+};

+static void

+usage(const char *argv_0)

+{

+}

+static bool

+set_url(struct Curl_URL *url, char *new_url)

+{

+}

+static char *

+trim_ws(char *in)

+{

+}

+static void

+display_gemini(FILE *tty, struct gemini_response *resp,

+{

+}

+int

+main(int argc, char *argv[])

+{

+}

Proxy Information
Original URL
gemini://gmn.clttr.info:1965/sources/cgmnlm.git/commits/01567e578c9632960903e1f56dd2086547806da3.patch
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
138.192074 milliseconds
Gemini-to-HTML Time
3.197244 milliseconds

This content has been proxied by September (ba2dc).