clang-format this branch

This commit is contained in:
Adam Ierymenko 2025-07-03 12:02:18 -04:00
commit 342fa9d33f
No known key found for this signature in database
GPG key ID: C8877CF2D7A5D7F3
135 changed files with 42729 additions and 42439 deletions

View file

@ -36,30 +36,30 @@ class PortMapperImpl;
* UPnP/NAT-PnP port mapping "daemon"
*/
class PortMapper {
friend class PortMapperImpl;
friend class PortMapperImpl;
public:
/**
* Create and start port mapper service
*
* @param localUdpPortToMap Port we want visible to the outside world
* @param name Unique name of this endpoint (based on ZeroTier address)
*/
PortMapper(int localUdpPortToMap, const char* uniqueName);
/**
* Create and start port mapper service
*
* @param localUdpPortToMap Port we want visible to the outside world
* @param name Unique name of this endpoint (based on ZeroTier address)
*/
PortMapper(int localUdpPortToMap, const char* uniqueName);
~PortMapper();
~PortMapper();
/**
* @return All current external mappings for our port
*/
std::vector<InetAddress> get() const;
/**
* @return All current external mappings for our port
*/
std::vector<InetAddress> get() const;
private:
PortMapperImpl* _impl;
PortMapperImpl* _impl;
};
} // namespace ZeroTier
} // namespace ZeroTier
#endif
#endif // ZT_USE_MINIUPNPC
#endif // ZT_USE_MINIUPNPC