You may consider waiting until 1.1 is released - a lot has changed and the 1.0 protocol is not forwardly compatible. I'm not entirely clear on what the problem is with the current C++ source, though. Why do you want to rewrite it in C?

Rob