xref: /minix3/minix/fs/ptyfs/node.h (revision da21d850255e4f11bb2023f69a0b3aad4eab62e2)
1 #ifndef _MINIX_PTYFS_NODE_H
2 #define _MINIX_PTYFS_NODE_H
3 
4 typedef unsigned int node_t;
5 
6 struct node_data {
7 	dev_t		dev;
8 	mode_t		mode;
9 	uid_t		uid;
10 	gid_t		gid;
11 	time_t		ctime;
12 };
13 
14 void init_nodes(void);
15 int set_node(node_t index, struct node_data *data);
16 void clear_node(node_t index);
17 struct node_data *get_node(node_t index);
18 node_t get_max_node(void);
19 
20 #endif /* !_MINIX_PTYFS_NODE_H */
21