No description
Find a file
2019-06-27 13:25:30 +07:00
examples kmod, examples, tests: import to repo 2019-06-27 13:25:30 +07:00
src kmod, examples, tests: import to repo 2019-06-27 13:25:30 +07:00
tests kmod, examples, tests: import to repo 2019-06-27 13:25:30 +07:00
kmod.nimble kmod, examples, tests: import to repo 2019-06-27 13:25:30 +07:00
license.txt kmod, examples, tests: import to repo 2019-06-27 13:25:30 +07:00
readme.md kmod, examples, tests: import to repo 2019-06-27 13:25:30 +07:00

Linux's libkmod high-level wrapper in Nim

Documentation is currently missing, but the API does not stray too far from libkmod's own API, so their documentation can be used. (not available pre-built online, but one can read the documentation in libkmod c sources)

Differences from libkmod's C API:

  • No resource cleanup needed! These are automatically done via destructors.
  • Most get/set APIs are implemented as getter/setter.
  • Logging APIs are not available.
  • Lists are typesafe! With iterators support so they can be easily iterated over.

Examples can be found in the examples/ folder.

Dependencies

This wrapper depends on the existance of libkmod headers in the system. Consult your distribution's package repository for them (libkmod-dev on Debian-based distribution).

Licenses

This wrapper is licensed under the ISC (to allow static linking), but the actual libkmod library is licensed under LGPL-2.1.