aboutsummaryrefslogtreecommitdiff
path: root/include/mod_shared_roster.hrl
diff options
context:
space:
mode:
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>2016-04-14 11:45:43 +0300
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>2016-04-14 11:45:43 +0300
commitf8e3560ad262cdc1734b2ba565de2e0e0afe9f8b (patch)
treefeba7cb0f7a4a4866e25b2e531b2e1846868ab13 /include/mod_shared_roster.hrl
parentClean mod_roster.erl from DB specific code (diff)
Clean mod_shared_roster.erl from DB specific code
Diffstat (limited to '')
-rw-r--r--include/mod_shared_roster.hrl5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/mod_shared_roster.hrl b/include/mod_shared_roster.hrl
new file mode 100644
index 000000000..1f96b3034
--- /dev/null
+++ b/include/mod_shared_roster.hrl
@@ -0,0 +1,5 @@
+-record(sr_group, {group_host = {<<"">>, <<"">>} :: {'$1' | binary(), '$2' | binary()},
+ opts = [] :: list() | '_' | '$2'}).
+
+-record(sr_user, {us = {<<"">>, <<"">>} :: {binary(), binary()},
+ group_host = {<<"">>, <<"">>} :: {binary(), binary()}}).