sensors.cpp \
handlers.cpp \
utils.cpp \
- types.cpp \
- asn1/DisplayString.c \
- asn1/PhysAddress.c \
- asn1/IfEntry.c \
- asn1/AtEntry.c \
- asn1/IpAddrEntry.c \
- asn1/IpRouteEntry.c \
- asn1/IpNetToMediaEntry.c \
- asn1/TcpConnEntry.c \
- asn1/UdpEntry.c \
- asn1/EgpNeighEntry.c \
- asn1/ObjectName.c \
- asn1/ObjectSyntax.c \
- asn1/SimpleSyntax.c \
- asn1/ApplicationSyntax.c \
- asn1/NetworkAddress.c \
- asn1/IpAddress.c \
- asn1/Counter.c \
- asn1/Gauge.c \
- asn1/TimeTicks.c \
- asn1/Opaque.c \
- asn1/Message.c \
- asn1/PDUs.c \
- asn1/GetRequest-PDU.c \
- asn1/GetNextRequest-PDU.c \
- asn1/GetResponse-PDU.c \
- asn1/SetRequest-PDU.c \
- asn1/PDU.c \
- asn1/Trap-PDU.c \
- asn1/VarBind.c \
- asn1/VarBindList.c \
- asn1/SMUX-PDUs.c \
- asn1/OpenPDU.c \
- asn1/SimpleOpen.c \
- asn1/ClosePDU.c \
- asn1/RReqPDU.c \
- asn1/RRspPDU.c \
- asn1/SOutPDU.c \
- asn1/ANY.c \
- asn1/BOOLEAN.c \
- asn1/INTEGER.c \
- asn1/NULL.c \
- asn1/NativeEnumerated.c \
- asn1/NativeInteger.c \
- asn1/OBJECT_IDENTIFIER.c \
- asn1/asn_SEQUENCE_OF.c \
- asn1/asn_SET_OF.c \
- asn1/constr_CHOICE.c \
- asn1/constr_SEQUENCE.c \
- asn1/constr_SEQUENCE_OF.c \
- asn1/constr_SET_OF.c \
- asn1/OCTET_STRING.c \
- asn1/BIT_STRING.c \
- asn1/asn_codecs_prim.c \
- asn1/ber_tlv_length.c \
- asn1/ber_tlv_tag.c \
- asn1/ber_decoder.c \
- asn1/der_encoder.c \
- asn1/constr_TYPE.c \
- asn1/constraints.c \
- asn1/xer_support.c \
- asn1/xer_decoder.c \
- asn1/xer_encoder.c \
- asn1/per_support.c \
- asn1/per_decoder.c \
- asn1/per_encoder.c
+ types.cpp
-STGLIBS = -lstgcommon
+STGLIBS = -lstgcommon -lstgsmux
CXXFLAGS += -Iasn1
-#include "asn1/GetRequest-PDU.h"
-#include "asn1/GetResponse-PDU.h"
-#include "asn1/VarBindList.h"
-#include "asn1/VarBind.h"
+#include "stg/GetRequest-PDU.h"
+#include "stg/GetResponse-PDU.h"
+#include "stg/VarBindList.h"
+#include "stg/VarBind.h"
#include "stg/common.h"
-#include "asn1/INTEGER.h"
+#include "stg/INTEGER.h"
#include "stg/user.h"
#include "stg/tariffs.h"
#include "stg/user_property.h"
-#include "asn1/ObjectSyntax.h"
+#include "stg/ObjectSyntax.h"
#include "value2os.h"
#include "types.h"
#include <string>
#include <map>
-#include "asn1/SMUX-PDUs.h"
-#include "asn1/ObjectSyntax.h"
+#include "stg/SMUX-PDUs.h"
+#include "stg/ObjectSyntax.h"
#include "stg/os_int.h"
#include "stg/plugin.h"
#include <vector>
#include <istream>
-#include "asn1/OBJECT_IDENTIFIER.h"
+#include "stg/OBJECT_IDENTIFIER.h"
class OID {
public:
#include "stg/common.h"
-#include "asn1/OpenPDU.h"
-#include "asn1/ClosePDU.h"
-#include "asn1/RReqPDU.h"
-#include "asn1/ber_decoder.h"
-#include "asn1/der_encoder.h"
+#include "stg/OpenPDU.h"
+#include "stg/ClosePDU.h"
+#include "stg/RReqPDU.h"
+#include "stg/ber_decoder.h"
+#include "stg/der_encoder.h"
#include "pen.h"
#include "utils.h"
#include <string>
-#include "asn1/OBJECT_IDENTIFIER.h"
-#include "SMUX-PDUs.h"
-#include "asn1/GetResponse-PDU.h"
+#include "stg/OBJECT_IDENTIFIER.h"
+#include "stg/SMUX-PDUs.h"
+#include "stg/GetResponse-PDU.h"
bool WaitPackets(int sd);
bool String2OI(const std::string & str, OBJECT_IDENTIFIER_t * oi);
#ifndef __VALUE_2_OS_H__
#define __VALUE_2_OS_H__
+#include "stg/ObjectSyntax.h"
+
template <typename T>
bool ValueToOS(const T & value, ObjectSyntax * objectSyntax);