replace direct struct access with accessor functions in order to make it build with GSEAL_ENABLE
Merge pull request #15 from eyelash/gseal

replace direct struct access with accessor functions