20 lines
485 B
C
20 lines
485 B
C
#include <ctype.h>
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
#include <time.h>
|
|
|
|
#define UIRC_IRCV3
|
|
#include "uirc/uirc.h"
|
|
|
|
#define ANSI_COLOR_RED "\x1b[31m"
|
|
#define ANSI_COLOR_GREEN "\x1b[32m"
|
|
#define ANSI_COLOR_YELLOW "\x1b[33m"
|
|
#define ANSI_COLOR_BLUE "\x1b[34m"
|
|
#define ANSI_COLOR_GRAY "\x1b[90m"
|
|
#define ANSI_COLOR_RESET "\x1b[0m"
|
|
|
|
extern char* mIRC_COLORS[16];
|
|
ssize_t get_buffer_line(char* buf, IRC_Message* parsed);
|
|
void print_local_time(const char* irc_time);
|