GFXprim
2D bitmap graphics library with emphasis on speed and correctness
Loading...
Searching...
No Matches
include
widgets
gp_widget_poll.h
Go to the documentation of this file.
1
//SPDX-License-Identifier: LGPL-2.0-or-later
2
3
/*
4
5
Copyright (c) 2014-2023 Cyril Hrubis <metan@ucw.cz>
6
7
*/
8
14
#ifndef WIDGETS_GP_WIDGET_POLL_H
15
#define WIDGETS_GP_WIDGET_POLL_H
16
17
#include <
utils/gp_poll.h
>
18
24
void
gp_widget_poll_add
(
gp_fd
*fd);
25
31
void
gp_widget_poll_rem
(
gp_fd
*fd);
32
39
gp_fd
*
gp_widget_poll_rem_by_fd
(
int
fd);
40
41
#endif
/* WIDGETS_GP_WIDGET_POLL_H */
gp_poll.h
A simple epoll wrapper.
gp_widget_poll_rem_by_fd
gp_fd * gp_widget_poll_rem_by_fd(int fd)
Looks up a fd struture by a file descriptor.
gp_widget_poll_rem
void gp_widget_poll_rem(gp_fd *fd)
Removes a file descriptor from the widget main loop.
gp_widget_poll_add
void gp_widget_poll_add(gp_fd *fd)
Inserts a file descriptor to the widget main loop.
gp_fd
An epoll file descriptor.
Definition
gp_poll.h:70
Generated by
1.9.8