diff nnchat.c @ 89:c2d916b340bf

Change some typedef names; Add struct for user list handling.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 06 May 2009 05:05:02 +0300
parents 7577eb770892
children 1e0bf7b4fd41
line wrap: on
line diff
--- a/nnchat.c	Mon Apr 27 07:31:10 2009 +0300
+++ b/nnchat.c	Wed May 06 05:05:02 2009 +0300
@@ -41,6 +41,7 @@
         *editWin = NULL;
 BOOL    setPrvMode = FALSE;
 
+
 /* Arguments
  */
 optarg_t optList[] = {
@@ -223,7 +224,7 @@
     wrefresh(statusWin);
 }
 
-void printEditBuf(char *str, editbuf_t *buf)
+void printEditBuf(char *str, nn_editbuf_t *buf)
 {
     if (statusWin == NULL || buf == NULL) return;
 
@@ -600,8 +601,8 @@
     struct timeval tv;
     fd_set sockfds;
     char *tmpStr;
-    editbuf_t *editBuf = newBuf(SET_BUFSIZE);
-    editbuf_t *histBuf[SET_MAX_HISTORY+2];
+    nn_editbuf_t *editBuf = newBuf(SET_BUFSIZE);
+    nn_editbuf_t *histBuf[SET_MAX_HISTORY+2];
     int histPos = 0, histMax = 0;
     
     memset(histBuf, 0, sizeof(histBuf));