--- a/src/internet/model/tcp-socket.h Thu Oct 02 21:05:15 2014 -0700
+++ b/src/internet/model/tcp-socket.h Thu Oct 02 21:17:48 2014 -0700
@@ -36,7 +36,10 @@
class Packet;
/**
+ * \ingroup tcp
* \brief Names of the 11 TCP states
+ *
+ * \todo This should be a member of TcpSocket.
*/
typedef enum {
CLOSED, // 0
@@ -54,6 +57,16 @@
} TcpStates_t;
/**
+ * \ingroup tcp
+ * TracedValue Callback signature for TcpStates_t
+ *
+ * \param [in] oldValue original value of the traced variable
+ * \param [in] newValue new value of the traced variable
+ */
+typedef void (* TcpStatesTracedValueCallback)(const TcpStates_t oldValue,
+ const TcpStates_t newValue);
+
+/**
* \ingroup socket
*
* \brief (abstract) base class of all TcpSockets