This commit is contained in:
Your Name 2023-12-30 17:09:59 +03:00
parent fa2b540550
commit 6a1d2cf850
3 changed files with 13 additions and 9 deletions

View File

@ -1,3 +1,12 @@
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <netdb.h>
#include <sys/time.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include "irc.h" #include "irc.h"
int IRCC_connect(IRCC_client *irc, const char *ip, const unsigned int port){ int IRCC_connect(IRCC_client *irc, const char *ip, const unsigned int port){

View File

@ -8,15 +8,6 @@
motd motd
*/ */
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <netdb.h>
#include <sys/time.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#define IRCC_MSG_MAX 512 #define IRCC_MSG_MAX 512
#define IRCC_PING_TIMEOUT 600 #define IRCC_PING_TIMEOUT 600

View File

@ -1,3 +1,7 @@
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include "irc.h" #include "irc.h"
//Config //Config