anchor.diff:  		get_usage/1, get_usage/2, get_usagespec/1, get_usagespec/2,
   		get_ipdr/1]).
   
  --export([query_auth/8]).
  -
   -include_lib("radius/include/radius.hrl").
   -include("ocs_log.hrl").
   
  
positive.code: %% @hidden
  get_auth_query_page(PageServer, Start, End, Etag, Filters) ->
  	case gen_server:call(PageServer, {Start, End}) of
  		{0, []} ->
  			{error, 404};
  		{NumItems, Events} ->
  			JsonObj = usage_aaa_auth(Events, Filters),
  			JsonArray = {array, JsonObj},
  			Body = mochijson:encode(JsonArray),
  			ContentRange = "items " ++ integer_to_list(Start) ++ "-"
  					++ integer_to_list(NumItems) ++ "/*",
  			Headers = [{content_type, "application/json"},
  					{etag, Etag}, {content_range, ContentRange}],
  			{ok, Headers, Body}
  
negative.code: get_acct_last(_Query, _Filters) ->
  	{error, 400}.
  
  