2012-03-12 12:55:53 +00:00
|
|
|
#ifndef __WMUD_NETWORKING_H__
|
|
|
|
# define __WMUD_NETWORKING_H__
|
|
|
|
|
2012-03-13 01:20:17 +00:00
|
|
|
#include <glib.h>
|
|
|
|
#include <gio/gio.h>
|
|
|
|
|
2012-03-12 22:52:43 +00:00
|
|
|
typedef struct _wmudClient {
|
|
|
|
GSocket *socket;
|
|
|
|
GString *buffer;
|
|
|
|
} wmudClient;
|
|
|
|
|
|
|
|
extern GSList *clients;
|
|
|
|
|
2012-03-12 12:55:53 +00:00
|
|
|
gboolean wmud_networking_init(guint port_number);
|
|
|
|
|
|
|
|
#endif
|