ReactOS 0.4.16-dev-251-ga17b6e9
rnr20lib.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _RNR_CONTEXT
 
struct  _RNR_TEB_DATA
 

Macros

#define DONE   0x01
 
#define REVERSE   0x02
 
#define LOCAL   0x04
 
#define IANA   0x10
 
#define LOOPBACK   0x20
 
#define UDP   0x01
 
#define TCP   0x02
 
#define ATM   0x04
 
#define NBT_MASK   0x01
 
#define DNS_MASK   0x02
 
#define ATM_ADDRESS_LENGTH   20
 
#define WS2_INTERNAL_MAX_ALIAS   16
 
#define MAX_HOSTNAME_LEN   256
 
#define MAXADDRS   16
 

Typedefs

typedef struct _RNR_CONTEXT RNR_CONTEXT
 
typedef struct _RNR_CONTEXTPRNR_CONTEXT
 
typedef struct _RNR_TEB_DATA RNR_TEB_DATA
 
typedef struct _RNR_TEB_DATAPRNR_TEB_DATA
 

Functions

BOOLEAN WINAPI RNRPROV_SockEnterApi (VOID)
 
DWORD WINAPI GetServerAndProtocolsFromString (PWCHAR ServiceString, LPGUID ServiceType, PSERVENT *ReverseServent)
 
DWORD WINAPI FetchPortFromClassInfo (IN DWORD Type, IN LPGUID Guid, IN LPWSASERVICECLASSINFOW ServiceClassInfo)
 
PSERVENT WSPAPI CopyServEntry (IN PSERVENT Servent, IN OUT PULONG_PTR BufferPos, IN OUT PULONG BufferFreeSize, IN OUT PULONG BlobSize, IN BOOLEAN Relative)
 
WORD WINAPI GetDnsQueryTypeFromGuid (IN LPGUID Guid)
 
VOID WSPAPI RnrCtx_ListCleanup (VOID)
 
VOID WSPAPI RnrCtx_Release (PRNR_CONTEXT RnrContext)
 
PRNR_CONTEXT WSPAPI RnrCtx_Get (HANDLE LookupHandle, DWORD dwControlFlags, PLONG Instance)
 
PRNR_CONTEXT WSPAPI RnrCtx_Create (IN HANDLE LookupHandle, IN LPWSTR ServiceName)
 
VOID WSPAPI RnrCtx_DecInstance (IN PRNR_CONTEXT RnrContext)
 
PVOID WSPAPI Temp_AllocZero (IN DWORD Size)
 
PDNS_BLOB WSPAPI Rnr_DoHostnameLookup (IN PRNR_CONTEXT Context)
 
PDNS_BLOB WSPAPI Rnr_GetHostByAddr (IN PRNR_CONTEXT Context)
 
PDNS_BLOB WSPAPI Rnr_DoDnsLookup (IN PRNR_CONTEXT Context)
 
BOOLEAN WINAPI Rnr_CheckIfUseNbt (PRNR_CONTEXT RnrContext)
 
PDNS_BLOB WINAPI Rnr_NbtResolveAddr (IN IN_ADDR Address)
 
PDNS_BLOB WINAPI Rnr_NbtResolveName (IN LPWSTR Name)
 
VOID WSPAPI Rnr_ProcessInit (VOID)
 
VOID WSPAPI Rnr_ProcessCleanup (VOID)
 
BOOLEAN WSPAPI Rnr_ThreadInit (VOID)
 
VOID WSPAPI Rnr_ThreadCleanup (VOID)
 
VOID WSPAPI Nsp_GlobalCleanup (VOID)
 
INT WINAPI Dns_NSPCleanup (IN LPGUID lpProviderId)
 
INT WINAPI Dns_NSPSetService (IN LPGUID lpProviderId, IN LPWSASERVICECLASSINFOW lpServiceClassInfo, IN LPWSAQUERYSETW lpqsRegInfo, IN WSAESETSERVICEOP essOperation, IN DWORD dwControlFlags)
 
INT WINAPI Dns_NSPInstallServiceClass (IN LPGUID lpProviderId, IN LPWSASERVICECLASSINFOW lpServiceClassInfo)
 
INT WINAPI Dns_NSPRemoveServiceClass (IN LPGUID lpProviderId, IN LPGUID lpServiceCallId)
 
