summaryrefslogtreecommitdiff
path: root/src/mod_privacy.hrl
diff options
context:
space:
mode:
authorMickaël Rémond <mickael.remond@process-one.net>2007-07-26 09:13:31 +0000
committerMickaël Rémond <mickael.remond@process-one.net>2007-07-26 09:13:31 +0000
commitad16c0f4a4c65fbd852b3b9c14807676fef2bdac (patch)
treecf8d5d8abe0bee0929e6fe3093e9766f339a9840 /src/mod_privacy.hrl
parent* src/mod_roster_odbc.erl: Fixed wrong call. (diff)
* src/mod_last.erl: Adapted to mod_privacy changes.
* src/mod_privacy.erl: Refactoring to extract records in include file. * src/mod_privacy.hrl: Likewise. SVN Revision: 825
Diffstat (limited to 'src/mod_privacy.hrl')
-rw-r--r--src/mod_privacy.hrl16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/mod_privacy.hrl b/src/mod_privacy.hrl
new file mode 100644
index 00000000..4b33c90a
--- /dev/null
+++ b/src/mod_privacy.hrl
@@ -0,0 +1,16 @@
+-record(privacy, {us,
+ default = none,
+ lists = []}).
+
+-record(listitem, {type = none,
+ value = none,
+ action,
+ order,
+ match_all = false,
+ match_iq = false,
+ match_message = false,
+ match_presence_in = false,
+ match_presence_out = false
+ }).
+
+-record(userlist, {name = none, list = []}).