summaryrefslogtreecommitdiffstats
path: root/include/process.h
blob: a7f07ea0658728d518e1640b590f5f2d22f31ebf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef _PROCESS_H_
#define _PROCESS_H_

struct child_process {
	struct list_head	head;
	int			pid;
	void			(*cb)(void *data);
	void			*data;
};

int fork_process_new(void (*cb)(void *data), void *data);
int fork_process_delete(int pid);

#endif