Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

70 lines
959 B

/*++
Copyright(c) 1995 Microsoft Corporation
MODULE NAME
access.h
ABSTRACT
Header file for address accessibility routines.
AUTHOR
Anthony Discolo (adiscolo) 27-Jul-1995
REVISION HISTORY
--*/
LPTSTR
IpAddressToNetbiosName(
IN LPTSTR pszIpAddress,
IN HPORT hPort
);
LPTSTR
IpxAddressToNetbiosName(
IN LPTSTR pszIpxAddress
);
VOID
StringToNodeNumber(
IN PCHAR pszString,
OUT PCHAR pszNode
);
VOID
NodeNumberToString(
IN PCHAR pszNode,
OUT PCHAR pszString
);
BOOLEAN
NetbiosFindName(
IN LPTSTR *pszDevices,
IN DWORD dwcDevices,
IN LPTSTR pszAddress
);
struct hostent *
InetAddressToHostent(
IN LPTSTR pszIpAddress
);
struct hostent *
IpAddressToHostent(
IN LPTSTR pszIpAddress
);
BOOLEAN
PingIpAddress(
IN LPTSTR pszIpAddress
);
VOID
LoadIcmpDll(VOID);
VOID
UnloadIcmpDll(VOID);