1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-23 02:35:57 +01:00

Add TINS_API to DataTracker and AckTracker classes

This commit is contained in:
Matias Fontanini
2016-05-08 09:38:52 -07:00
parent 7f30efab38
commit d070978a54
2 changed files with 5 additions and 3 deletions

View File

@@ -36,6 +36,7 @@
#include <vector>
#include <boost/icl/interval_set.hpp>
#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<uint32_t> 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

View File

@@ -34,6 +34,7 @@
#include <map>
#include <stdint.h>
#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