diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-03-17 17:18:59 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-03-17 17:18:59 +0100 |
commit | 56a8a7465ce8a02148a0e6b1bae4d3d7062c78fa (patch) | |
tree | 277cb3c20b8d4ea6081c73740e5ef577afd7b2c9 /mmss | |
parent | 99d3b8e788fd55ab02eb883cdc0b97ebe35bf214 (diff) | |
download | gmrf-56a8a7465ce8a02148a0e6b1bae4d3d7062c78fa.tar gmrf-56a8a7465ce8a02148a0e6b1bae4d3d7062c78fa.zip |
Add protocol debug functions
Diffstat (limited to 'mmss')
-rw-r--r-- | mmss/gmrf.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/mmss/gmrf.cpp b/mmss/gmrf.cpp index b97f1e5..9db3c43 100644 --- a/mmss/gmrf.cpp +++ b/mmss/gmrf.cpp @@ -86,4 +86,19 @@ void gmrf_logf(gmrf_t *gmrf, int priority, const char *format, ...) { va_end(ap); } +void gmrf_debug_init(gmrf_t *gmrf, const uint8_t *node_id, size_t len) { +} + +void gmrf_debug_neigh(gmrf_t *gmrf, gmrf_iface_t *iface, const gmrf_addr_t *addr, float rxcost, float txcost) { +} + +void gmrf_debug_neigh_lost(gmrf_t *gmrf, gmrf_iface_t *iface, const gmrf_addr_t *addr) { +} + +void gmrf_debug_route(gmrf_t *gmrf, const uint8_t *node_id, size_t len, gmrf_iface_t *iface, const gmrf_addr_t *addr, int metric) { +} + +void gmrf_debug_route_lost(gmrf_t *gmrf, const uint8_t *node_id, size_t len) { +} + } |