diff options
Diffstat (limited to 'arch/um/drivers/port.h')
-rw-r--r-- | arch/um/drivers/port.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/arch/um/drivers/port.h b/arch/um/drivers/port.h new file mode 100644 index 000000000000..9117609a575d --- /dev/null +++ b/arch/um/drivers/port.h | |||
@@ -0,0 +1,30 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2001 Jeff Dike (jdike@karaya.com) | ||
3 | * Licensed under the GPL | ||
4 | */ | ||
5 | |||
6 | #ifndef __PORT_H__ | ||
7 | #define __PORT_H__ | ||
8 | |||
9 | extern void *port_data(int port); | ||
10 | extern int port_wait(void *data); | ||
11 | extern void port_kern_close(void *d); | ||
12 | extern int port_connection(int fd, int *socket_out, int *pid_out); | ||
13 | extern int port_listen_fd(int port); | ||
14 | extern void port_read(int fd, void *data); | ||
15 | extern void port_kern_free(void *d); | ||
16 | extern int port_rcv_fd(int fd); | ||
17 | extern void port_remove_dev(void *d); | ||
18 | |||
19 | #endif | ||
20 | |||
21 | /* | ||
22 | * Overrides for Emacs so that we follow Linus's tabbing style. | ||
23 | * Emacs will notice this stuff at the end of the file and automatically | ||
24 | * adjust the settings for this buffer only. This must remain at the end | ||
25 | * of the file. | ||
26 | * --------------------------------------------------------------------------- | ||
27 | * Local variables: | ||
28 | * c-file-style: "linux" | ||
29 | * End: | ||
30 | */ | ||