diff libnnchat.h @ 71:3a23c2adfb78

Remove tabs from indentation.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 14 Nov 2008 08:49:40 +0200
parents 3ab7751fdad1
children 745f670068dc
line wrap: on
line diff
--- a/libnnchat.h	Fri Nov 14 08:48:12 2008 +0200
+++ b/libnnchat.h	Fri Nov 14 08:49:40 2008 +0200
@@ -22,30 +22,30 @@
 #include "th_string.h"
 
 #define SET_BUFSIZE     (4096)
-#define SET_ALLOC_SIZE	(128)
+#define SET_ALLOC_SIZE  (128)
 
 typedef struct {
-	char **data;
-	size_t n, size;
+    char **data;
+    size_t n, size;
 } ringbuf_t;
 
 typedef struct {
-	ssize_t pos, len, size;
-	char *data;
+    ssize_t pos, len, size;
+    char *data;
 } editbuf_t;
 
 
-int     openConnection(struct in_addr *addr, const int port);
-void    closeConnection(const int sock);
-BOOL    sendToSocket(const int sock, char *buf, const size_t bufLen);
-BOOL    sendUserMsg(const int sock, const char *user, const char *fmt, ...);
+int         openConnection(struct in_addr *addr, const int port);
+void        closeConnection(const int sock);
+BOOL        sendToSocket(const int sock, char *buf, const size_t bufLen);
+BOOL        sendUserMsg(const int sock, const char *user, const char *fmt, ...);
 
 
-char *  encodeStr1(const char *str);
-char *  decodeStr1(const char *str);
-char *  encodeStr2(const char *str);
-char *  decodeStr2(const char *str);
-char *  stripXMLTags(const char *str);
+char *      encodeStr1(const char *str);
+char *      decodeStr1(const char *str);
+char *      encodeStr2(const char *str);
+char *      decodeStr2(const char *str);
+char *      stripXMLTags(const char *str);
 
 
 ringbuf_t * newRingBuf(const size_t size);