]> Pileus Git - ~andy/lamechat/blobdiff - net.h
Use net for IRC
[~andy/lamechat] / net.h
diff --git a/net.h b/net.h
index 6b977983e15566f0082bbbb79cf985bf7946c72b..2c74a87c68f9b3c2fc50ed457b23aa6778c0f5c5 100644 (file)
--- a/net.h
+++ b/net.h
@@ -56,11 +56,13 @@ typedef struct {
        int      out_len;
 } net_t;
 
-/* Networking Functions */
+/* Networking functions */
+const char *get_hostname(void);
+
+/* Connection functions */
 void net_init(void);
 void net_open(net_t *net, const char *host, int port);
 void net_encrypt(net_t *net);
 int  net_send(net_t *net, const char *buf, int len);
 int  net_print(net_t *net, const char *fmt, ...);
-int  net_poll(net_t *net);
 void net_close(net_t *net);