anchor.diff:  
   -define(SERVER, ?MODULE).
   
  +%% API
  +started_torrent(Id) ->
  +    gen_event:notify(?SERVER, {started_torrent, Id}).
  +
  +
  +checking_torrent(Id) ->
  +    gen_event:notify(?SERVER, {checking_torrent, Id}).
  +
  +seeding_torrent(Id) ->
  +    gen_event:notify(?SERVER, {seeding_torrent, Id}).
  +
  +persisted_state_to_disk() ->
  +    gen_event:notify(?SERVER, persisted_state_to_disk).
  +
   %%====================================================================
   %% gen_event callbacks
   %%====================================================================
  +
   %%--------------------------------------------------------------------
   %% Function: start_link() -> {ok,Pid} | {error,Error}
   %% Description: Creates an event manager.
  
positive.code: %%%-------------------------------------------------------------------
  -module(etorrent_event_mgr).
  
  %% API
  -export([start_link/0,
  
           persisted_state_to_disk/0,
  
negative.code:     gen_event:add_handler(?SERVER, etorrent_file_logger, Args),
      {ok, Pid}.
  
  