|
Concord - C Discord API library
A Discord API wrapper library written in C
|
Notifier fds listening to pipe, this can be used to propagate events. More...
#include "concord-error.h"Go to the source code of this file.
Functions | |
| CCORDcode | ccord_notifier_open (int pipe[2]) |
| Open notifier pipe. More... | |
| void | ccord_notifier_close (int pipe[2]) |
| Close notifier pipe. More... | |
| void | ccord_notifier_notify (int pipe[2]) |
| Notify fds listening to pipe. More... | |
| _Bool | ccord_notifier_is_notifying (int pipe[2]) |
| Whether or not pipe is currently notifying fds. More... | |
| int | ccord_notifier_listen (const int pipe[2]) |
| Receive a listener for pipe notifications. More... | |
Notifier fds listening to pipe, this can be used to propagate events.
| CCORDcode ccord_notifier_open | ( | int | pipe[2] | ) |
Open notifier pipe.
| pipe | The pipe to open for emitting notifications |
| void ccord_notifier_close | ( | int | pipe[2] | ) |
Close notifier pipe.
| pipe | The pipe to close |
| void ccord_notifier_notify | ( | int | pipe[2] | ) |
Notify fds listening to pipe.
| pipe | The pipe to notify |
| _Bool ccord_notifier_is_notifying | ( | int | pipe[2] | ) |
Whether or not pipe is currently notifying fds.
| pipe | The pipe to check |
| int ccord_notifier_listen | ( | const int | pipe[2] | ) |
Receive a listener for pipe notifications.
| pipe | The pipe to listen to |