/*
* $Log$
+ * Revision 1.10 2008/02/22 17:06:59 james
+ * *** empty log message ***
+ *
+ * Revision 1.9 2008/02/20 18:49:11 staffcvs
+ * *** empty log message ***
+ *
+ * Revision 1.8 2008/02/20 18:31:44 james
+ * *** empty log message ***
+ *
+ * Revision 1.7 2008/02/15 23:52:12 james
+ * *** empty log message ***
+ *
* Revision 1.6 2008/02/15 03:32:07 james
* *** empty log message ***
*
*/
#include <sympathy.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <strings.h>
+#include <malloc.h>
#include "clients.h"
static void
case IPC_MSG_TYPE_SETFLOW:
tty_set_flow (c->t, m->setflow.flow);
break;
+ case IPC_MSG_TYPE_SETANSI:
+ vt102_set_ansi (c->v, m->setansi.ansi);
+ break;
+ case IPC_MSG_TYPE_HANGUP:
+ tty_hangup (c->t);
+ break;
default:
fprintf (stderr, "Unhandeled message type %d\n", m->hdr.type);
}
socket_free (c->s);
free (c);
+#if 0
fprintf (stderr, "Client at %p freed\n", c);
+#endif
}
Client *
cs->head = c;
cs->n++;
+#if 0
fprintf (stderr, "Client at %p created\n", c);
+#endif
if (ipc_msg_send_debug (s, "new_client"))