blob: 561dba7fc9407a3185e1b8bc57307a6876ec2682 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#ifndef PERMISSION_H
#define PERMISSION_H
#define PERMISSION_READ 1
#define PERMISSION_ADD 2
#define PERMISSION_CONTROL 4
#define PERMISSION_ADMIN 8
void initPermissions();
int getPermissionFromPassword(char * password, unsigned int * permission);
void finishPermissions();
unsigned int getDefaultPermissions();
#endif
|