summaryrefslogtreecommitdiff
path: root/grc/base/Constants.py
diff options
context:
space:
mode:
Diffstat (limited to 'grc/base/Constants.py')
-rw-r--r--grc/base/Constants.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/grc/base/Constants.py b/grc/base/Constants.py
index efae0ecbb5..0c5116c604 100644
--- a/grc/base/Constants.py
+++ b/grc/base/Constants.py
@@ -38,3 +38,11 @@ DOMAIN_DTD = os.path.join(DATA_DIR, 'domain.dtd')
GR_STREAM_DOMAIN = "gr_stream"
GR_MESSAGE_DOMAIN = "gr_message"
DEFAULT_DOMAIN = GR_STREAM_DOMAIN
+
+BLOCK_FLAG_THROTTLE = 'throttle'
+BLOCK_FLAG_DISABLE_BYPASS = 'disable_bypass'
+
+# Block States
+BLOCK_DISABLED = 0
+BLOCK_ENABLED = 1
+BLOCK_BYPASSED = 2