Skip to content

Commit

Permalink
Update include/discord.h
Browse files Browse the repository at this point in the history
Co-authored-by: Lucas Müller <muller.lucas@hotmail.com>
  • Loading branch information
Anotra and lcsmuller committed Mar 25, 2022
1 parent d094af1 commit 78a0c15
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion include/discord.h
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,10 @@ struct logconf *discord_get_logconf(struct discord *client);
*/
struct io_poller *discord_get_io_poller(struct discord *client);

/** @defgroup DiscordTimer Timer
* @brief Schedule callbacks to be called in the future
* @{ */

struct discord_timer;
typedef void (*discord_ev_timer)
(struct discord *client, struct discord_timer *ev);
Expand Down Expand Up @@ -310,7 +314,8 @@ unsigned discord_timer_ctl(struct discord *client, struct discord_timer *timer);

unsigned discord_timer(struct discord *client, discord_ev_timer cb,
void *data, int64_t start_after);


/** @} DiscordTimer */
/** @} Discord */

#endif /* DISCORD_H */

0 comments on commit 78a0c15

Please sign in to comment.