Document protocol support (EJABS-1620)

This commit is contained in:
Badlop 2015-05-21 17:02:36 +02:00
parent 3b24923458
commit 0c725b5fac
33 changed files with 74 additions and 4 deletions

View File

@ -27,6 +27,8 @@
-author('stephen.roettger@googlemail.com').
-protocol({rfc, 5802}).
-export([start/1, stop/0, mech_new/4, mech_step/2]).
-include("ejabberd.hrl").

View File

@ -27,6 +27,10 @@
-author('alexey@process-one.net').
-protocol({xep, 78, '2.5'}).
-protocol({xep, 138, '2.0'}).
-protocol({xep, 198, '1.3'}).
-update_info({update, 0}).
-define(GEN_FSM, p1_fsm).

View File

@ -25,6 +25,8 @@
-module(ejabberd_captcha).
-protocol({xep, 158, '1.0'}).
-behaviour(gen_server).
%% API

View File

@ -10,6 +10,9 @@
-module(ejabberd_http_bind).
-protocol({xep, 124, '1.11'}).
-protocol({xep, 206, '1.4'}).
-behaviour(gen_fsm).
%% External exports

View File

@ -38,6 +38,8 @@
-module(ejabberd_piefxis).
-protocol({xep, 227, '1.0'}).
%% API
-export([import_file/1, export_server/1, export_host/2]).

View File

@ -27,6 +27,8 @@
-author('alexey@process-one.net').
-protocol({xep, 114, '1.6'}).
-define(GEN_FSM, p1_fsm).
-behaviour(?GEN_FSM).

View File

@ -25,6 +25,8 @@
%%%-------------------------------------------------------------------
-module(ejabberd_stun).
-protocol({rfc, 5766}).
%% API
-export([tcp_init/2, udp_init/2, udp_recv/5, start/2, socket_type/0]).

View File

@ -38,6 +38,8 @@
-module(ejabberd_websocket).
-protocol({rfc, 6455}).
-author('ecestari@process-one.net').
-export([check/2, socket_handoff/8]).

View File

@ -27,6 +27,10 @@
-author('alexey@process-one.net').
-protocol({xep, 59, '1.0'}).
-protocol({xep, 82, '1.1'}).
-protocol({xep, 203, '2.0'}).
-compile({no_auto_import, [atom_to_binary/2,
binary_to_integer/1,
integer_to_binary/1]}).

View File