INT WINAPI Dns_NSPGetServiceClassInfo (IN LPGUID lpProviderId, IN OUT LPDWORD lpdwBufSize, IN OUT LPWSASERVICECLASSINFOW lpServiceClassInfo)
 
INT WINAPI Dns_NSPLookupServiceBegin (LPGUID lpProviderId, LPWSAQUERYSETW lpqsRestrictions, LPWSASERVICECLASSINFOW lpServiceClassInfo, DWORD dwControlFlags, LPHANDLE lphLookup)
 
INT WINAPI Dns_NSPLookupServiceNext (IN HANDLE hLookup, IN DWORD dwControlFlags, IN OUT LPDWORD lpdwBufferLength, OUT LPWSAQUERYSETW lpqsResults)
 
INT WINAPI Dns_NSPLookupServiceEnd (IN HANDLE hLookup)
 
INT WINAPI Dns_NSPStartup (IN LPGUID lpProviderId, IN OUT LPNSP_ROUTINE lpsnpRoutines)
 

Macro Definition Documentation

◆ ATM

#define ATM   0x04

Definition at line 23 of file rnr20lib.h.

◆ ATM_ADDRESS_LENGTH

#define ATM_ADDRESS_LENGTH   20

Definition at line 259 of file rnr20lib.h.

◆ DNS_MASK

#define DNS_MASK   0x02

Definition at line 27 of file rnr20lib.h.

◆ DONE

#define DONE   0x01

Definition at line 14 of file rnr20lib.h.

◆ IANA

#define IANA   0x10

Definition at line 17 of file rnr20lib.h.

◆ LOCAL

#define LOCAL (   void)    0x04

Definition at line 16 of file rnr20lib.h.

◆ LOOPBACK

#define LOOPBACK   0x20

Definition at line 18 of file rnr20lib.h.

◆ MAX_HOSTNAME_LEN

#define MAX_HOSTNAME_LEN   256

Definition at line 261 of file rnr20lib.h.

◆ MAXADDRS

#define MAXADDRS   16

Definition at line 262 of file rnr20lib.h.

◆ NBT_MASK

#define NBT_MASK   0x01

Definition at line 26 of file rnr20lib.h.

◆ REVERSE

#define REVERSE   0x02

Definition at line 15 of file rnr20lib.h.

◆ TCP

#define TCP   0x02

Definition at line 22 of file rnr20lib.h.

◆ UDP

#define UDP   0x01

Definition at line 21 of file rnr20lib.h.

◆ WS2_INTERNAL_MAX_ALIAS

#define WS2_INTERNAL_MAX_ALIAS   16

Definition at line 260 of file rnr20lib.h.

Typedef Documentation

◆ PRNR_CONTEXT

◆ PRNR_TEB_DATA

◆ RNR_CONTEXT

◆ RNR_TEB_DATA

Function Documentation

◆ CopyServEntry()

PSERVENT WSPAPI CopyServEntry ( IN PSERVENT  Servent,
IN OUT PULONG_PTR  BufferPos,
IN OUT PULONG  BufferFreeSize,
IN OUT PULONG  BlobSize,
IN BOOLEAN  Relative 
)

◆ Dns_NSPCleanup()

INT WINAPI Dns_NSPCleanup ( IN LPGUID  lpProviderId)

◆ Dns_NSPGetServiceClassInfo()

INT WINAPI Dns_NSPGetServiceClassInfo ( IN LPGUID  lpProviderId,
IN OUT LPDWORD  lpdwBufSize,
IN OUT LPWSASERVICECLASSINFOW  lpServiceClassInfo 
)

◆ Dns_NSPInstallServiceClass()

INT WINAPI Dns_NSPInstallServiceClass ( IN LPGUID  lpProviderId,
IN LPWSASERVICECLASSINFOW  lpServiceClassInfo 
)

◆ Dns_NSPLookupServiceBegin()

INT WINAPI Dns_NSPLookupServiceBegin ( LPGUID  lpProviderId,
LPWSAQUERYSETW  lpqsRestrictions,
LPWSASERVICECLASSINFOW  lpServiceClassInfo,
DWORD  dwControlFlags,
LPHANDLE  lphLookup 
)

◆ Dns_NSPLookupServiceEnd()

INT WINAPI Dns_NSPLookupServiceEnd ( IN HANDLE  hLookup)

