void (*devtool_trybind_probe)(void) = trybind_nop_probe;
void (*devtool_keyrotate_probe)(int stage) = keyrotate_nop_probe;
void (*devtool_trybind_probe)(void) = trybind_nop_probe;
void (*devtool_keyrotate_probe)(int stage) = keyrotate_nop_probe;
/* Return an array of edges in the current network graph.
* Data captures the current state and will not be updated.
/* Return an array of edges in the current network graph.
* Data captures the current state and will not be updated.
// if result is smaller than edges, we have to dealloc all the excess devtool_edge_t
if((size_t)result_size > *nmemb) {
// if result is smaller than edges, we have to dealloc all the excess devtool_edge_t
if((size_t)result_size > *nmemb) {
for splay_each(edge_t, e, mesh->edges) {
// skip edges that do not represent a two-directional connection
for splay_each(edge_t, e, mesh->edges) {
// skip edges that do not represent a two-directional connection
size_t len = strlen(str);
if(fwrite((void *)str, 1, len, stream) != len) {
size_t len = strlen(str);
if(fwrite((void *)str, 1, len, stream) != len) {
memcpy(&status->status, &internal->status, sizeof status->status);
memcpy(&status->address, &internal->address, sizeof status->address);
memcpy(&status->status, &internal->status, sizeof status->status);
memcpy(&status->address, &internal->address, sizeof status->address);
}
meshlink_submesh_t **devtool_get_all_submeshes(meshlink_handle_t *mesh, meshlink_submesh_t **submeshes, size_t *nmemb) {
}
meshlink_submesh_t **devtool_get_all_submeshes(meshlink_handle_t *mesh, meshlink_submesh_t **submeshes, size_t *nmemb) {
*nmemb = mesh->submeshes->count;
result = realloc(submeshes, *nmemb * sizeof(*submeshes));
*nmemb = mesh->submeshes->count;
result = realloc(submeshes, *nmemb * sizeof(*submeshes));
meshlink_handle_t *devtool_open_in_netns(const char *confbase, const char *name, const char *appname, dev_class_t devclass, int netns) {
meshlink_open_params_t *params = meshlink_open_params_init(confbase, name, appname, devclass);
params->netns = dup(netns);
meshlink_handle_t *devtool_open_in_netns(const char *confbase, const char *name, const char *appname, dev_class_t devclass, int netns) {
meshlink_open_params_t *params = meshlink_open_params_init(confbase, name, appname, devclass);
params->netns = dup(netns);