mirror of
https://github.com/IllusionMan1212/ShockPair.git
synced 2026-10-24 10:12:26 +00:00
initial commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
/* SPDX-License-Identifier: Apache-2.0 */
|
||||
/*
|
||||
* Copyright (C) 2013 Intel Corporation
|
||||
*
|
||||
*/
|
||||
|
||||
#include <poll.h>
|
||||
|
||||
/* Function to be called when there are event for some descriptor */
|
||||
typedef void (*poll_handler)(struct pollfd *pollfd);
|
||||
|
||||
int poll_register_fd(int fd, short events, poll_handler ph);
|
||||
int poll_unregister_fd(int fd, poll_handler ph);
|
||||
|
||||
void poll_dispatch_loop(void);
|
||||
Reference in New Issue
Block a user