anchor.diff:  -export([start_link/0,
            query_state/1]).
   
  +%% Privete API
  +-export([srv_name/0,
  +         update/0]).
  +
   %% gen_server callbacks
   -export([init/1,
            handle_call/3,
  
positive.code: code_change(_, State, _) ->
      {ok, State}.
  
  
negative.code:     end,
      {reply, Reply, State};
  
  handle_call(update, _, State) ->
      %% Run a persistence operation on all torrents
      %% TODO - in the ETS implementation the state of all inactive
      %%        torrents was flushed out on each persitance operation.
      _ = [begin
          TorentID = proplists:get_value(id, Props)
          Filename = proplists:get_value(filename, Props),
          track_torrent(TorrentID, Filename)
      end || Props <- etorrent_table:all_torrents()],
      ok.
  
      {reply, ok, State}.
  
  handle_cast(_, State) ->
  