aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ejabberd.hrl2
-rw-r--r--include/xmpp_codec.hrl10
2 files changed, 6 insertions, 6 deletions
diff --git a/include/ejabberd.hrl b/include/ejabberd.hrl
index a97474d2b..7a6df5644 100644
--- a/include/ejabberd.hrl
+++ b/include/ejabberd.hrl
@@ -64,7 +64,7 @@
-define(TDICT, dict:dict()).
-define(TGB_TREE, gb_trees:tree()).
--define(TGB_SET, gb_set:set()).
+-define(TGB_SET, gb_sets:set()).
-define(TQUEUE, queue:queue()).
-endif.
diff --git a/include/xmpp_codec.hrl b/include/xmpp_codec.hrl
index 935607de9..3424ec3b9 100644
--- a/include/xmpp_codec.hrl
+++ b/include/xmpp_codec.hrl
@@ -178,8 +178,8 @@
-record(private, {xml_els = [] :: [fxml:xmlel()]}).
-type private() :: #private{}.
--record(db_verify, {from :: jid:jid(),
- to :: jid:jid(),
+-record(db_verify, {from = <<>> :: binary(),
+ to = <<>> :: binary(),
id = <<>> :: binary(),
type :: 'error' | 'invalid' | 'valid',
key = <<>> :: binary(),
@@ -361,7 +361,7 @@
-record(caps, {node = <<>> :: binary(),
version = <<>> :: binary(),
hash = <<>> :: binary(),
- exts = [] :: binary() | []}).
+ exts = [] :: [binary()]}).
-type caps() :: #caps{}.
-record(muc, {history :: #muc_history{},
@@ -428,8 +428,8 @@
userid :: binary()}).
-type vcard_email() :: #vcard_email{}.
--record(db_result, {from :: jid:jid(),
- to :: jid:jid(),
+-record(db_result, {from = <<>> :: binary(),
+ to = <<>> :: binary(),
type :: 'error' | 'invalid' | 'valid',
key = <<>> :: binary(),
sub_els = [] :: [xmpp_element() | fxml:xmlel()]}).