29 lines
677 B
C
29 lines
677 B
C
![]() |
// SPDX-License-Identifier: MIT
|
||
|
/**
|
||
|
Copyright (c) 2015 - 2022 Beckhoff Automation GmbH & Co. KG
|
||
|
*/
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#if defined(USE_TWINCAT_ROUTER)
|
||
|
#include "TwinCAT/AdsDef.h"
|
||
|
#else
|
||
|
#include "Standalone/AdsDef.h"
|
||
|
#endif
|
||
|
#include <iosfwd>
|
||
|
|
||
|
namespace Beckhoff
|
||
|
{
|
||
|
namespace Ads
|
||
|
{
|
||
|
bool operator<(const AmsNetId& lhs, const AmsNetId& rhs);
|
||
|
bool operator==(const AmsNetId& lhs, const AmsNetId& rhs);
|
||
|
bool operator<(const AmsAddr& lhs, const AmsAddr& rhs);
|
||
|
bool operator==(const AmsAddr& lhs, const AmsAddr& rhs);
|
||
|
std::ostream& operator<<(std::ostream& os, const AmsNetId& netId);
|
||
|
|
||
|
enum nSystemServiceOpenFile : uint32_t {
|
||
|
SYSTEMSERVICE_OPENGENERIC /*[[deprecated]]*/ = 1,
|
||
|
};
|
||
|
}
|
||
|
}
|