aboutsummaryrefslogtreecommitdiff
path: root/include/mod_vcard.hrl
diff options
context:
space:
mode:
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>2016-04-13 17:37:52 +0300
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>2016-04-13 17:37:52 +0300
commitae69f09257c81847f1d2cbb1ea82d398df8b81bb (patch)
tree37bcb53bca7275bc4d4ed0c1164c251c83c158a4 /include/mod_vcard.hrl
parentClean mod_private.erl from DB specific code (diff)
Clean mod_vcard.erl from DB specific code
Diffstat (limited to 'include/mod_vcard.hrl')
-rw-r--r--include/mod_vcard.hrl8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/mod_vcard.hrl b/include/mod_vcard.hrl
new file mode 100644
index 000000000..3bd62b2eb
--- /dev/null
+++ b/include/mod_vcard.hrl
@@ -0,0 +1,8 @@
+-record(vcard_search,
+ {us, user, luser, fn, lfn, family, lfamily, given,
+ lgiven, middle, lmiddle, nickname, lnickname, bday,
+ lbday, ctry, lctry, locality, llocality, email, lemail,
+ orgname, lorgname, orgunit, lorgunit}).
+
+-record(vcard, {us = {<<"">>, <<"">>} :: {binary(), binary()} | binary(),
+ vcard = #xmlel{} :: xmlel()}).