Update xmpp.hrl path to support compilation when copied to ejabberd/src/

This commit is contained in:
Badlop 2021-02-08 00:15:27 +01:00
parent 5e6eb2738a
commit 4cde5d84f2
22 changed files with 22 additions and 22 deletions

View File

@ -23,7 +23,7 @@
-include("ejabberd_web_admin.hrl").
-include("logger.hrl").
-include("translate.hrl").
-include("xmpp.hrl").
-include_lib("xmpp/include/xmpp.hrl").
-record(task, {taskid, timerref, host, task}).

View File

@ -34,7 +34,7 @@
-export([register_user/2]).
-include("logger.hrl").
-include("xmpp.hrl").
-include_lib("xmpp/include/xmpp.hrl").
%%--------------------------------------------------------------------
%% gen_mod callbacks.

View File

@ -34,7 +34,7 @@
-export([register_user/2]).
-include("logger.hrl").
-include("xmpp.hrl").
-include_lib("xmpp/include/xmpp.hrl").
%%--------------------------------------------------------------------
%% gen_mod callbacks.

View File

@ -34,7 +34,7 @@
-export([user_receive_packet/1, user_send_packet/1]).
-include("logger.hrl").
-include("xmpp.hrl").
-include_lib("xmpp/include/xmpp.hrl").
-define(NS_AXOLOTL, "eu.siacs.conversations.axolotl").
-define(DEVICELIST_NODE, ?NS_AXOLOTL ".devicelist").

View File

@ -13,7 +13,7 @@
-export([start/2, stop/1, depends/2, mod_options/1, filter_packet/1]).
-include("logger.hrl").
-include("xmpp.hrl").
-include_lib("xmpp/include/xmpp.hrl").
start(_Host, _Opts) ->
ejabberd_hooks:add(filter_packet, global, ?MODULE, filter_packet, 100).

View File

@ -13,7 +13,7 @@
-behaviour(gen_mod).
-include("logger.hrl").
-include("xmpp.hrl").
-include_lib("xmpp/include/xmpp.hrl").
-define(HOOKS, [offline_message_hook,
sm_register_connection_hook, sm_remove_connection_hook,

View File

@ -42,7 +42,7 @@
mod_opt_type/1, mod_options/1, depends/2]).
-include("logger.hrl").
-include("xmpp.hrl").
-include_lib("xmpp/include/xmpp.hrl").
-include("mod_irc.hrl").
-include("translate.hrl").

View File

@ -40,7 +40,7 @@
code_change/4]).
-include("logger.hrl").
-include("xmpp.hrl").
-include_lib("xmpp/include/xmpp.hrl").
-define(SETS, gb_sets).

View File

@ -23,7 +23,7 @@
%% hooks
-export([filter_packet/1]).
-include("xmpp.hrl").
-include_lib("xmpp/include/xmpp.hrl").
%%%===================================================================
%%% API

View File

@ -20,7 +20,7 @@
-endif.
-include("logger.hrl").
-include("xmpp.hrl").
-include_lib("xmpp/include/xmpp.hrl").
-define(PROCNAME, ?MODULE).
-define(DEFAULT_PATH, ".").

View File

@ -35,7 +35,7 @@
failed_auth/3,
forbidden/1]).
-include("xmpp.hrl").
-include_lib("xmpp/include/xmpp.hrl").
-include("ejabberd_commands.hrl").
-define(PROCNAME, ejabberd_logsession).

View File

@ -15,7 +15,7 @@
send_packet/1, receive_packet/1,
mod_opt_type/1, mod_options/1, depends/2]).
-include("xmpp.hrl").
-include_lib("xmpp/include/xmpp.hrl").
-define(PROCNAME, ejabberd_mod_logxml).

View File

@ -50,7 +50,7 @@
log_packet_offline/1,
reopen_log/0]).
-include("xmpp.hrl").
-include_lib("xmpp/include/xmpp.hrl").
-define(DEFAULT_FILENAME, <<"message.log">>).
-define(FILE_MODES, [append, raw]).

View File

@ -14,7 +14,7 @@
-export([process/2]).
-include("xmpp.hrl").
-include_lib("xmpp/include/xmpp.hrl").
-include("ejabberd_http.hrl").
-include("mod_muc_room.hrl").
-include("logger.hrl").

View File

@ -21,7 +21,7 @@
log_user_send/4,
post_result/1]).
-include("xmpp.hrl").
-include_lib("xmpp/include/xmpp.hrl").
start(Host, _Opts) ->
ok = case inets:start() of

View File

@ -3,7 +3,7 @@
-behaviour(gen_mod).
-include("logger.hrl").
-include("xmpp.hrl").
-include_lib("xmpp/include/xmpp.hrl").
-export([
start/2,

View File

@ -36,7 +36,7 @@
-include("logger.hrl").
-include("ejabberd_http.hrl").
-include("ejabberd_ctl.hrl").
-include("xmpp.hrl").
-include_lib("xmpp/include/xmpp.hrl").
start(_Host, _Opts) ->
?DEBUG("Starting: ~p ~p", [_Host, _Opts]),

View File

@ -15,7 +15,7 @@
-export([execute_system/1, execute_erlang/1]).
-export([web_menu_node/3, web_page_node/5]).
-include("xmpp.hrl").
-include_lib("xmpp/include/xmpp.hrl").
-include("ejabberd_commands.hrl").
-include("ejabberd_http.hrl").
-include("ejabberd_web_admin.hrl").

View File

@ -57,7 +57,7 @@
-include("ejabberd_commands.hrl").
-include("logger.hrl").
-include("xmpp.hrl").
-include_lib("xmpp/include/xmpp.hrl").
-define(COMMAND_TIMEOUT, timer:seconds(30)).

View File

@ -15,7 +15,7 @@
-export([start/2, stop/1, depends/2, mod_opt_type/1, mod_options/1]).
-export([loop/5]).
-include("xmpp.hrl").
-include_lib("xmpp/include/xmpp.hrl").
-include("mod_roster.hrl").
-define(PROCNAME, ejabberd_mod_stats2file).

View File

@ -30,7 +30,7 @@
user_login/1, user_logout/4]).
-include("ejabberd_commands.hrl").
-include("xmpp.hrl").
-include_lib("xmpp/include/xmpp.hrl").
-include("logger.hrl").
-include("mod_roster.hrl").
-include("ejabberd_http.hrl").

View File

@ -31,7 +31,7 @@
%% API
-export([start_link/0]).
-include("xmpp.hrl").
-include_lib("xmpp/include/xmpp.hrl").
-include("logger.hrl").
-include("translate.hrl").
-include("ejabberd_web_admin.hrl").