view mcabber/src/socket.h @ 29:86837ff0554c

[/trunk] Changeset 45 by mikael * Switch to libjabber. (Does NOT work at all yet) jabglue.c is a wrapper around the libjabber library.
author mikael
date Mon, 28 Mar 2005 20:12:48 +0000
parents e88b15cbf2de
children
line wrap: on
line source

#ifndef __SOCKET_H__
#define __SOCKET_H__ 1

#include <sys/socket.h>

int sk_conn(struct sockaddr *name);
int sk_send(int sock, char *buffer);
char *sk_recv(int sock);

#endif