Rename some functions

Signed-off-by: John Else <john.else@citrix.com>
Add helper functions for handling int32s

Signed-off-by: John Else <john.else@citrix.com>