radius_create_request

radius_create_request -- Create accounting or authentication request

Description

boolean radius_create_request (resource radius_handle, int type)

Returns: TRUE on success, FALSE on error.

A Radius request consists of a code specifying the kind of request, and zero or more attributes which provide additional information. To begin constructing a new request, call radius_create_request(). Type is RADIUS_ACCESS_REQUEST or RADIUS_ACCOUNTING_REQUEST.

Note: Attention: You must call this function, before you can put any attribute!