summaryrefslogtreecommitdiffstats
path: root/sw/z80/kernel/include/fs/users.h
blob: 83980e58ac462c7fe572ed37bd29baa33be0f850 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef USERS_H
#define USERS_H

#include "types.h"

#define USERS_MAX   8
#define USER_ROOT   0 

/* current user in use */
extern struct fs_user c_user;

struct fs_user
{
    char        name[32];
    ino_t       home;
    uint8_t     perm;       // TODO, permissions 
};

/* all users are in rom device */

#endif