anchor.diff:  
   %% export the ocs_log public API
   -export([acct_open/0, acct_log/4, acct_close/0,
  -		acct_query/4, acct_query/5,
  +		acct_query/5, acct_query/6,
   		auth_open/0, auth_log/5, auth_log/6, auth_close/0,
  -		auth_query/5, auth_query/6,
  +		auth_query/6, auth_query/7,
   		ipdr_log/3, ipdr_file/2, get_range/3, last/2,
   		dump_file/2, http_file/2, httpd_logname/1,
   		date/1, iso8601/1]).
   
  -%% export the ocs_log private API
  --export([]).
  +%% export the ocs_log event types
  +-export_type([auth_event/0, acct_event/0]).
   
   -include("ocs_log.hrl").
   -include_lib("radius/include/radius.hrl").
  
positive.code: 			{error, Reason}
  	end.
  
  -spec auth_log(Protocol, Server, Client, Type, RequestAttributes,
  		ResponseAttributes) -> Result
  	when
  
negative.code: 	Event = {TS, N, Protocol, node(), Server, Client, Request, Response},
  	disk_log:log(?AUTHLOG, Event).
  
  -spec auth_query(Continuation, Start, End, Types,
  		ReqAttrsMatch, RespAttrsMatch) -> Result
  	when
  		Continuation :: start | disk_log:continuation(),
  		Start :: calendar:datetime() | pos_integer(),
  		End :: calendar:datetime() | pos_integer(),
  		Types :: [Type] | '_',
  