[botNet] fixes missing "extern "C" {"
[testNet] implements CBR functions (well function remains to be implemented).