mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-21 12:49:10 +00:00
Convert custom HeadSpin integer types to standard types from stdint.h
This commit is contained in:
@ -73,7 +73,7 @@ class plNetAddress
|
||||
|
||||
public:
|
||||
plNetAddress();
|
||||
plNetAddress(UInt32 addr, int port);
|
||||
plNetAddress(uint32_t addr, int port);
|
||||
plNetAddress(const char * addr, int port);
|
||||
virtual ~plNetAddress(){}
|
||||
|
||||
@ -82,10 +82,10 @@ public:
|
||||
bool SetAnyPort();
|
||||
bool SetPort(int port);
|
||||
bool SetHost(const char * hostname);
|
||||
bool SetHost(UInt32 ip4addr);
|
||||
bool SetHost(uint32_t ip4addr);
|
||||
int GetPort() const;
|
||||
std::string GetHostString() const;
|
||||
UInt32 GetHost() const;
|
||||
uint32_t GetHost() const;
|
||||
std::string GetHostWithPort() const;
|
||||
const AddressType & GetAddressInfo() const { return fAddr; }
|
||||
AddressType & GetAddressInfo() { return fAddr; }
|
||||
|
Reference in New Issue
Block a user