//========= Copyright 1996-2004, Valve LLC, All rights reserved. ============ // // Purpose: // // $NoKeywords: $ //============================================================================= #ifndef STEAMTYPES_H #define STEAMTYPES_H #ifdef _WIN32 #pragma once #endif // Steam-specific types. Defined here so this header file can be included in other code bases. #ifndef WCHARTYPES_H typedef unsigned char uint8; #endif #ifdef __x86_64__ #define X64BITS #endif #if defined( _WIN32 ) typedef __int16 int16; typedef unsigned __int16 uint16; typedef __int32 int32; typedef unsigned __int32 uint32; typedef __int64 int64; typedef unsigned __int64 uint64; typedef __int32 intp; // intp is an integer that can accomodate a pointer typedef unsigned __int32 uintp; // (ie, sizeof(intp) >= sizeof(int) && sizeof(intp) >= sizeof(void *) #else // _WIN32 typedef short int16; typedef unsigned short uint16; typedef int int32; typedef unsigned int uint32; typedef long long int64; typedef unsigned long long uint64; #ifdef X64BITS typedef long long intp; typedef unsigned long long uintp; #else typedef int intp; typedef unsigned int uintp; #endif #endif // else _WIN32 const int k_cubDigestSize = 20; // CryptoPP::SHA::DIGESTSIZE const int k_cubSaltSize = 8; typedef uint8 SHADigest_t[ k_cubDigestSize ]; typedef uint8 Salt_t[ k_cubSaltSize ]; #endif // STEAMTYPES_H
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 5821 | Knut Wikstrom |
Added Valve Source code. This is NOT to be commited to other than new code from Valve. |