https://github.com/vorot93/boinc-rpc-cpp
RPC API for BOINC client
https://github.com/vorot93/boinc-rpc-cpp
boinc rpc-api
Last synced: about 1 year ago
JSON representation
RPC API for BOINC client
- Host: GitHub
- URL: https://github.com/vorot93/boinc-rpc-cpp
- Owner: vorot93
- License: apache-2.0
- Created: 2016-07-26T04:06:12.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2022-05-18T06:41:43.000Z (about 4 years ago)
- Last Synced: 2025-04-06T23:35:31.387Z (about 1 year ago)
- Topics: boinc, rpc-api
- Language: C++
- Homepage:
- Size: 11.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# boinc-rpc-cpp
C++ RPC API for BOINC client.
## Dependencies
- [CMake](https://cmake.org) (3.5+)
- [Boost](http://boost.org) (1.58+)
- [libxml++](https://developer.gnome.org/libxml++/stable/) (2.40+)
## Installation
```
$ mkdir build
$ cd build
$ cmake -DCMAKE_INSTALL_PREFIX=/usr ..
$ make
# make DESTDIR=/usr install
```
## Usage example
```
#include
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;
}
```