SMOLNET PORTAL home about changes
iadd an intro and fix a typo in the manpage - libgcgi - REST library for Gopher	Err	bitreich.org	70
hgit clone git://bitreich.org/libgcgi git://hg6vgqziawt5s4dj.onion/libgcgi	URL:git://bitreich.org/libgcgi git://hg6vgqziawt5s4dj.onion/libgcgi	bitreich.org	70
1Log	/scm/libgcgi/log.gph	bitreich.org	70
1Files	/scm/libgcgi/files.gph	bitreich.org	70
1Refs	/scm/libgcgi/refs.gph	bitreich.org	70
1Tags	/scm/libgcgi/tag	bitreich.org	70
1README	/scm/libgcgi/file/README.gph	bitreich.org	70
1LICENSE	/scm/libgcgi/file/LICENSE.gph	bitreich.org	70
i---	Err	bitreich.org	70
1commit b3f118ffbf6488c5e8897be2fa8e225d5149c394	/scm/libgcgi/commit/b3f118ffbf6488c5e8897be2fa8e225d5149c394.gph	bitreich.org	70
1parent 9dd4e7ace8205ca78f096674aa8f2129c790fbc9	/scm/libgcgi/commit/9dd4e7ace8205ca78f096674aa8f2129c790fbc9.gph	bitreich.org	70
hAuthor: Josuah Demangeon <me@josuah.net>	URL:mailto:me@josuah.net	bitreich.org	70
iDate:   Wed,  3 Aug 2022 20:08:34 +0200	Err	bitreich.org	70
i	Err	bitreich.org	70
iadd an intro and fix a typo in the manpage	Err	bitreich.org	70
i	Err	bitreich.org	70
iDiffstat:	Err	bitreich.org	70
i  M README                              |       7 ++++++-	Err	bitreich.org	70
i  M libgcgi.3                           |      10 +++++++++-	Err	bitreich.org	70
i	Err	bitreich.org	70
i2 files changed, 15 insertions(+), 2 deletions(-)	Err	bitreich.org	70
i---	Err	bitreich.org	70
1diff --git a/README b/README	/scm/libgcgi/file/README.gph	bitreich.org	70
i@@ -41,6 +41,11 @@ SYNOPSIS	Err	bitreich.org	70
i      struct gcgi_var_list gcgi_gopher_query	Err	bitreich.org	70
i 	Err	bitreich.org	70
i DESCRIPTION	Err	bitreich.org	70
i+     This library is a C wrapper around the geomyidae(8) new CGI interface,	Err	bitreich.org	70
i+     which permits REST applications to be written for Gopher.        In this mode,	Err	bitreich.org	70
i+     geomyidae(8) directs all requests to a single binary in charge of	Err	bitreich.org	70
i+     handling all paths, rather than trying to serve a file.	Err	bitreich.org	70
i+	Err	bitreich.org	70
i    Request Handling	Err	bitreich.org	70
i      The central element of the library is an array of structures, using	Err	bitreich.org	70
i      appropriate handler depending on the query path.	Err	bitreich.org	70
i@@ -51,7 +56,7 @@ DESCRIPTION	Err	bitreich.org	70
i      };	Err	bitreich.org	70
i 	Err	bitreich.org	70
i      The glob is a string against which the path (everything in the query	Err	bitreich.org	70
i-     before the “”?) will be matched against.	Err	bitreich.org	70
i+     before the “?”) will be matched against.	Err	bitreich.org	70
i 	Err	bitreich.org	70
i      The fn function pointer will be called, with an array of matches passed	Err	bitreich.org	70
i      as argument.  There are as many matches populated as there are “*” in	Err	bitreich.org	70
1diff --git a/libgcgi.3 b/libgcgi.3	/scm/libgcgi/file/libgcgi.3.gph	bitreich.org	70
i@@ -42,6 +42,14 @@	Err	bitreich.org	70
i .	Err	bitreich.org	70
i .Sh DESCRIPTION	Err	bitreich.org	70
i .	Err	bitreich.org	70
i+This library is a C wrapper around the	Err	bitreich.org	70
i+.Xr geomyidae 8	Err	bitreich.org	70
i+new CGI interface, which permits REST applications to be written for Gopher.	Err	bitreich.org	70
i+In this mode,	Err	bitreich.org	70
i+.Xr geomyidae 8	Err	bitreich.org	70
i+directs all requests to a single binary in charge of handling all paths,	Err	bitreich.org	70
i+rather than trying to serve a file.	Err	bitreich.org	70
i+.	Err	bitreich.org	70
i .	Err	bitreich.org	70
i .Ss Request Handling	Err	bitreich.org	70
i .	Err	bitreich.org	70
i@@ -59,7 +67,7 @@ struct gcgi_handler {	Err	bitreich.org	70
i The	Err	bitreich.org	70
i .Vt glob	Err	bitreich.org	70
i is a string against which the path (everything in the query before the	Err	bitreich.org	70
i-.Dq ? )	Err	bitreich.org	70
i+.Dq "?" )	Err	bitreich.org	70
i will be matched against.	Err	bitreich.org	70
i .Pp	Err	bitreich.org	70
i The	Err	bitreich.org	70
.
Response: text/plain
Original URLgopher://bitreich.org/0/scm/libgcgi/commit/b3f118ffbf6488...
Content-Typetext/plain; charset=utf-8