desginning and writing the mininode C API