anchor.diff:  		AttrsMatch :: [{Attribute, Match}] | '_',
   		Attribute :: byte(),
   		Match :: term() | '_',
  -		Result :: [term()].
  +		Result :: {Continuation2, Events} | {eof, Events} | {error, Reason},
  +		Continuation2 :: disk_log:continuation(),
  +		Events :: [acct_event()],
  +		Reason :: term().
   %% @doc Query accounting log events with filters.
  +%%
  +%% 	The first time called `Continuation' should have the value `start'.
   %%
   %% 	Events before `Start' or after `Stop', or which do not match
   %% 	the `Protocol' or one of the `Types', are ignored.
  
positive.code: 
  %% export the ocs_log public API
  -export([acct_open/0, acct_log/4, acct_close/0,
  		acct_query/4, acct_query/5,
  		auth_open/0, auth_log/5, auth_log/6, auth_close/0,
  		auth_query/5, auth_query/6,
  		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([]).
  
  -include("ocs_log.hrl").
  -include_lib("radius/include/radius.hrl").
  
negative.code: 	end;
  acct_query(Start, End, Protocol, Types, AttrsMatch, {Cont, [_ | T]}, Acc) ->
  	acct_query(Start, End, Protocol, Types, AttrsMatch, {Cont, T}, Acc);
  acct_query(_, _, _, _, _, {Cont, []}, Acc) ->
  	{Cont, lists:reverse(Acc)}.
  %% @hidden
  acct_query1(Start, End, Protocol, Types, '_', {Cont, [H | T]}, Acc, '_') ->
  	acct_query(Start, End, Protocol, Types, '_', {Cont, T}, [H | Acc]);
  