prototype of hostname-module using ctypes