@ -27,6 +27,8 @@
-author('henoch@dtek.chalmers.se').
-protocol({xep, 50, '1.2'}).
-behaviour(gen_mod).
-export([start/2, stop/1, process_local_iq/3,

View File

@ -28,6 +28,8 @@
-behaviour(gen_mod).
-protocol({xep, 191, '1.2'}).
-export([start/2, stop/1, process_iq/3,
process_iq_set/4, process_iq_get/5]).

View File

@ -29,6 +29,8 @@
-author('henoch@dtek.chalmers.se').
-protocol({xep, 115, '1.5'}).
-behaviour(gen_server).
-behaviour(gen_mod).

View File

@ -26,6 +26,7 @@
%%%----------------------------------------------------------------------
-module (mod_carboncopy).
-author ('ecestari@process-one.net').
-protocol({xep, 280, '0.8'}).
-behavior(gen_mod).

View File

@ -25,6 +25,7 @@
-module(mod_client_state).
-author('holger@zedat.fu-berlin.de').
-protocol({xep, 352, '0.1'}).
-behavior(gen_mod).

View File

@ -23,13 +23,12 @@
%%%
%%%----------------------------------------------------------------------
%%% Implements most of XEP-0133: Service Administration Version 1.1
%%% (2005-08-19)
-module(mod_configure).
-author('alexey@process-one.net').
-protocol({xep, 133, '1.1'}).
-behaviour(gen_mod).
-export([start/2, stop/1, get_local_identity/5,

View File

@ -27,6 +27,9 @@
-author('alexey@process-one.net').
-protocol({xep, 30, '2.4'}).
-protocol({xep, 157, '1.0'}).
-behaviour(gen_mod).
-export([start/2, stop/1, process_local_iq_items/3,

View File

@ -27,6 +27,8 @@
-author('alexey@process-one.net').
-protocol({xep, 12, '2.0'}).
-behaviour(gen_mod).
-export([start/2, stop/1, process_local_iq/3, export/1,

View File

@ -27,6 +27,8 @@
-author('alexey@process-one.net').
-protocol({xep, 45, '1.25'}).
-behaviour(gen_server).
-behaviour(gen_mod).

View File

@ -9,6 +9,8 @@
-author('badlop@process-one.net').
-protocol({xep, 33, '1.1'}).
-behaviour(gen_server).
-behaviour(gen_mod).

View File

@ -26,6 +26,11 @@
-module(mod_offline).
-author('alexey@process-one.net').
-protocol({xep, 22, '1.4'}).
-protocol({xep, 23, '1.3'}).
-protocol({xep, 160, '1.0'}).
-define(GEN_SERVER, p1_server).
-behaviour(?GEN_SERVER).

View File

@ -27,6 +27,8 @@
-author('bjc@kublai.com').
-protocol({xep, 199, '2.0'}).
-behavior(gen_mod).
-behavior(gen_server).

View File

@ -27,6 +27,8 @@
-author('alexey@process-one.net').
-protocol({xep, 16, '1.6'}).
-behaviour(gen_mod).
-export([start/2, stop/1, process_iq/3, export/1, import/1,

View File

@ -27,6 +27,8 @@
-author('alexey@process-one.net').
-protocol({xep, 49, '1.2'}).
-behaviour(gen_mod).
-export([start/2, stop/1, process_sm_iq/3, import/3,

View File

@ -27,6 +27,8 @@
-author('xram@jabber.ru').
-protocol({xep, 65, '1.8'}).
-behaviour(gen_mod).
-behaviour(supervisor).

View File

@ -47,7 +47,8 @@
-behaviour(gen_mod).
-behaviour(gen_server).
-author('christophe.romain@process-one.net').
-version('1.13-1').
-protocol({xep, 60, '1.13-1'}).
-protocol({xep, 163, '1.2'}).
-include("ejabberd.hrl").
-include("logger.hrl").

View File

@ -27,6 +27,8 @@
-author('alexey@process-one.net').
-protocol({xep, 77, '2.4'}).
-behaviour(gen_mod).
-export([start/2, stop/1, stream_feature_register/2,

View File

@ -34,6 +34,9 @@
-module(mod_roster).
-protocol({xep, 237, '1.3'}).
-protocol({xep, 321, '0.1'}).
-author('alexey@process-one.net').
-behaviour(gen_mod).

View File

@ -25,6 +25,8 @@
-module(mod_sic).
-protocol({xep, 279, '0.2'}).
-author('karim.gemayel@process-one.net').
-behaviour(gen_mod).

View File

@ -24,6 +24,7 @@
%%%-------------------------------------------------------------------
-module(mod_sip).
-protocol({rfc, 3261}).
-behaviour(gen_mod).
-behaviour(esip).

View File

@ -27,6 +27,8 @@
-author('alexey@process-one.net').
-protocol({xep, 39, '0.6.0'}).
-behaviour(gen_mod).
-export([start/2, stop/1, process_local_iq/3]).

View File

@ -28,6 +28,8 @@
-author('alexey@process-one.net').
-protocol({xep, 202, '2.0'}).
-behaviour(gen_mod).
-export([start/2, stop/1, process_local_iq/3]).

View File

@ -27,6 +27,9 @@
-author('alexey@process-one.net').
-protocol({xep, 54, '1.2'}).
-protocol({xep, 55, '1.3'}).
-behaviour(gen_mod).
-export([start/2, init/3, stop/1, get_sm_features/5,

View File

@ -27,6 +27,8 @@
-author('alexey@process-one.net').
-protocol({xep, 92, '1.1'}).
-behaviour(gen_mod).
-export([start/2, stop/1, process_local_iq/3]).