diff options
Diffstat (limited to 'tools/xmpp_codec.hrl')
-rw-r--r-- | tools/xmpp_codec.hrl | 138 |
1 files changed, 5 insertions, 133 deletions
diff --git a/tools/xmpp_codec.hrl b/tools/xmpp_codec.hrl index 6e142414f..c421aa1d6 100644 --- a/tools/xmpp_codec.hrl +++ b/tools/xmpp_codec.hrl @@ -1,6 +1,10 @@ %% Created automatically by XML generator (xml_gen.erl) %% Source: xmpp_codec.spec +-record(chatstate, {type :: active | composing | gone | inactive | paused}). + +-record(csi, {type :: active | inactive}). + -record(feature_register, {}). -record(sasl_success, {text :: any()}). @@ -8,8 +12,6 @@ -record(text, {lang :: binary(), data :: binary()}). --record(chatstate_paused, {}). - -record(streamhost, {jid :: any(), host :: binary(), port = 1080 :: non_neg_integer()}). @@ -26,8 +28,6 @@ jid :: any(), subid :: binary()}). --record(csi_inactive, {}). - -record(ping, {}). -record(delay, {stamp :: any(), @@ -61,8 +61,6 @@ resume = false :: any(), xmlns :: binary()}). --record(chatstate_gone, {}). - -record(starttls_failure, {}). -record(sasl_challenge, {text :: any()}). @@ -129,13 +127,9 @@ -record(sasl_response, {text :: any()}). --record(chatstate_inactive, {}). - -record(pubsub_subscribe, {node :: binary(), jid :: any()}). --record(chatstate_composing, {}). - -record(sasl_auth, {mechanism :: binary(), text :: any()}). @@ -232,8 +226,6 @@ -record(block_list, {}). --record(csi_active, {}). - -record(xdata_field, {label :: binary(), type :: 'boolean' | 'fixed' | 'hidden' | 'jid-multi' | 'jid-single' | 'list-multi' | 'list-single' | 'text-multi' | 'text-private' | 'text-single', var :: binary(), @@ -269,8 +261,6 @@ mode = tcp :: 'tcp' | 'udp', sid :: binary()}). --record(chatstate_active, {}). - -record(vcard_org, {name :: binary(), units = [] :: [binary()]}). @@ -491,122 +481,4 @@ -record(time, {tzo :: any(), utc :: any()}). --type xmpp_codec_type() :: #session{} | - #compression{} | - #pubsub_subscription{} | - #version{} | - #pubsub_affiliation{} | - #muc_admin{} | - #sm_a{} | - #carbons_sent{} | - #p1_rebind{} | - #sasl_abort{} | - #carbons_received{} | - #pubsub_retract{} | - #compressed{} | - #block_list{} | - #'see-other-host'{} | - #starttls_proceed{} | - #sm_resumed{} | - #forwarded{} | - #privacy_list{} | - #text{} | - #vcard_org{} | - #feature_sm{} | - #pubsub_item{} | - #roster_item{} | - #pubsub_event_item{} | - #muc_item{} | - #shim{} | - #pubsub_event_items{} | - #disco_items{} | - #pubsub_options{} | - #sasl_success{} | - #compress{} | - #bytestreams{} | - #vcard_key{} | - #identity{} | - #feature_csi{} | - #legacy_delay{} | - #muc_user_destroy{} | - #muc_owner_destroy{} | - #privacy{} | - #delay{} | - #muc_history{} | - #bookmark_url{} | - #vcard_email{} | - #vcard_label{} | - #vcard_tel{} | - #vcard_logo{} | - #disco_info{} | - #vcard_geo{} | - #vcard_photo{} | - #muc_owner{} | - #pubsub{} | - #sm_r{} | - #muc_actor{} | - #error{} | - #stream_error{} | - #feature_register{} | - #roster{} | - #muc_user{} | - #vcard_adr{} | - #register{} | - #csi_active{} | - #muc_invite{} | - #carbons_disable{} | - #chatstate_active{} | - #bookmark_conference{} | - #time{} | - #sasl_response{} | - #chatstate_inactive{} | - #pubsub_subscribe{} | - #presence{} | - #message{} | - #sm_enable{} | - #chatstate_gone{} | - #starttls_failure{} | - #sasl_challenge{} | - #gone{} | - #private{} | - #compress_failure{} | - #sasl_failure{} | - #bookmark_storage{} | - #vcard_name{} | - #sm_resume{} | - #carbons_enable{} | - #carbons_private{} | - #pubsub_unsubscribe{} | - #csi_inactive{} | - #muc_decline{} | - #sasl_auth{} | - #p1_push{} | - #pubsub_publish{} | - #unblock{} | - #p1_ack{} | - #block{} | - #xdata{} | - #iq{} | - #last{} | - #redirect{} | - #sm_enabled{} | - #pubsub_event{} | - #vcard_sound{} | - #chatstate_paused{} | - #streamhost{} | - #stat{} | - #xdata_field{} | - #bind{} | - #sm_failed{} | - #vcard{} | - #chatstate_composing{} | - #ping{} | - #disco_item{} | - #privacy_item{} | - #caps{} | - #muc{} | - #stream_features{} | - #stats{} | - #pubsub_items{} | - #starttls{} | - #sasl_mechanisms{}. + |