commit | 2d943ead4b1c160a163f284fb5b639f1f076ce49 | [log] [tgz] |
---|---|---|
author | William A. Kennington III <wak@google.com> | Tue Jul 17 14:40:14 2018 -0700 |
committer | William A. Kennington III <wak@google.com> | Tue Jul 17 14:40:14 2018 -0700 |
tree | 98ebe31bcb2649639ccdcb43fb3b27c4d86967e7 | |
parent | e3e1df0b549facf175b9201c4e945188eecaa700 [diff] |
source/base: Support automatically configuring userdata This makes callbacks work correctly as the systemd callback functions need to know where to look for the object storing the real callback.
sdeventplus is a c++ wrapper around the systemd sd_event apis meant to provide c++ ergonomics to their usage.
The sdeventplus library requires libsystemd for sd-event.
Test cases require google{test,mock}, valgrind, and lcov.
For a standard release build, you want something like:
./bootstrap.sh ./configure --disable-tests make make install
For a test / debug build, a typical configuration is
./bootstrap.sh ./configure --enable-tests --enable-coverage --enable-valgrind make make check make check-valgrind make check-code-coverage