mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
Add missing -callbacks
This commit is contained in:
parent
8f692f51d8
commit
b14843d098
@ -64,7 +64,7 @@
|
||||
ezlib,
|
||||
iconv]}}.
|
||||
|
||||
{erl_first_files, ["src/ejabberd_config.erl", "src/gen_mod.erl"]}.
|
||||
{erl_first_files, ["src/ejabberd_config.erl", "src/gen_mod.erl", "src/mod_muc_room.erl"]}.
|
||||
|
||||
{erl_opts, [nowarn_deprecated_function,
|
||||
{i, "include"},
|
||||
|
@ -79,6 +79,16 @@
|
||||
|
||||
-export_type([state/0]).
|
||||
|
||||
-callback set_affiliation(binary(), binary(), binary(), jid(), affiliation(),
|
||||
binary()) -> ok | {error, any()}.
|
||||
-callback set_affiliations(binary(), binary(), binary(),
|
||||
?TDICT) -> ok | {error, any()}.
|
||||
-callback get_affiliation(binary(), binary(), binary(),
|
||||
binary(), binary()) -> {ok, affiliation()} | {error, any()}.
|
||||
-callback get_affiliations(binary(), binary(), binary()) -> {ok, ?TDICT} | {error, any()}.
|
||||
-callback search_affiliation(binary(), binary(), binary(), affiliation()) ->
|
||||
{ok, [{ljid(), {affiliation(), binary()}}]} | {error, any()}.
|
||||
|
||||
%%%----------------------------------------------------------------------
|
||||
%%% API
|
||||
%%%----------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user