Fix issue 417 - split AFD ioctl handling into a separate function; also re-factor the pre/post handlers of different ioctls
Fix issue 417 - split AFD ioctl handling into a separate function; also re-factor the pre/post handlers of different ioctls

git-svn-id: fe3cd4388a6e5a968b09397a3d721fe124e8117a@313 5b54908e-ead4-fc18-b48a-0285e6dbc711

rnk/drmemory,rnk/drmemory,rnk/drmemory,rnk/drmemory