diff options
Diffstat (limited to 'tools/xmpp_codec.hrl')
-rw-r--r-- | tools/xmpp_codec.hrl | 232 |
1 files changed, 129 insertions, 103 deletions
diff --git a/tools/xmpp_codec.hrl b/tools/xmpp_codec.hrl index 306594f37..d1ee438e9 100644 --- a/tools/xmpp_codec.hrl +++ b/tools/xmpp_codec.hrl @@ -1,31 +1,33 @@ %% Created automatically by XML generator (xml_gen.erl) %% Source: xmpp_codec.spec -%% Date: Sat, 15 Jun 2013 16:36:04 GMT --record(last, {seconds, text}). +-record(bind, {jid, resource}). --record(version, - {version_name, version_ver, version_os}). +-record(block, {items = []}). --record(roster_item, - {jid, name, groups = [], subscription = none, ask}). +-record(block_list, {}). --record(roster, {items = [], ver}). +-record(bookmark_conference, + {name, jid, autojoin = false, nick, password}). --record(privacy_item, - {order, action, type, value, stanza}). +-record(bookmark_storage, {conference = [], url = []}). --record(privacy_list, {name, items = []}). +-record(bookmark_url, {name, url}). --record(privacy, {lists = [], default, active}). +-record(bytestreams, + {hosts = [], used, activate, dstaddr, mode = tcp, sid}). --record(block, {items = []}). +-record(caps, {hash, node, ver}). --record(unblock, {items = []}). +-record(compress, {methods = []}). --record(block_list, {}). +-record(compress_failure, {reason}). --record(identity, {category, type, name}). +-record(compressed, {}). + +-record(compression, {methods = []}). + +-record(delay, {stamp, from}). -record(disco_info, {node, identity = [], feature = [], xdata = []}). @@ -34,77 +36,91 @@ -record(disco_items, {node, items = []}). --record(private, {sub_els = []}). - --record(bookmark_conference, - {name, jid, autojoin = false, nick, password}). - --record(bookmark_url, {name, url}). +-record(error, {type, by, reason, text}). --record(bookmark_storage, {conference = [], url = []}). +-record(feature_register, {}). --record(stat, {name, units, value, error = []}). +-record(gone, {uri}). --record(stats, {stat = []}). +-record(identity, {category, type, name}). -record(iq, {id, type, lang, from, to, error, sub_els = []}). +-record(last, {seconds, text}). + +-record(legacy_delay, {stamp, from}). + -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 = []}). +-record(muc, {history, password}). --record(gone, {uri}). +-record(muc_actor, {jid, nick}). --record(redirect, {uri}). +-record(muc_decline, {reason, from, to}). --record(error, {type, by, reason, text}). +-record(muc_history, + {maxchars, maxstanzas, seconds, since}). --record(bind, {jid, resource}). +-record(muc_invite, {reason, from, to}). --record(sasl_auth, {mechanism, text}). +-record(muc_item, + {actor, continue, reason, affiliation, role, jid, + nick}). --record(sasl_abort, {}). +-record(muc_owner, {destroy, config}). --record(sasl_challenge, {text}). +-record(muc_owner_destroy, {jid, reason, password}). --record(sasl_response, {text}). +-record(muc_user, + {decline, destroy, invites = [], items = [], + status_codes = [], password}). --record(sasl_success, {text}). +-record(muc_user_destroy, {reason, jid}). --record(sasl_failure, {reason, text = []}). +-record(p1_ack, {}). --record(sasl_mechanisms, {list = []}). +-record(p1_push, {}). --record(starttls, {required = false}). +-record(p1_rebind, {}). --record(starttls_proceed, {}). +-record(ping, {}). --record(starttls_failure, {}). +-record(presence, + {id, type, lang, from, to, show, status = [], priority, + error, sub_els = []}). --record(compress_failure, {reason}). +-record(privacy, {lists = [], default, active}). --record(compress, {methods = []}). +-record(privacy_item, + {order, action, type, value, kinds = []}). --record(compressed, {}). +-record(privacy_list, {name, items = []}). --record(compression, {methods = []}). +-record(private, {sub_els = []}). --record(stream_features, {sub_els = []}). +-record(pubsub, + {subscriptions, affiliations, publish, subscribe}). --record(p1_push, {}). +-record(pubsub_affiliation, {node, type}). --record(p1_rebind, {}). +-record(pubsub_event, {items = []}). --record(p1_ack, {}). +-record(pubsub_event_item, {id, node, publisher}). --record(caps, {hash, node, ver}). +-record(pubsub_event_items, + {node, retract = [], items = []}). --record(feature_register, {}). +-record(pubsub_item, {id, sub_els = []}). + +-record(pubsub_items, + {node, max_items, subid, items = []}). + +-record(pubsub_subscription, {jid, node, subid, type}). + +-record(redirect, {uri}). -record(register, {registered = false, remove = false, instructions, @@ -112,52 +128,50 @@ address, city, state, zip, phone, url, date, misc, text, key}). --record(session, {}). +-record(roster, {items = [], ver}). --record(ping, {}). +-record(roster_item, + {jid, name, groups = [], subscription = none, ask}). --record(time, {tzo, utc}). +-record(sasl_abort, {}). --record('see-other-host', {host}). +-record(sasl_auth, {mechanism, text}). --record(stream_error, {reason, text}). +-record(sasl_challenge, {text}). --record(vcard_name, - {family, given, middle, prefix, suffix}). +-record(sasl_failure, {reason, text = []}). --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(sasl_mechanisms, {list = []}). --record(vcard_label, - {home = false, work = false, postal = false, - parcel = false, dom = false, intl = false, pref = false, - line = []}). +-record(sasl_response, {text}). --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(sasl_success, {text}). --record(vcard_email, - {home = false, work = false, internet = false, - pref = false, x400 = false, userid}). +-record('see-other-host', {host}). --record(vcard_geo, {lat, lon}). +-record(session, {}). --record(vcard_logo, {type, binval, extval}). +-record(starttls, {required = false}). --record(vcard_photo, {type, binval, extval}). +-record(starttls_failure, {}). --record(vcard_org, {name, units = []}). +-record(starttls_proceed, {}). --record(vcard_sound, {phonetic, binval, extval}). +-record(stat, {name, units, value, error = []}). --record(vcard_key, {type, cred}). +-record(stats, {stat = []}). --record(vcard_agent, {vcard, extval}). +-record(stream_error, {reason, text}). + +-record(stream_features, {sub_els = []}). + +-record(streamhost, {jid, host, port = 1080}). + +-record(text, {lang, data}). + +-record(time, {tzo, utc}). + +-record(unblock, {items = []}). -record(vcard, {version, fn, n, nickname, photo, bday, adr = [], @@ -166,38 +180,50 @@ prodid, agent, rev, sort_string, sound, uid, url, class, key, desc}). --record(xdata_field, - {label, type, var, required = false, desc, values = [], - options = []}). +-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(xdata, - {type, instructions = [], title, reported, items = [], - fields = []}). +-record(vcard_agent, {vcard, extval}). --record(pubsub_subscription, {jid, node, subid, type}). +-record(vcard_email, + {home = false, work = false, internet = false, + pref = false, x400 = false, userid}). --record(pubsub_affiliation, {node, type}). +-record(vcard_geo, {lat, lon}). --record(pubsub_item, {id, sub_els = []}). +-record(vcard_key, {type, cred}). --record(pubsub_items, - {node, max_items, subid, items = []}). +-record(vcard_label, + {home = false, work = false, postal = false, + parcel = false, dom = false, intl = false, pref = false, + line = []}). --record(pubsub_event_item, {id, node, publisher}). +-record(vcard_logo, {type, binval, extval}). --record(pubsub_event_items, - {node, retract = [], items = []}). +-record(vcard_name, + {family, given, middle, prefix, suffix}). --record(pubsub_event, {items = []}). +-record(vcard_org, {name, units = []}). --record(pubsub, - {subscriptions, affiliations, publish, subscribe}). +-record(vcard_photo, {type, binval, extval}). --record(delay, {stamp, from}). +-record(vcard_sound, {phonetic, binval, extval}). --record(legacy_delay, {stamp, from}). +-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(streamhost, {jid, host, port = 1080}). +-record(version, + {version_name, version_ver, version_os}). --record(bytestreams, - {hosts = [], used, activate, dstaddr, mode = tcp, sid}). +-record(xdata, + {type, instructions = [], title, reported, items = [], + fields = []}). + +-record(xdata_field, + {label, type, var, required = false, desc, values = [], + options = []}). |