Policy API (PAPI)

The Policy Agent includes an application programming interface (API) known as the Policy API or PAPI.

Using the PAPI interface, user applications can connect to the Policy Agent through a UNIX socket connection and access policy related data. Data returned from the Policy Agent are queued in the user's address space. A set of PAPI functions is defined to access specific portions of the returned data. The interface also provides for terminating the connection and cleaning up resources obtained while the API was in use.

Currently, the only function provided by PAPI is to retrieve policy performance data.