aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmosdr/ranges.h
diff options
context:
space:
mode:
authorDimitri Stolnikov <horiz0n@gmx.net>2014-05-03 22:25:23 +0200
committerDimitri Stolnikov <horiz0n@gmx.net>2014-11-25 20:47:59 +0100
commitaa4094b3fd103a5b7fbcd3b8a0e225cfe70a6c6f (patch)
tree14d075a6fc39e9438bde344e74f795dbac817760 /include/osmosdr/ranges.h
parentda27f3fb0a614c2cb9f5f867be8df77f53058f28 (diff)
introduce time & clock synchronisation APIs
Diffstat (limited to 'include/osmosdr/ranges.h')
-rw-r--r--include/osmosdr/ranges.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/osmosdr/ranges.h b/include/osmosdr/ranges.h
index ccb2dbc..77d5026 100644
--- a/include/osmosdr/ranges.h
+++ b/include/osmosdr/ranges.h
@@ -25,6 +25,12 @@
namespace osmosdr{
+ //! A wildcard motherboard index
+ static const size_t ALL_MBOARDS = size_t(~0);
+
+ //! A wildcard channel index
+ static const size_t ALL_CHANS = size_t(~0);
+
/*!
* A range object describes a set of discrete values of the form:
* y = start + step*n, where n is an integer between 0 and (stop - start)/step