add circular buffer logic and fix makefile bug

This commit is contained in:
thorium1256
2026-05-27 19:15:44 +03:00
parent 7be1ef312e
commit 94561cfa24
7 changed files with 83 additions and 28 deletions

View File

@@ -1,6 +1,11 @@
#ifndef IRC_EVENTS_H
#define IRC_EVENTS_H
#define QUEUE_FAILURE -1
#define QUEUE_SUCCESS 0
#define QUEUE_FULL 1
#define QUEUE_EMPTY 2
typedef enum
{
IRC_EVENT_PRIVMSG,