1
0
Fork 0
mirror of https://github.com/processone/ejabberd synced 2025-10-03 17:59:31 +02:00

Result of running "make options"

This commit is contained in:
Badlop 2025-08-21 09:27:12 +02:00
parent c508795ad4
commit 6ae48eb991
2 changed files with 118 additions and 0 deletions

View file

@ -6,6 +6,7 @@
-export([bosh_service_url/1]). -export([bosh_service_url/1]).
-export([conversejs_css/1]). -export([conversejs_css/1]).
-export([conversejs_options/1]). -export([conversejs_options/1]).
-export([conversejs_plugins/1]).
-export([conversejs_resources/1]). -export([conversejs_resources/1]).
-export([conversejs_script/1]). -export([conversejs_script/1]).
-export([default_domain/1]). -export([default_domain/1]).
@ -29,6 +30,12 @@ conversejs_options(Opts) when is_map(Opts) ->
conversejs_options(Host) -> conversejs_options(Host) ->
gen_mod:get_module_opt(Host, mod_conversejs, conversejs_options). gen_mod:get_module_opt(Host, mod_conversejs, conversejs_options).
-spec conversejs_plugins(gen_mod:opts() | global | binary()) -> [binary()].
conversejs_plugins(Opts) when is_map(Opts) ->
gen_mod:get_opt(conversejs_plugins, Opts);
conversejs_plugins(Host) ->
gen_mod:get_module_opt(Host, mod_conversejs, conversejs_plugins).
-spec conversejs_resources(gen_mod:opts() | global | binary()) -> 'undefined' | binary(). -spec conversejs_resources(gen_mod:opts() | global | binary()) -> 'undefined' | binary().
conversejs_resources(Opts) when is_map(Opts) -> conversejs_resources(Opts) when is_map(Opts) ->
gen_mod:get_opt(conversejs_resources, Opts); gen_mod:get_opt(conversejs_resources, Opts);

111
src/mod_providers_opt.erl Normal file
View file

@ -0,0 +1,111 @@
%% Generated automatically
%% DO NOT EDIT: run `make options` instead
-module(mod_providers_opt).
-export([alternativeJids/1]).
-export([busFactor/1]).
-export([freeOfCharge/1]).
-export([languages/1]).
-export([legalNotice/1]).
-export([maximumHttpFileUploadStorageTime/1]).
-export([maximumHttpFileUploadTotalSize/1]).
-export([maximumMessageArchiveManagementStorageTime/1]).
-export([organization/1]).
-export([passwordReset/1]).
-export([professionalHosting/1]).
-export([serverLocations/1]).
-export([serverTesting/1]).
-export([since/1]).
-export([website/1]).
-spec alternativeJids(gen_mod:opts() | global | binary()) -> [binary()].
alternativeJids(Opts) when is_map(Opts) ->
gen_mod:get_opt(alternativeJids, Opts);
alternativeJids(Host) ->
gen_mod:get_module_opt(Host, mod_providers, alternativeJids).
-spec busFactor(gen_mod:opts() | global | binary()) -> integer().
busFactor(Opts) when is_map(Opts) ->
gen_mod:get_opt(busFactor, Opts);
busFactor(Host) ->
gen_mod:get_module_opt(Host, mod_providers, busFactor).
-spec freeOfCharge(gen_mod:opts() | global | binary()) -> boolean().
freeOfCharge(Opts) when is_map(Opts) ->
gen_mod:get_opt(freeOfCharge, Opts);
freeOfCharge(Host) ->
gen_mod:get_module_opt(Host, mod_providers, freeOfCharge).
-spec languages(gen_mod:opts() | global | binary()) -> [binary()].
languages(Opts) when is_map(Opts) ->
gen_mod:get_opt(languages, Opts);
languages(Host) ->
gen_mod:get_module_opt(Host, mod_providers, languages).
-spec legalNotice(gen_mod:opts() | global | binary()) -> binary().
legalNotice(Opts) when is_map(Opts) ->
gen_mod:get_opt(legalNotice, Opts);
legalNotice(Host) ->
gen_mod:get_module_opt(Host, mod_providers, legalNotice).
-spec maximumHttpFileUploadStorageTime(gen_mod:opts() | global | binary()) -> 'default_value' | integer().
maximumHttpFileUploadStorageTime(Opts) when is_map(Opts) ->
gen_mod:get_opt(maximumHttpFileUploadStorageTime, Opts);
maximumHttpFileUploadStorageTime(Host) ->
gen_mod:get_module_opt(Host, mod_providers, maximumHttpFileUploadStorageTime).
-spec maximumHttpFileUploadTotalSize(gen_mod:opts() | global | binary()) -> 'default_value' | integer().
maximumHttpFileUploadTotalSize(Opts) when is_map(Opts) ->
gen_mod:get_opt(maximumHttpFileUploadTotalSize, Opts);
maximumHttpFileUploadTotalSize(Host) ->
gen_mod:get_module_opt(Host, mod_providers, maximumHttpFileUploadTotalSize).
-spec maximumMessageArchiveManagementStorageTime(gen_mod:opts() | global | binary()) -> integer().
maximumMessageArchiveManagementStorageTime(Opts) when is_map(Opts) ->
gen_mod:get_opt(maximumMessageArchiveManagementStorageTime, Opts);
maximumMessageArchiveManagementStorageTime(Host) ->
gen_mod:get_module_opt(Host, mod_providers, maximumMessageArchiveManagementStorageTime).
-spec organization(gen_mod:opts() | global | binary()) -> '' | 'commercial person' | 'company' | 'governmental' | 'non-governmental' | 'private person'.
organization(Opts) when is_map(Opts) ->
gen_mod:get_opt(organization, Opts);
organization(Host) ->
gen_mod:get_module_opt(Host, mod_providers, organization).
-spec passwordReset(gen_mod:opts() | global | binary()) -> 'default_value' | binary().
passwordReset(Opts) when is_map(Opts) ->
gen_mod:get_opt(passwordReset, Opts);
passwordReset(Host) ->
gen_mod:get_module_opt(Host, mod_providers, passwordReset).
-spec professionalHosting(gen_mod:opts() | global | binary()) -> boolean().
professionalHosting(Opts) when is_map(Opts) ->
gen_mod:get_opt(professionalHosting, Opts);
professionalHosting(Host) ->
gen_mod:get_module_opt(Host, mod_providers, professionalHosting).
-spec serverLocations(gen_mod:opts() | global | binary()) -> [binary()].
serverLocations(Opts) when is_map(Opts) ->
gen_mod:get_opt(serverLocations, Opts);
serverLocations(Host) ->
gen_mod:get_module_opt(Host, mod_providers, serverLocations).
-spec serverTesting(gen_mod:opts() | global | binary()) -> boolean().
serverTesting(Opts) when is_map(Opts) ->
gen_mod:get_opt(serverTesting, Opts);
serverTesting(Host) ->
gen_mod:get_module_opt(Host, mod_providers, serverTesting).
-spec since(gen_mod:opts() | global | binary()) -> binary().
since(Opts) when is_map(Opts) ->
gen_mod:get_opt(since, Opts);
since(Host) ->
gen_mod:get_module_opt(Host, mod_providers, since).
-spec website(gen_mod:opts() | global | binary()) -> binary().
website(Opts) when is_map(Opts) ->
gen_mod:get_opt(website, Opts);
website(Host) ->
gen_mod:get_module_opt(Host, mod_providers, website).