books/bookvol5 inline structure accesses

Turn structure access functions into macros to inline code.