A fully featured Gemini client library written in C using libtls.
Go to file
styan 5dcddc7077 Add `gemini_envinit', add proxy support, simplfy header handling
Add `gemini_envinit' which initializes some parts of the structure
from the environment.
Add proxy support in the form of a `proxy' field in the structure
that can hold a host string.
Simplfy header handling in `gemini_read', removing the
`GEMINI_STRICT' flag.
Add the `-h' option to gemini-cat(1) to set the proxy host.
Remove the `-e' option from gemini-cat(1).
Add environment variable support to gemini-cat(1), including
`GEMINI_TOFU_WRITE', which will set the corresponding flag.
2020-06-20 04:56:34 +00:00
LICENSE Add a LICENSE file 2020-04-29 10:31:23 +00:00
Makefile Fix the default MANDIR 2020-05-17 00:22:48 +00:00
README Add the `README' 2020-05-02 23:24:08 +00:00
gemini-cat.1 Add `gemini_envinit', add proxy support, simplfy header handling 2020-06-20 04:56:34 +00:00
gemini-cat.c Add `gemini_envinit', add proxy support, simplfy header handling 2020-06-20 04:56:34 +00:00
libgeminiclient.3 Add `gemini_envinit', add proxy support, simplfy header handling 2020-06-20 04:56:34 +00:00
libgeminiclient.c Add `gemini_envinit', add proxy support, simplfy header handling 2020-06-20 04:56:34 +00:00
libgeminiclient.h Add `gemini_envinit', add proxy support, simplfy header handling 2020-06-20 04:56:34 +00:00

README

BUILDING

	To build libgeminiclient(3) configured automagically:
		make
	or
		make magic-libgeminiclient

	To build everything configured automagically:
		make all
	or
		make magic

	To build libgeminiclient(3) configured manually:
		export CFLAGS=-I/path/to/libtls/includes
		make libgeminiclient.a

	To build gemini-cat(1) configured manually:
		export CFLAGS='-I/path/to/libtls -I/path/to/libbsd'
		export LDFLAGS='-L/path/to/libtls -ltls'
		make gemini-cat

INSTALLING

	To install libgeminiclient(3) on the system:
		make install

	To install gemini-cat(1) on the system:
		make install-gemini-cat

	To install everything on the system:
		make install-all

	To install gemini-cat(1) in your home-directory:
		make linstall-gemini-cat

MAGIC

	The ``magic'' make(1) targets attempt to use pkg-config(1) for
	libraries and their flags.

PREPROCESSOR DEFINES

	``BUFFER_SIZE'' The size of the buffer for gemini-cat(1) to use.