C++ RPC API for BOINC client.
$ mkdir build
$ cd build
$ cmake -DCMAKE_INSTALL_PREFIX=/usr ..
$ make
# make DESTDIR=/usr install
#include <boinc-rpc-cpp/boinc-rpc-cpp.hpp>
int main() {
Boinc::Client c {.addr = "127.0.0.1", .port = 31416, .password = "my-pass-in-gui_rpc_auth.cfg"};
for (auto msg : c.get_messages()) {
std::cout << msg.body.value_or("") << std::endl;
};
return 0;
}