From d070978a544edde8475d0c3425b93544683b6c4d Mon Sep 17 00:00:00 2001 From: Matias Fontanini Date: Sun, 8 May 2016 09:38:52 -0700 Subject: [PATCH] Add TINS_API to DataTracker and AckTracker classes --- include/tins/tcp_ip/ack_tracker.h | 5 +++-- include/tins/tcp_ip/data_tracker.h | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/include/tins/tcp_ip/ack_tracker.h b/include/tins/tcp_ip/ack_tracker.h index 9453108..606f089 100644 --- a/include/tins/tcp_ip/ack_tracker.h +++ b/include/tins/tcp_ip/ack_tracker.h @@ -36,6 +36,7 @@ #include #include +#include "../macros.h" namespace Tins { @@ -48,7 +49,7 @@ namespace TCPIP { * * The interval represented by this range is a closed interval [first, last]. */ -class AckedRange { +class TINS_API AckedRange { public: typedef boost::icl::discrete_interval interval_type; @@ -90,7 +91,7 @@ private: /** * \brief Allows tracking acknowledged intervals in a TCP stream */ -class AckTracker { +class TINS_API AckTracker { public: /** * The type used to store ACKed intervals diff --git a/include/tins/tcp_ip/data_tracker.h b/include/tins/tcp_ip/data_tracker.h index 774e9ad..07013e8 100644 --- a/include/tins/tcp_ip/data_tracker.h +++ b/include/tins/tcp_ip/data_tracker.h @@ -34,6 +34,7 @@ #include #include #include "../config.h" +#include "../macros.h" #ifdef TINS_HAVE_TCPIP @@ -46,7 +47,7 @@ namespace TCPIP { * Stores and tracks data in a TCP stream, reassembling segments, handling * out of order packets, etc. */ -class DataTracker { +class TINS_API DataTracker { public: /** * The type used to store the payload