summaryrefslogtreecommitdiffstats
path: root/src/bp_sim.h
diff options
context:
space:
mode:
authorIdo Barnea <ibarnea@cisco.com>2016-08-08 11:01:51 +0300
committerIdo Barnea <ibarnea@cisco.com>2016-08-08 11:01:51 +0300
commit2067ee3de8e6664e66f872a0b5c6d1b68b99625a (patch)
tree8882d82eb06660e6b3e89c5776a0c47a5e6e3bb0 /src/bp_sim.h
parent7cecfd8ac5537e2128af95660c19f8bb4955a8a0 (diff)
Adding --no-close option
Diffstat (limited to 'src/bp_sim.h')
-rwxr-xr-xsrc/bp_sim.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/bp_sim.h b/src/bp_sim.h
index 5516dc94..b32534e5 100755
--- a/src/bp_sim.h
+++ b/src/bp_sim.h
@@ -711,6 +711,14 @@ public:
return (btGetMaskBit32(m_flags1, 8, 8) ? true : false);
}
+ void setNoCloseEnable(bool enable) {
+ btSetMaskBit32(m_flags1, 9, 9, (enable ? 1 : 0) );
+ }
+
+ bool getNoCloseEnable(){
+ return (btGetMaskBit32(m_flags1, 9, 9) ? true : false);
+ }
+
public:
void Dump(FILE *fd);