Core header libraries and utilities
Go to file
Přemysl Eric Janouch 03894cae45
Add VIM syntax highlight for "config"
2017-06-12 02:48:42 +02:00
cmake Add a library with TUI helpers 2017-01-23 22:55:46 +01:00
meson/packaging Add packaging scripts for Meson 2017-04-30 10:45:23 +02:00
tests Fix and update LICENSE 2017-02-03 23:03:32 +01:00
.gitignore Initial commit 2015-02-28 19:53:23 +01:00
.travis.yml Travis CI: brevify notifications 2017-02-03 23:03:02 +01:00
CMakeLists.txt Fix build of tests under BSD 2016-01-04 00:47:12 +01:00
LICENSE Fix broken toupper_ascii() 2017-05-06 10:55:10 +02:00
README.adoc Update README 2017-06-04 00:49:15 +02:00
liberty-config.h.in Initial commit 2015-02-28 19:53:23 +01:00
liberty-proto.c MPD client: abort pending tasks 2017-06-04 04:27:10 +02:00
liberty-tui.c Fix and update LICENSE 2017-02-03 23:03:32 +01:00
liberty.c Improve read_line() 2017-06-12 02:48:42 +02:00
libertyconf.vim Add VIM syntax highlight for "config" 2017-06-12 02:48:42 +02:00
siphash.c Get rid of siphash.h as we don't use it 2015-07-14 23:40:14 +02:00

README.adoc

liberty

liberty is a pseudolibrary of all the common C code I have written for various projects. I used to copy-paste large swaths of code with minimal changes to it and it slowly became awfully painful to synchronize. The project can be thought of as a successor to my other C library, libxtnd.

You are supposed to import it as a git submodule and include the main source file directly everywhere you need it. Everything is declared "static". I have come to the conclusion that this style of C programming suits me the best, as it allows me to nearly forget about the mess that are header files.

The API is intentionally unstable, which allows for easy refactoring.

All development is done on Linux, but other POSIX-compatible operating systems should be supported as well. They have an extremely low priority, however, and Im not testing them at all, with the exception of OpenBSD.

Contributing and Support

Use this projects GitHub to report any bugs, request features, or submit pull requests. If you want to discuss this project, or maybe just hang out with the developer, feel free to join me at irc://irc.janouch.name, channel #dev.

Bitcoin donations: 12r5uEWEgcHC46xd64tt3hHt9EUvYYDHe9

License

liberty is written by Přemysl Janouch <p.janouch@gmail.com>.

You may use the software under the terms of the ISC license, the text of which is included within the package, or, at your option, you may relicense the work under the MIT or the Modified BSD License, as listed at the following site: