Concord - C Discord API library
A Discord API wrapper library written in C
concord-notifier.h
Go to the documentation of this file.
1
7#ifndef CONCORD_NOTIFIER_H
8#define CONCORD_NOTIFIER_H
9
10#include "concord-error.h"
11
19
25void ccord_notifier_close(int pipe[2]);
26
32void ccord_notifier_notify(int pipe[2]);
33
40_Bool ccord_notifier_is_notifying(int pipe[2]);
41
48int ccord_notifier_listen(const int pipe[2]);
49
50#endif /* CONCORD_NOTIFIER_H */
CCORDcode ccord_notifier_open(int pipe[2])
Open notifier pipe.
_Bool ccord_notifier_is_notifying(int pipe[2])
Whether or not pipe is currently notifying fds.
void ccord_notifier_close(int pipe[2])
Close notifier pipe.
int ccord_notifier_listen(const int pipe[2])
Receive a listener for pipe notifications.
void ccord_notifier_notify(int pipe[2])
Notify fds listening to pipe.
int CCORDcode
Concord error codes.
Definition: concord-error.h:11