check whether malloc succeeds
new email
test that adapter name gets written to info file
function and its Cython counterpart can have same name
move creation of OptionParser out of main