sdl_net functions added