get_access_entry


bool get_access_entry(access_list* access_list_get,
                      unsigned index,
                      access_entry** entry)

This function obtains an access entry of a given index.

Parameters

access_list* access_list_get

A pointer to the access list whose entry is being queried.

unsigned index

The 0-based index of the required entry.

access_entry** entry

A pointer to a variable that is updated to point at the access entry at the specified index.

Return

bool

true The function succeeded.
false The call failed.

Notes

An access list contains access entries that vary in size (because security identities vary in size). This function calculates the address of an access entry given its zero-based index.