mirror of https://github.com/lianthony/NT4.0
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.
59 lines
808 B
59 lines
808 B
/*++
|
|
|
|
Copyright (c) 1992 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
gethost.h
|
|
|
|
Abstract:
|
|
|
|
This file defines the a version of GetHostByName for IPX/SPX for
|
|
dos and windows.
|
|
|
|
Author:
|
|
|
|
31 May 94 AlexMit
|
|
|
|
--*/
|
|
|
|
|
|
#define ENDPOINT_LEN 5
|
|
|
|
RPC_STATUS
|
|
IpxGetHostByName(
|
|
RPC_CHAR __RPC_FAR * name,
|
|
IPX_ADDRESS __RPC_FAR * Address,
|
|
RPC_CHAR __RPC_FAR * endpoint,
|
|
unsigned Timeout
|
|
#ifdef WIN
|
|
, RPC_CLIENT_RUNTIME_INFO * RpcClientRuntimeInfo
|
|
#endif
|
|
);
|
|
|
|
unsigned long
|
|
DosGetTickCount(
|
|
);
|
|
|
|
void
|
|
AddServerToCache(
|
|
char PAPI * Name,
|
|
IPX_ADDRESS PAPI * Address
|
|
);
|
|
|
|
IPX_ADDRESS *
|
|
FindServerInCache(
|
|
char PAPI * Name
|
|
);
|
|
|
|
BOOL
|
|
CachedServerNotContacted(
|
|
char PAPI * Name
|
|
);
|
|
|
|
void
|
|
CachedServerContacted(
|
|
char PAPI * Name
|
|
);
|
|
|
|
|