summaryrefslogtreecommitdiff
path: root/include/vhost.hrl
diff options
context:
space:
mode:
Diffstat (limited to 'include/vhost.hrl')
-rw-r--r--include/vhost.hrl6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/vhost.hrl b/include/vhost.hrl
new file mode 100644
index 0000000000..d3abc0dd2a
--- /dev/null
+++ b/include/vhost.hrl
@@ -0,0 +1,6 @@
+-include("vhost_v1.hrl").
+-include("vhost_v2.hrl").
+
+-define(is_vhost(V),
+ (?is_vhost_v2(V) orelse
+ ?is_vhost_v1(V))).