blob: 9085b336e683c9514f4042e6d3a46644928b94e8 [file] [log] [blame]
Alex Dewardbddf422019-08-25 10:49:16 +01001/* SPDX-License-Identifier: GPL-2.0 */
Linus Torvalds1da177e2005-04-16 15:20:36 -07002/*
3 * Copyright (C) 2001 Jeff Dike (jdike@karaya.com)
Linus Torvalds1da177e2005-04-16 15:20:36 -07004 */
5
6#ifndef __PORT_H__
7#define __PORT_H__
8
9extern void *port_data(int port);
10extern int port_wait(void *data);
11extern void port_kern_close(void *d);
12extern int port_connection(int fd, int *socket_out, int *pid_out);
13extern int port_listen_fd(int port);
14extern void port_read(int fd, void *data);
15extern void port_kern_free(void *d);
16extern int port_rcv_fd(int fd);
17extern void port_remove_dev(void *d);
18
19#endif
20