Commit Graph

10 Commits

Author SHA1 Message Date
styan a96621e3fd Large refactoring and renaming
`gemini_open' is now `gemini_connect'
`gemini_close' is now `gemini_fini'
`gemini_connect' will try to use the `socketfd' struct member, if valid.
`gemini_read' now returns 0 whenever the response header has been read.
`gemini_read' no longer handles user-input (status 10) itself.
`gemini_connect_query' has been added so callers can handle user-input.
`libgeminiclient.c' no longer needs `readpassphrase' and `libbsd'.
2020-05-01 04:22:05 +00:00
styan 3f17926bce Add libgeminiclient.3 2020-04-30 23:26:33 +00:00
styan df1d8b0518 Fix probable NULL dereference 2020-04-30 01:32:02 +00:00
styan 44790d35ba Makefile magic 2020-04-30 01:28:41 +00:00
styan 73abfcc07d Add a LICENSE file 2020-04-29 10:31:23 +00:00
styan fddb209549 Use TOFU even without a file 2020-04-29 10:24:17 +00:00
styan 15db86f766 Support URL's `:port' 2020-04-29 10:17:07 +00:00
styan c02b57c6ae Use libbsd on GNU/Linux 2020-04-29 05:57:54 +00:00
styan dade15ad8e Correct the date 2020-04-29 05:06:44 +00:00
styan f8f55b167c Initial commit 2020-04-29 05:03:38 +00:00