Compatibility
Since OpenSSN is almost never run with options, you can put a big #ifndef WIN32 around the entire getopts section.
As for moving to C++ STL, it's not going to happen. That code is far to cumbersome and heavy to work with for a project like this. I had to tear a whole bunch of it out earlier to get things to run properly.
|