Malcontent – 0
Description: Reference for Malcontent-0

### Namespace

# Malcontent – 0

malcontent provides parental controls functionality on Linux systems

Version | 0.14.0
Authors | malcontent Development Team
License | LGPL-2.1-or-later
Website | https://gitlab.freedesktop.org/pwithnall/malcontent/
Source | https://gitlab.freedesktop.org/pwithnall/malcontent/

#### Build

pkg-config files | `libmalcontent`

#### Dependencies

#### Related libraries

MalcontentUi | Widget library for parental controls
| Browse documentation

#### Additional documentation

- Classes Hierarchy

#### Classes

Manager | A top-level policy management object which is used to query, set and monitor parental controls policy for different users. since: 0.3.0
User | A user account on the system. since: 0.14.0
UserManager | Gives access to the system user database. since: 0.14.0

#### Structs

AppFilter | An opaque, immutable structure which contains a snapshot of the app filtering settings for a user at a given time. since: 0.2.0
AppFilterBuilder | A stack-allocated mutable structure used to build an `MctAppFilter` instance. since: 0.2.0
SessionLimits | An opaque, immutable structure which contains a snapshot of the session limits settings for a user at a given time. since: 0.5.0
SessionLimitsBuilder | A stack-allocated mutable structure used to build an `MctSessionLimits` instance. Use `mct_session_limits_builder_init()`, various method calls to set properties of the session limits, and then `mct_session_limits_builder_end()`, to construct an `MctSessionLimits`. since: 0.14.0
WebFilter | `MctWebFilter` is an opaque, immutable structure which contains a snapshot of the web filter settings for a user at a given time. since: 0.14.0
WebFilterBuilder | `MctWebFilterBuilder` is a stack-allocated mutable structure used to build a `MctWebFilter` instance. since: 0.14.0

#### Aliases

UserArray | Convenience type to allow use of `g_autoptr()` with arrays of `MctUser`.

#### Enumerations

AppFilterOarsValue | Rating values of the intensity of a given section in an app or game. since: 0.2.0
UserType | Type of a user account. since: 0.14.0
WebFilterType | Types of web filtering which can be imposed on an account. since: 0.14.0

#### Bitfields

ManagerGetValueFlags | Flags to control the behaviour of getter functions like `mct_manager_get_app_filter()` and `mct_manager_get_app_filter_async()`. since: 0.5.0
ManagerSetValueFlags | Flags to control the behaviour of setter functions like `mct_manager_set_app_filter()` and `mct_manager_set_app_filter_async()`. since: 0.5.0

#### Error Domains

ManagerError | Errors relating to get/set operations on a `MctManager` instance. since: 0.5.0

#### Function Macros

APP_FILTER_BUILDER_INIT | Initialise a stack-allocated `MctAppFilterBuilder` instance at declaration time. since: 0.2.0
SESSION_LIMITS_BUILDER_INIT | Initialise a stack-allocated `MctSessionLimitsBuilder` instance at declaration time. since: 0.14.0
WEB_FILTER_BUILDER_INIT | Initialise a stack-allocated `MctWebFilterBuilder` instance at declaration time. since: 0.14.0