@@ -20,6 +20,8 @@
|
||||
#ifndef MPD_PERMISSION_HXX
|
||||
#define MPD_PERMISSION_HXX
|
||||
|
||||
#include "check.h"
|
||||
|
||||
static constexpr unsigned PERMISSION_NONE = 0;
|
||||
static constexpr unsigned PERMISSION_READ = 1;
|
||||
static constexpr unsigned PERMISSION_ADD = 2;
|
||||
@@ -31,6 +33,11 @@ int getPermissionFromPassword(char const* password, unsigned* permission);
|
||||
unsigned
|
||||
getDefaultPermissions();
|
||||
|
||||
#ifdef HAVE_UN
|
||||
unsigned
|
||||
GetLocalPermissions() noexcept;
|
||||
#endif
|
||||
|
||||
void
|
||||
initPermissions();
|
||||
|
||||
|
Reference in New Issue
Block a user