Merge branch 'master' into demobranch
This commit is contained in:
commit
747bc4d328
@ -105,6 +105,13 @@ int NeoComm_import_nodes(const char *node_file);
|
|||||||
*/
|
*/
|
||||||
int NeoComm_export_nodes(const char *node_file);
|
int NeoComm_export_nodes(const char *node_file);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Retrieve statistics about the local node.
|
||||||
|
*
|
||||||
|
* @return A text description of the local node's status.
|
||||||
|
*/
|
||||||
|
const char *NeoComm_get_node_stats();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Join a channel.
|
* @brief Join a channel.
|
||||||
*
|
*
|
||||||
|
@ -112,3 +112,7 @@ int NeoComm_export_nodes(const char *node_file) {
|
|||||||
msgpack::pack(export_file, node.exportNodes());
|
msgpack::pack(export_file, node.exportNodes());
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const char *NeoComm_get_node_stats() {
|
||||||
|
return node.getNodesStats(AF_UNSPEC).toString().c_str();
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user