1234567891011121314151617181920212223242526 |
- #include "context.h"
- namespace NYT {
- ////////////////////////////////////////////////////////////////////////////////
- bool operator==(const TClientContext& lhs, const TClientContext& rhs)
- {
- return lhs.ServerName == rhs.ServerName &&
- lhs.Token == rhs.Token &&
- lhs.ImpersonationUser == rhs.ImpersonationUser &&
- lhs.ServiceTicketAuth == rhs.ServiceTicketAuth &&
- lhs.HttpClient == rhs.HttpClient &&
- lhs.UseTLS == rhs.UseTLS &&
- lhs.TvmOnly == rhs.TvmOnly &&
- lhs.ProxyAddress == rhs.ProxyAddress;
- }
- bool operator!=(const TClientContext& lhs, const TClientContext& rhs)
- {
- return !(rhs == lhs);
- }
- ////////////////////////////////////////////////////////////////////////////////
- } // namespace NYT
|