GFXprim
2D bitmap graphics library with emphasis on speed and correctness
Loading...
Searching...
No Matches
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
25
32
40
41#endif /* WIDGETS_GP_WIDGET_POLL_H */
A simple epoll wrapper.
gp_fd * gp_widget_poll_rem_by_fd(int fd)
Looks up a fd struture by a file descriptor.
void gp_widget_poll_rem(gp_fd *fd)
Removes a file descriptor from the widget main loop.
void gp_widget_poll_add(gp_fd *fd)
Inserts a file descriptor to the widget main loop.
An epoll file descriptor.
Definition gp_poll.h:70