Home
last modified time | relevance | path

Searched refs:hInfo (Results 1 – 1 of 1) sorted by relevance

/external/mdnsresponder/mDNSWindows/mdnsNSP/
DmdnsNSP.c213 DEBUG_LOCAL OSStatus HostsFileNext( HostsFile * self, HostsFileInfo ** hInfo );
2064 HostsFileNext( HostsFile * self, HostsFileInfo ** hInfo ) in HostsFileNext() argument
2079 check( hInfo ); in HostsFileNext()
2083 *hInfo = (HostsFileInfo*) malloc( sizeof( HostsFileInfo ) ); in HostsFileNext()
2084 require_action( *hInfo, exit, err = kNoMemoryErr ); in HostsFileNext()
2085 memset( *hInfo, 0, sizeof( HostsFileInfo ) ); in HostsFileNext()
2149 (*hInfo)->m_host.h_name = (char*) malloc( strlen( tok ) + 1 ); in HostsFileNext()
2150 require_action( (*hInfo)->m_host.h_name, exit, err = kNoMemoryErr ); in HostsFileNext()
2151 strcpy( (*hInfo)->m_host.h_name, tok ); in HostsFileNext()
2169 (*hInfo)->m_host.h_addr_list = (char**) malloc( sizeof( char**) * 2 ); in HostsFileNext()
[all …]