rscamper 0.2.2

Rust interface to scamper network measurement tool
Documentation
// rscamper - Rust FFI bindings for scamper_neighbourdisc.h
//
// Copyright (C) 2026 Dimitrios Giakatos
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, version 3.

use libc::{c_char, size_t};

#[repr(C)]
pub struct ScamperNeighbourdiscT {
    _opaque: [u8; 0],
}

unsafe extern "C" {
    pub fn scamper_neighbourdisc_tojson(
        nd: *const ScamperNeighbourdiscT,
        l: *mut size_t,
    ) -> *mut c_char;
    pub fn scamper_neighbourdisc_free(nd: *mut ScamperNeighbourdiscT);
}