Home | Info | Community | Development | myReactOS | Contact Us
[read]
Definition at line 96 of file tree.c.
Referenced by tree_host_lookup().
{ struct dns_host_entry *dh; if (!(dh = (struct dns_host_entry *)dmalloc (sizeof (struct dns_host_entry), "enter_dns_host")) || !(dh -> hostname = dmalloc (strlen (name) + 1, "enter_dns_host"))) error ("Can't allocate space for new host."); strcpy (dh -> hostname, name); dh -> data = (unsigned char *)0; dh -> data_len = 0; dh -> buf_len = 0; dh -> timeout = 0; return dh; }