anchor.diff:  %% Function: get_addresses_for_user(Username)
   %%           Username = string()
   %% Descrip.: Get all possible addresses of a user. Both configured
  -%%           ones, and implcit ones. Used for example to check if a
  +%%           ones, and implicit ones. Used for example to check if a
   %%           request from a user has an acceptable From: header.
   %% Returns : Addresses |
   %%           error
  -%%           Addresses = list() of address record()
  +%%           Addresses = list() of string()
   %%--------------------------------------------------------------------
   get_addresses_for_user(Username) ->
       case get_user(Username) of
  
positive.code: 	]).
  
  %%--------------------------------------------------------------------
  %% Internal exports - gen_server callbacks
  %%--------------------------------------------------------------------
  -export([
  	 init/1, 
  	 handle_call/3, 
  	 handle_cast/2, 
  	 handle_info/2, 
  	 terminate/2, 
  	 code_change/3
  	]).
  
  %%--------------------------------------------------------------------
  %% Extra exports - module specific manual-use functions
  -export([
  	 reload_userdb/0
  	 ]).
  
  %%--------------------------------------------------------------------
  %% Include files
  %%--------------------------------------------------------------------
  -include("siprecords.hrl").
  %% needed for file:read_file_info
  -include_lib("kernel/include/file.hrl").
  
  
  %%--------------------------------------------------------------------
  %% Records
  %%--------------------------------------------------------------------
  -record(user, {
  	  name,
  	  password,
  	  classes,
  	  forward
  	 }).
  -record(address, {
  	  user,
  	  address
  	 }).
  
  -record(state, {
  	  fn,
  	  file_mtime,
  	  last_fail,
  	  userlist,
  	  addresslist
  	 }).
  
  %%--------------------------------------------------------------------
  %% Macros
  %%--------------------------------------------------------------------
  %% how often we will log errors with our periodical reading of the
  %% user database file
  -define(LOG_THROTTLE_SECONDS, 300).
  
  %%====================================================================
  %% External functions
  
negative.code: %%--------------------------------------------------------------------
  %% Function: get_forward_for_user(Username)
  %%           Username = string()
  %% Descrip.: Return the forward address for a user.
  %% Returns : Forward |
  %%           nomatch |
  %%           error
  