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.
 
 
 
 
 
 

86 lines
1.5 KiB

/*++
Copyright (C) Microsoft Corporation, 1991 - 1999
Module Name:
tower.c
Abstract:
This file accompanies tower.c
Author:
Bharat Shah (barats) 3-25-92
Revision History:
--*/
//Function Prototypes
#ifdef __cplusplus
extern "C" {
#endif
RPC_STATUS
TowerExplode(
twr_p_t Tower,
RPC_IF_ID PAPI * Ifid,
RPC_TRANSFER_SYNTAX PAPI * XferId,
char PAPI * PAPI * Protseq,
char PAPI * PAPI * Endpoint,
char PAPI * PAPI * NWAddress
);
RPC_STATUS
OsfTowerConstruct(
char PAPI * ProtocolSeq,
char PAPI * Endpoint,
char PAPI * NetworkAddress,
unsigned short PAPI * Floors,
unsigned long PAPI * ByteCount,
unsigned char PAPI * PAPI * Tower
);
RPC_STATUS
OsfTowerExplode(
IN BYTE *Floor,
IN BYTE *UpperBound,
IN ULONG RemainingFloors,
OUT char PAPI * PAPI * Protseq, OPTIONAL
OUT char PAPI * PAPI * Endpoint, OPTIONAL
OUT char PAPI * PAPI * NWAddress OPTIONAL
);
RPC_STATUS
TowerConstruct(
RPC_IF_ID PAPI * Ifid,
RPC_TRANSFER_SYNTAX PAPI * Xferid,
char PAPI * Protseq,
char PAPI * Endpoint,
char PAPI * NWAddress,
twr_p_t PAPI * Tower
);
RPC_STATUS
ExtractStringFromUntrustedPacket (
IN BYTE *UpperBound,
IN ULONG ClaimedStringLength,
IN char *StringStart,
OUT char **ExtractedString
);
BYTE *
VerifyFloorLHSAndRHS (
IN BYTE *FloorStart,
IN BYTE *UpperBound,
IN ULONG FloorNum
);
#ifdef __cplusplus
}
#endif