MPD: Permission.hxx File Reference

MPD 0.20.15

Functions | Variables
Permission.hxx File Reference

Go to the source code of this file.

## Functions
int | getPermissionFromPassword (char const *password, unsigned *permission)
unsigned | getDefaultPermissions ()
void | initPermissions ()

## Variables
static constexpr unsigned | PERMISSION_NONE = 0
static constexpr unsigned | PERMISSION_READ = 1
static constexpr unsigned | PERMISSION_ADD = 2
static constexpr unsigned | PERMISSION_CONTROL = 4
static constexpr unsigned | PERMISSION_ADMIN = 8

## Function Documentation

## ◆ getDefaultPermissions()

unsigned getDefaultPermissions | ( |  | ) |

## ◆ getPermissionFromPassword()

int getPermissionFromPassword | ( | char const * | password,
|  | unsigned * | permission
| ) |  |

## ◆ initPermissions()

void initPermissions | ( |  | ) |

## Variable Documentation

## ◆ PERMISSION_ADD

constexpr unsigned PERMISSION_ADD = 2
| static

Definition at line 25 of file Permission.hxx.

## ◆ PERMISSION_ADMIN

constexpr unsigned PERMISSION_ADMIN = 8
| static

Definition at line 27 of file Permission.hxx.

## ◆ PERMISSION_CONTROL

constexpr unsigned PERMISSION_CONTROL = 4
| static

Definition at line 26 of file Permission.hxx.

## ◆ PERMISSION_NONE

constexpr unsigned PERMISSION_NONE = 0
| static

Definition at line 23 of file Permission.hxx.

## ◆ PERMISSION_READ

constexpr unsigned PERMISSION_READ = 1
| static

Definition at line 24 of file Permission.hxx.