Update xmpp.hrl path to support compilation when copied to ejabberd/src/
This commit is contained in:
parent
5e6eb2738a
commit
4cde5d84f2
|
@ -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}).
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
-export([register_user/2]).
|
||||
|
||||
-include("logger.hrl").
|
||||
-include("xmpp.hrl").
|
||||
-include_lib("xmpp/include/xmpp.hrl").
|
||||
|
||||
%%--------------------------------------------------------------------
|
||||
%% gen_mod callbacks.
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
-export([register_user/2]).
|
||||
|
||||
-include("logger.hrl").
|
||||
-include("xmpp.hrl").
|
||||
-include_lib("xmpp/include/xmpp.hrl").
|
||||
|
||||
%%--------------------------------------------------------------------
|
||||
%% gen_mod callbacks.
|
||||
|
|
|
@ -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").
|
||||
|
|
|
@ -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).
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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").
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
code_change/4]).
|
||||
|
||||
-include("logger.hrl").
|
||||
-include("xmpp.hrl").
|
||||
-include_lib("xmpp/include/xmpp.hrl").
|
||||
|
||||
-define(SETS, gb_sets).
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
%% hooks
|
||||
-export([filter_packet/1]).
|
||||
|
||||
-include("xmpp.hrl").
|
||||
-include_lib("xmpp/include/xmpp.hrl").
|
||||
|
||||
%%%===================================================================
|
||||
%%% API
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
-endif.
|
||||
|
||||
-include("logger.hrl").
|
||||
-include("xmpp.hrl").
|
||||
-include_lib("xmpp/include/xmpp.hrl").
|
||||
|
||||
-define(PROCNAME, ?MODULE).
|
||||
-define(DEFAULT_PATH, ".").
|
||||
|
|
|
@ -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).
|
||||
|
|
|
@ -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).
|
||||
|
||||
|
|
|
@ -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]).
|
||||
|
|
|
@ -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").
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
-behaviour(gen_mod).
|
||||
|
||||
-include("logger.hrl").
|
||||
-include("xmpp.hrl").
|
||||
-include_lib("xmpp/include/xmpp.hrl").
|
||||
|
||||
-export([
|
||||
start/2,
|
||||
|
|
|
@ -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]),
|
||||
|
|
|
@ -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").
|
||||
|
|
|
@ -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)).
|
||||
|
||||
|
|
|
@ -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).
|
||||
|
|
|
@ -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").
|
||||
|
|
|
@ -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").
|
||||
|
|
Loading…
Reference in New Issue