My leaky memory says a colleague created a
VFS just for modem brain-damage, with each
operation having a pointer-to-function
and a pointer-to-string-parameter. The
usual code was 'send string and expect
return code', but sometimes there was a whole
mess of stuff in the code (;-))