◆ Dns_NSPLookupServiceNext()

INT WINAPI Dns_NSPLookupServiceNext ( IN HANDLE  hLookup,
IN DWORD  dwControlFlags,
IN OUT LPDWORD  lpdwBufferLength,
OUT LPWSAQUERYSETW  lpqsResults 
)

◆ Dns_NSPRemoveServiceClass()

INT WINAPI Dns_NSPRemoveServiceClass ( IN LPGUID  lpProviderId,
IN LPGUID  lpServiceCallId 
)

◆ Dns_NSPSetService()

INT WINAPI Dns_NSPSetService ( IN LPGUID  lpProviderId,
IN LPWSASERVICECLASSINFOW  lpServiceClassInfo,
IN LPWSAQUERYSETW  lpqsRegInfo,
IN WSAESETSERVICEOP  essOperation,
IN DWORD  dwControlFlags 
)

◆ Dns_NSPStartup()

INT WINAPI Dns_NSPStartup ( IN LPGUID  lpProviderId,
IN OUT LPNSP_ROUTINE  lpsnpRoutines 
)

◆ FetchPortFromClassInfo()

DWORD WINAPI FetchPortFromClassInfo ( IN DWORD  Type,
IN LPGUID  Guid,
IN LPWSASERVICECLASSINFOW  ServiceClassInfo 
)

◆ GetDnsQueryTypeFromGuid()

WORD WINAPI GetDnsQueryTypeFromGuid ( IN LPGUID  Guid)

◆ GetServerAndProtocolsFromString()

DWORD WINAPI GetServerAndProtocolsFromString ( PWCHAR  ServiceString,
LPGUID  ServiceType,
PSERVENT ReverseServent 
)

◆ Nsp_GlobalCleanup()

VOID WSPAPI Nsp_GlobalCleanup ( VOID  )

◆ Rnr_CheckIfUseNbt()

BOOLEAN WINAPI Rnr_CheckIfUseNbt ( PRNR_CONTEXT  RnrContext)

◆ Rnr_DoDnsLookup()

PDNS_BLOB WSPAPI Rnr_DoDnsLookup ( IN PRNR_CONTEXT  Context)

◆ Rnr_DoHostnameLookup()

PDNS_BLOB WSPAPI Rnr_DoHostnameLookup ( IN PRNR_CONTEXT  Context)

◆ Rnr_GetHostByAddr()

PDNS_BLOB WSPAPI Rnr_GetHostByAddr ( IN PRNR_CONTEXT  Context)

◆ Rnr_NbtResolveAddr()

PDNS_BLOB WINAPI Rnr_NbtResolveAddr ( IN IN_ADDR  Address)

◆ Rnr_NbtResolveName()

PDNS_BLOB WINAPI Rnr_NbtResolveName ( IN LPWSTR  Name)

◆ Rnr_ProcessCleanup()

VOID WSPAPI Rnr_ProcessCleanup ( VOID  )

◆ Rnr_ProcessInit()

VOID WSPAPI Rnr_ProcessInit ( VOID  )

◆ Rnr_ThreadCleanup()

VOID WSPAPI Rnr_ThreadCleanup ( VOID  )

◆ Rnr_ThreadInit()

BOOLEAN WSPAPI Rnr_ThreadInit ( VOID  )

◆ RnrCtx_Create()

PRNR_CONTEXT WSPAPI RnrCtx_Create ( IN HANDLE  LookupHandle,
IN LPWSTR  ServiceName 
)

◆ RnrCtx_DecInstance()

VOID WSPAPI RnrCtx_DecInstance ( IN PRNR_CONTEXT  RnrContext)

◆ RnrCtx_Get()

PRNR_CONTEXT WSPAPI RnrCtx_Get ( HANDLE  LookupHandle,
DWORD  dwControlFlags,
PLONG  Instance 
)

◆ RnrCtx_ListCleanup()

VOID WSPAPI RnrCtx_ListCleanup ( VOID  )

◆ RnrCtx_Release()

VOID WSPAPI RnrCtx_Release ( PRNR_CONTEXT  RnrContext)

◆ RNRPROV_SockEnterApi()

BOOLEAN WINAPI RNRPROV_SockEnterApi ( VOID  )

◆ Temp_AllocZero()

PVOID WSPAPI Temp_AllocZero ( IN DWORD  Size)