diff options
author | J. Alexander Treuman <jat@spatialrift.net> | 2006-08-07 15:48:16 +0000 |
---|---|---|
committer | J. Alexander Treuman <jat@spatialrift.net> | 2006-08-07 15:48:16 +0000 |
commit | 7f4f3010a5cba4346c74646c5419ce782bf434d0 (patch) | |
tree | cb8c7600546521d264743c83d184999d3c42dcff /src/permission.h | |
parent | 7c9d3c4186adeeb712117580a8523d647623141c (diff) | |
download | mpd-7f4f3010a5cba4346c74646c5419ce782bf434d0.tar.gz mpd-7f4f3010a5cba4346c74646c5419ce782bf434d0.tar.xz mpd-7f4f3010a5cba4346c74646c5419ce782bf434d0.zip |
Add PERMISSION_NONE define, for commands that require no permission
git-svn-id: https://svn.musicpd.org/mpd/trunk@4583 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/permission.h')
-rw-r--r-- | src/permission.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/permission.h b/src/permission.h index ad0e7b4bc..b34576f1a 100644 --- a/src/permission.h +++ b/src/permission.h @@ -21,10 +21,11 @@ #include "../config.h" -#define PERMISSION_READ 1 -#define PERMISSION_ADD 2 -#define PERMISSION_CONTROL 4 -#define PERMISSION_ADMIN 8 +#define PERMISSION_NONE 0 +#define PERMISSION_READ 1 +#define PERMISSION_ADD 2 +#define PERMISSION_CONTROL 4 +#define PERMISSION_ADMIN 8 void initPermissions(); |