Add xgethostbyname and herror_msg* functions.