aboutsummaryrefslogtreecommitdiff
path: root/src/lib9/9proc.h
blob: 713b9558d527438137d385224a3582f645889f41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
enum
{
	NPRIV = 16,
	RENDHASH = 33,
	PIDHASH = 33,
};

typedef struct Uproc Uproc;
struct Uproc
{
	Uproc *next;
	int pid;
	int pipe[2];
	int state;
	void *priv[NPRIV];
	ulong rendval;
	ulong rendtag;
	Uproc *rendhash;
	p9jmp_buf notejb;
};

extern Uproc *_p9uproc(void);
extern void _p9uprocdie(void);