2019-08-25 10:49:16 +01:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
2005-04-16 15:20:36 -07:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2000 Jeff Dike (jdike@karaya.com)
|
|
|
|
* Copyright (C) 2001 RidgeRun, Inc (glonnon@ridgerun.com)
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __UM_UBD_USER_H
|
|
|
|
#define __UM_UBD_USER_H
|
|
|
|
|
2025-03-19 21:55:21 +08:00
|
|
|
#include <os.h>
|
|
|
|
|
|
|
|
int start_io_thread(struct os_helper_thread **td_out, int *fd_out);
|
|
|
|
void *io_thread(void *arg);
|
2005-04-16 15:20:36 -07:00
|
|
|
extern int kernel_fd;
|
|
|
|
|
2016-11-09 20:43:25 +00:00
|
|
|
extern int ubd_read_poll(int timeout);
|
|
|
|
extern int ubd_write_poll(int timeout);
|
|
|
|
|
|
|
|
#define UBD_REQ_BUFFER_SIZE 64
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
#endif
|
|
|
|
|