2013-06-14 10:47:50 +02:00
|
|
|
%% Created automatically by XML generator (xml_gen.erl)
|
|
|
|
%% Source: xmpp_codec.spec
|
2013-06-15 15:28:14 +02:00
|
|
|
%% Date: Sat, 15 Jun 2013 09:36:14 GMT
|
2013-06-14 10:47:50 +02:00
|
|
|
|
2013-04-08 11:12:54 +02:00
|
|
|
-record(last, {seconds, text}).
|
|
|
|
|
2013-06-13 18:34:45 +02:00
|
|
|
-record(version,
|
|
|
|
{version_name, version_ver, version_os}).
|
2013-04-08 11:12:54 +02:00
|
|
|
|
|
|
|
-record(roster_item,
|
|
|
|
{jid, name, groups = [], subscription = none, ask}).
|
|
|
|
|
2013-06-15 15:28:14 +02:00
|
|
|
-record(roster, {items = [], ver}).
|
2013-06-13 18:34:45 +02:00
|
|
|
|
2013-04-08 11:12:54 +02:00
|
|
|
-record(privacy_item,
|
|
|
|
{order, action, type, value, stanza}).
|
|
|
|
|
2013-06-13 18:34:45 +02:00
|
|
|
-record(privacy_list, {name, items = []}).
|
2013-04-08 11:12:54 +02:00
|
|
|
|
2013-06-13 18:34:45 +02:00
|
|
|
-record(privacy, {lists = [], default, active}).
|
2013-04-08 11:12:54 +02:00
|
|
|
|
2013-06-13 18:34:45 +02:00
|
|
|
-record(block, {items = []}).
|
2013-04-08 11:12:54 +02:00
|
|
|
|
2013-06-13 18:34:45 +02:00
|
|
|
-record(unblock, {items = []}).
|
2013-04-08 11:12:54 +02:00
|
|
|
|
|
|
|
-record(block_list, {}).
|
|
|
|
|
2013-06-13 18:34:45 +02:00
|
|
|
-record(identity, {category, type, name}).
|
|
|
|
|
2013-04-08 11:12:54 +02:00
|
|
|
-record(disco_info,
|
|
|
|
{node, identity = [], feature = [], xdata = []}).
|
|
|
|
|
|
|
|
-record(disco_item, {jid, name, node}).
|
|
|
|
|
2013-06-13 18:34:45 +02:00
|
|
|
-record(disco_items, {node, items = []}).
|
|
|
|
|
2013-04-08 11:12:54 +02:00
|
|
|
-record(private, {sub_els = []}).
|
|
|
|
|
|
|
|
-record(bookmark_conference,
|
|
|
|
{name, jid, autojoin = false, nick, password}).
|
|
|
|
|
|
|
|
-record(bookmark_url, {name, url}).
|
|
|
|
|
2013-06-13 18:34:45 +02:00
|
|
|
-record(bookmark_storage, {conference = [], url = []}).
|
2013-04-08 11:12:54 +02:00
|
|
|
|
|
|
|
-record(stat, {name, units, value, error = []}).
|
|
|
|
|
2013-06-13 18:34:45 +02:00
|
|
|
-record(stats, {stat = []}).
|
|
|
|
|
2013-04-08 11:12:54 +02:00
|
|
|
-record(iq,
|
|
|
|
{id, type, lang, from, to, error, sub_els = []}).
|
|
|
|
|
|
|
|
-record(message,
|
|
|
|
{id, type = normal, lang, from, to, subject = [],
|
|
|
|
body = [], thread, error, sub_els = []}).
|
|
|
|
|
|
|
|
-record(presence,
|
|
|
|
{id, type, lang, from, to, show, status = [], priority,
|
|
|
|
error, sub_els = []}).
|
|
|
|
|
2013-06-13 18:34:45 +02:00
|
|
|
-record(gone, {uri}).
|
2013-04-08 11:12:54 +02:00
|
|
|
|
2013-06-13 18:34:45 +02:00
|
|
|
-record(redirect, {uri}).
|
2013-04-08 11:12:54 +02:00
|
|
|
|
2013-06-13 18:34:45 +02:00
|
|
|
-record(error, {type, by, reason, text}).
|
2013-04-08 11:12:54 +02:00
|
|
|
|
|
|
|
-record(bind, {jid, resource}).
|
|
|
|
|
2013-06-13 18:34:45 +02:00
|
|
|
-record(sasl_auth, {mechanism, text}).
|
2013-04-08 11:12:54 +02:00
|
|
|
|
|
|
|
-record(sasl_abort, {}).
|
|
|
|
|
2013-06-13 18:34:45 +02:00
|
|
|
-record(sasl_challenge, {text}).
|
2013-04-08 11:12:54 +02:00
|
|
|
|
2013-06-13 18:34:45 +02:00
|
|
|
-record(sasl_response, {text}).
|
2013-04-08 11:12:54 +02:00
|
|
|
|
2013-06-13 18:34:45 +02:00
|
|
|
-record(sasl_success, {text}).
|
2013-04-08 11:12:54 +02:00
|
|
|
|
2013-06-13 18:34:45 +02:00
|
|
|
-record(sasl_failure, {reason, text = []}).
|
2013-04-08 11:12:54 +02:00
|
|
|
|
2013-06-13 18:34:45 +02:00
|
|
|
-record(sasl_mechanisms, {list = []}).
|
2013-04-08 11:12:54 +02:00
|
|
|
|
|
|
|
-record(starttls, {required = false}).
|
|
|
|
|
|
|
|
-record(starttls_proceed, {}).
|
|
|
|
|
|
|
|
-record(starttls_failure, {}).
|
|
|
|
|
2013-06-14 16:45:04 +02:00
|
|
|
-record(compress_failure, {reason}).
|
|
|
|
|
|
|
|
-record(compress, {methods = []}).
|
|
|
|
|
|
|
|
-record(compressed, {}).
|
|
|
|
|
|
|
|
-record(compression, {methods = []}).
|
|
|
|
|
2013-04-08 11:12:54 +02:00
|
|
|
-record(stream_features, {sub_els = []}).
|
|
|
|
|
|
|
|
-record(p1_push, {}).
|
|
|
|
|
|
|
|
-record(p1_rebind, {}).
|
|
|
|
|
|
|
|
-record(p1_ack, {}).
|
|
|
|
|
|
|
|
-record(caps, {hash, node, ver}).
|
|
|
|
|
2013-06-14 10:47:50 +02:00
|
|
|
-record(feature_register, {}).
|
|
|
|
|
|
|
|
-record(register,
|
2013-06-14 18:58:26 +02:00
|
|
|
{registered = false, remove = false, instructions,
|
|
|
|
username, nick, password, name, first, last, email,
|
|
|
|
address, city, state, zip, phone, url, date, misc, text,
|
|
|
|
key}).
|
2013-04-08 11:12:54 +02:00
|
|
|
|
|
|
|
-record(session, {}).
|
|
|
|
|
|
|
|
-record(ping, {}).
|
|
|
|
|
|
|
|
-record(time, {tzo, utc}).
|
|
|
|
|
2013-06-13 18:34:45 +02:00
|
|
|
-record('see-other-host', {host}).
|
2013-04-08 11:12:54 +02:00
|
|
|
|
2013-06-13 18:34:45 +02:00
|
|
|
-record(stream_error, {reason, text}).
|
2013-04-08 11:12:54 +02:00
|
|
|
|
|
|
|
-record(vcard_name,
|
|
|
|
{family, given, middle, prefix, suffix}).
|
|
|
|
|
|
|
|
-record(vcard_adr,
|
|
|
|
{home = false, work = false, postal = false,
|
|
|
|
parcel = false, dom = false, intl = false, pref = false,
|
|
|
|
pobox, extadd, street, locality, region, pcode, ctry}).
|
|
|
|
|
|
|
|
-record(vcard_label,
|
|
|
|
{home = false, work = false, postal = false,
|
|
|
|
parcel = false, dom = false, intl = false, pref = false,
|
|
|
|
line = []}).
|
|
|
|
|
|
|
|
-record(vcard_tel,
|
|
|
|
{home = false, work = false, voice = false, fax = false,
|
|
|
|
pager = false, msg = false, cell = false, video = false,
|
|
|
|
bbs = false, modem = false, isdn = false, pcs = false,
|
|
|
|
pref = false, number}).
|
|
|
|
|
|
|
|
-record(vcard_email,
|
|
|
|
{home = false, work = false, internet = false,
|
|
|
|
pref = false, x400 = false, userid}).
|
|
|
|
|
|
|
|
-record(vcard_geo, {lat, lon}).
|
|
|
|
|
|
|
|
-record(vcard_logo, {type, binval, extval}).
|
|
|
|
|
|
|
|
-record(vcard_photo, {type, binval, extval}).
|
|
|
|
|
|
|
|
-record(vcard_org, {name, units = []}).
|
|
|
|
|
|
|
|
-record(vcard_sound, {phonetic, binval, extval}).
|
|
|
|
|
|
|
|
-record(vcard_key, {type, cred}).
|
|
|
|
|
2013-06-13 18:34:45 +02:00
|
|
|
-record(vcard_agent, {vcard, extval}).
|
|
|
|
|
2013-04-08 11:12:54 +02:00
|
|
|
-record(vcard,
|
|
|
|
{version, fn, n, nickname, photo, bday, adr = [],
|
|
|
|
label = [], tel = [], email = [], jabberid, mailer, tz,
|
|
|
|
geo, title, role, logo, org, categories = [], note,
|
2013-06-13 18:34:45 +02:00
|
|
|
prodid, agent, rev, sort_string, sound, uid, url, class,
|
|
|
|
key, desc}).
|
2013-04-08 11:12:54 +02:00
|
|
|
|
2013-06-13 18:34:45 +02:00
|
|
|
-record(xdata_field,
|
2013-04-08 11:12:54 +02:00
|
|
|
{label, type, var, required = false, desc, values = [],
|
|
|
|
options = []}).
|
|
|
|
|
|
|
|
-record(xdata,
|
|
|
|
{type, instructions = [], title, reported, items = [],
|
|
|
|
fields = []}).
|
|
|
|
|
|
|
|
-record(pubsub_subscription, {jid, node, subid, type}).
|
|
|
|
|
|
|
|
-record(pubsub_affiliation, {node, type}).
|
|
|
|
|
|
|
|
-record(pubsub_item, {id, sub_els = []}).
|
|
|
|
|
|
|
|
-record(pubsub_items,
|
2013-06-13 18:34:45 +02:00
|
|
|
{node, max_items, subid, items = []}).
|
|
|
|
|
|
|
|
-record(pubsub_event_item, {id, node, publisher}).
|
|
|
|
|
|
|
|
-record(pubsub_event_items,
|
|
|
|
{node, retract = [], items = []}).
|
2013-04-08 11:12:54 +02:00
|
|
|
|
|
|
|
-record(pubsub_event, {items = []}).
|
|
|
|
|
|
|
|
-record(pubsub,
|
|
|
|
{subscriptions, affiliations, publish, subscribe}).
|
|
|
|
|
|
|
|
-record(delay, {stamp, from}).
|
2013-06-14 10:47:50 +02:00
|
|
|
|
|
|
|
-record(legacy_delay, {stamp, from}).
|