blob: 5ea7e83b99621c48c2ca140eff09b50b0948abb4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#ifndef _MINIX_PTYFS_NODE_H
#define _MINIX_PTYFS_NODE_H
typedef unsigned int node_t;
struct node_data {
dev_t dev;
mode_t mode;
uid_t uid;
gid_t gid;
time_t ctime;
};
void init_nodes(void);
int set_node(node_t index, struct node_data *data);
void clear_node(node_t index);
struct node_data *get_node(node_t index);
node_t get_max_node(void);
#endif /* !_MINIX_PTYFS_NODE_H */
|