Core API Reference


This part presents the class and function reference for the core PolicyKit library, libpolkit.

Table of Contents

Basic types — Type definitions for common primitive types.
Error reporting — Representation of recoverable errors.
Results — Definition of results of PolicyKit queries.
Actions — Models what a caller is attempting to do.
Seat — Represents a ConsoleKit Seat.
Session — Represents a ConsoleKit Session.
Caller — Represents a process requesting a mechanism to do something.
Context — The main interface used to query PolicyKit.
Configuration — Represents the system-wide /etc/PolicyKit/PolicyKit.conf file.
Policy Definition Files — Represents a set of declared actions.
Policy File Entry — Represents a declared action in a policy file.
Defaults — Models the default policy for an action.
Policy Cache — Holds the actions defined on the system.