Newer
Older
Scratch / ubircd / include / socket.h
@Christopher W. Olsen Christopher W. Olsen on 25 Oct 2019 293 bytes Scratch
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>

int StartSS(Conf cf);
int GetConnection(int s,Conf cf);
int SendSock(int s,const char *fmt, ...);
void AddSock(int val,struct slist *tmp);
int ReadSock(Sock socket);
void DeleteSock(Sock *head,int val);