aboutsummaryrefslogtreecommitdiff
path: root/nxcomp/Types.h
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-04-19 10:47:43 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-04-19 10:47:43 +0200
commit03b65211260ff757b35a367f8936fd5e882ce56c (patch)
tree014155ca365a93687f99ea6492dd2c9d3e80593e /nxcomp/Types.h
parent2ffe52c5ecb7cf6af111c685eee7f8fcfd1139a9 (diff)
parent5c495241069708e9b1bbf6e57fd49599be540b63 (diff)
downloadnx-libs-03b65211260ff757b35a367f8936fd5e882ce56c.tar.gz
nx-libs-03b65211260ff757b35a367f8936fd5e882ce56c.tar.bz2
nx-libs-03b65211260ff757b35a367f8936fd5e882ce56c.zip
Merge branch 'fcarvajaldev-3.6.x-remove-old-proto-compat' into 3.6.x
Diffstat (limited to 'nxcomp/Types.h')
-rw-r--r--nxcomp/Types.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/nxcomp/Types.h b/nxcomp/Types.h
index b7506124e..f4a3eb399 100644
--- a/nxcomp/Types.h
+++ b/nxcomp/Types.h
@@ -199,18 +199,18 @@ T_buffer;
// received at the decoding side.
//
+// Since ProtoStep8 (#issue 108)
enum T_store_action
{
is_hit,
is_added,
is_discarded,
- is_removed,
- is_added_compat = 0,
- is_hit_compat = 1
+ is_removed
};
-#define IS_HIT (control -> isProtoStep8() == 1 ? is_hit : is_hit_compat)
-#define IS_ADDED (control -> isProtoStep8() == 1 ? is_added : is_added_compat)
+// Since ProtoStep8 (#issue 108)
+#define IS_HIT is_hit
+#define IS_ADDED is_added
enum T_checksum_action
{