<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>io/pn_node.c</filename>
    </added>
    <added>
      <filename>io/pn_node.h</filename>
    </added>
    <added>
      <filename>io/pn_node_private.h</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -97,7 +97,7 @@ objects := msn.o \
 	   ab/pecan_contact.o \
 	   ab/pecan_contactlist.o \
 	   io/pn_stream.o \
-	   io/pecan_node.o \
+	   io/pn_node.o \
 	   io/pecan_cmd_server.o \
 	   io/pecan_http_server.o \
 	   io/pecan_ssl_conn.o \</diff>
      <filename>Makefile</filename>
    </modified>
    <modified>
      <diff>@@ -30,7 +30,7 @@ MSNSOURCES = msn.c \
 	     ab/pecan_contact.c \
 	     ab/pecan_contactlist.c \
 	     io/pn_stream.c \
-	     io/pecan_node.c \
+	     io/pn_node.c \
 	     io/pecan_cmd_server.c \
 	     io/pecan_http_server.c \
 	     io/pecan_ssl_conn.c \</diff>
      <filename>adium/Makefile.am</filename>
    </modified>
    <modified>
      <diff>@@ -22,7 +22,7 @@
 #include &quot;table_private.h&quot;
 #include &quot;command_private.h&quot;
 
-#include &quot;io/pecan_node.h&quot;
+#include &quot;io/pn_node.h&quot;
 
 #include &quot;pn_log.h&quot;
 
@@ -126,10 +126,10 @@ msn_cmdproc_send_trans (MsnCmdProc *cmdproc,
     {
         GIOStatus status;
 
-        status = pecan_node_write (cmdproc-&gt;conn, data, len, NULL, NULL);
+        status = pn_node_write (cmdproc-&gt;conn, data, len, NULL, NULL);
 
         if (status != G_IO_STATUS_NORMAL)
-            pecan_node_error (cmdproc-&gt;conn);
+            pn_node_error (cmdproc-&gt;conn);
     }
 
     g_free (data);
@@ -170,10 +170,10 @@ msn_cmdproc_send_quick (MsnCmdProc *cmdproc,
     {
         GIOStatus status;
 
-        status = pecan_node_write (cmdproc-&gt;conn, data, len, NULL, NULL);
+        status = pn_node_write (cmdproc-&gt;conn, data, len, NULL, NULL);
 
         if (status != G_IO_STATUS_NORMAL)
-            pecan_node_error (cmdproc-&gt;conn);
+            pn_node_error (cmdproc-&gt;conn);
     }
 
     g_free (data);</diff>
      <filename>cmd/cmdproc.c</filename>
    </modified>
    <modified>
      <diff>@@ -26,7 +26,7 @@
 
 struct MsnSession;
 struct MsnHistory;
-struct PecanNode;
+struct PnNode;
 
 struct MsnCmdProc
 {
@@ -42,7 +42,7 @@ struct MsnCmdProc
     guint cmd_count;
 
     struct MsnHistory *history;
-    struct PecanNode *conn;
+    struct PnNode *conn;
 };
 
 #endif /* MSN_CMDPROC_PRIVATE_H */</diff>
      <filename>cmd/cmdproc_private.h</filename>
    </modified>
    <modified>
      <diff>@@ -25,7 +25,7 @@
 #include &quot;cvr/slp.h&quot;
 #include &quot;cvr/slpmsg.h&quot;
 
-#include &quot;io/pecan_node.h&quot;
+#include &quot;io/pn_node.h&quot;
 
 #ifndef _WIN32
 #include &lt;netinet/in.h&gt;
@@ -218,7 +218,7 @@ msn_directconn_write(MsnDirectConn *directconn,
     }
     else
     {
-        /* pecan_node_error(directconn-&gt;conn); */
+        /* pn_node_error(directconn-&gt;conn); */
         msn_directconn_destroy(directconn);
     }
 
@@ -368,7 +368,7 @@ connect_cb(gpointer data, gint source, const gchar *error_message)
     {
         GIOChannel *channel;
 
-        /* directconn-&gt;conn = pecan_node_new (channel); */
+        /* directconn-&gt;conn = pn_node_new (channel); */
         directconn-&gt;connected = TRUE;
 
         directconn-&gt;stream = pn_stream_new (fd);</diff>
      <filename>directconn.c</filename>
    </modified>
    <modified>
      <diff>@@ -28,7 +28,7 @@ typedef struct MsnDirectConn MsnDirectConn;
 #include &quot;cmd/msg.h&quot;
 #include &quot;io/pn_stream.h&quot;
 
-struct PecanNode;
+struct PnNode;
 struct _PurpleProxyConnectData;
 
 struct MsnDirectConn</diff>
      <filename>directconn.h</filename>
    </modified>
    <modified>
      <diff>@@ -17,7 +17,7 @@
  */
 
 #include &quot;pecan_cmd_server.h&quot;
-#include &quot;pecan_node_priv.h&quot;
+#include &quot;pn_node_private.h&quot;
 #include &quot;cmd/cmdproc_private.h&quot;
 #include &quot;cmd/command_private.h&quot;
 
@@ -31,7 +31,7 @@
 
 struct PecanCmdServer
 {
-    PecanNode parent;
+    PnNode parent;
 
     gsize payload_len;
     gchar *rx_buf;
@@ -42,14 +42,14 @@ struct PecanCmdServer
 
 struct PecanCmdServerClass
 {
-    PecanNodeClass parent_class;
+    PnNodeClass parent_class;
 };
 
-static PecanNodeClass *parent_class = NULL;
+static PnNodeClass *parent_class = NULL;
 
 PecanCmdServer *
 pecan_cmd_server_new (const gchar *name,
-                      PecanNodeType type)
+                      PnNodeType type)
 {
     PecanCmdServer *conn;
 
@@ -58,7 +58,7 @@ pecan_cmd_server_new (const gchar *name,
     conn = CMD_PECAN_NODE (g_type_create_instance (CMD_PECAN_NODE_TYPE));
 
     {
-        PecanNode *tmp = PECAN_NODE (conn);
+        PnNode *tmp = PN_NODE (conn);
         tmp-&gt;name = g_strdup (name);
         tmp-&gt;type = type;
     }
@@ -92,7 +92,7 @@ pecan_cmd_server_send (PecanCmdServer *conn,
 /** @todo reimplement this in a safer way (GIOChannel) */
 /** @todo add extensive tests for this */
 static void
-parse_impl (PecanNode *base_conn,
+parse_impl (PnNode *base_conn,
             gchar *buf,
             gsize bytes_read)
 {
@@ -168,7 +168,7 @@ parse_impl (PecanNode *base_conn,
 }
 
 static void
-close_impl (PecanNode *conn)
+close_impl (PnNode *conn)
 {
     PecanCmdServer *cmd_conn;
 
@@ -184,14 +184,14 @@ close_impl (PecanNode *conn)
     if (cmd_conn-&gt;cmdproc)
         msn_cmdproc_flush (cmd_conn-&gt;cmdproc);
 
-    PECAN_NODE_CLASS (parent_class)-&gt;close (conn);
+    PN_NODE_CLASS (parent_class)-&gt;close (conn);
 
     pn_log (&quot;end&quot;);
 }
 
 #if 0
 static void
-read_impl (PecanNode *conn)
+read_impl (PnNode *conn)
 {
     MsnBuffer *read_buffer;
     int r;
@@ -216,14 +216,14 @@ read_impl (PecanNode *conn)
     if (r == 0)
     {
         /* connection closed */
-        pecan_node_close (conn);
+        pn_node_close (conn);
         return;
     }
 
     if (r &lt; 0)
     {
         /* connection error */
-        pecan_node_close (conn);
+        pn_node_close (conn);
         return;
     }
 
@@ -258,7 +258,7 @@ read_impl (PecanNode *conn)
         }
         else
         {
-            /* PECAN_NODE_GET_CLASS (conn)-&gt;parse (conn); */
+            /* PN_NODE_GET_CLASS (conn)-&gt;parse (conn); */
         }
 
         /** @todo only if parsed? yes indeed! */
@@ -308,7 +308,7 @@ static void
 class_init (gpointer g_class,
             gpointer class_data)
 {
-    PecanNodeClass *conn_class = PECAN_NODE_CLASS (g_class);
+    PnNodeClass *conn_class = PN_NODE_CLASS (g_class);
     GObjectClass *gobject_class = G_OBJECT_CLASS (g_class);
 
     conn_class-&gt;parse = &amp;parse_impl;
@@ -345,7 +345,7 @@ pecan_cmd_server_get_type (void)
         type_info-&gt;instance_size = sizeof (PecanCmdServer);
         type_info-&gt;instance_init = instance_init;
 
-        type = g_type_register_static (PECAN_NODE_TYPE, &quot;PecanCmdServerType&quot;, type_info, 0);
+        type = g_type_register_static (PN_NODE_TYPE, &quot;PecanCmdServerType&quot;, type_info, 0);
     }
 
     return type;</diff>
      <filename>io/pecan_cmd_server.c</filename>
    </modified>
    <modified>
      <diff>@@ -24,14 +24,14 @@
 typedef struct PecanCmdServer PecanCmdServer;
 typedef struct PecanCmdServerClass PecanCmdServerClass;
 
-#include &quot;pecan_node.h&quot;
+#include &quot;pn_node.h&quot;
 
 #define CMD_PECAN_NODE_TYPE (pecan_cmd_server_get_type ())
 #define CMD_PECAN_NODE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CMD_PECAN_NODE_TYPE, PecanCmdServer))
 #define CMD_PECAN_NODE_CLASS(c) (G_TYPE_CHECK_CLASS_CAST ((c), CMD_PECAN_NODE_TYPE, PecanCmdServerClass))
 #define CMD_PECAN_NODE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CMD_PECAN_NODE_TYPE, PecanCmdServerClass))
 
-PecanCmdServer *pecan_cmd_server_new (const gchar *name, PecanNodeType type);
+PecanCmdServer *pecan_cmd_server_new (const gchar *name, PnNodeType type);
 void pecan_cmd_server_free (PecanCmdServer *conn);
 
 void pecan_cmd_server_send (PecanCmdServer *conn, const char *command, const char *format, ...);</diff>
      <filename>io/pecan_cmd_server.h</filename>
    </modified>
    <modified>
      <diff>@@ -26,7 +26,7 @@
  */
 
 #include &quot;pecan_http_server.h&quot;
-#include &quot;pecan_node_priv.h&quot;
+#include &quot;pn_node_private.h&quot;
 #include &quot;pn_stream.h&quot;
 #include &quot;pn_log.h&quot;
 #include &quot;pn_global.h&quot;
@@ -51,7 +51,7 @@
 
 struct PecanHttpServer
 {
-    PecanNode parent;
+    PnNode parent;
     gboolean dispose_has_run;
 
     guint parser_state;
@@ -64,27 +64,27 @@ struct PecanHttpServer
     gchar *gateway;
 
     GHashTable *childs;
-    PecanNode *cur;
+    PnNode *cur;
     gchar *old_buffer;
 };
 
 struct PecanHttpServerClass
 {
-    PecanNodeClass parent_class;
+    PnNodeClass parent_class;
 };
 
-static PecanNodeClass *parent_class = NULL;
+static PnNodeClass *parent_class = NULL;
 
 typedef struct
 {
-    PecanNode *conn;
+    PnNode *conn;
     gchar *body;
     gsize body_len;
 } HttpQueueData;
 
 static GIOStatus
-foo_write (PecanNode *conn,
-           PecanNode *prev,
+foo_write (PnNode *conn,
+           PnNode *prev,
            const gchar *buf,
            gsize count,
            gsize *ret_bytes_written,
@@ -100,7 +100,7 @@ process_queue (PecanHttpServer *http_conn,
 
     if (queue_data)
     {
-        foo_write (PECAN_NODE (http_conn),
+        foo_write (PN_NODE (http_conn),
                    queue_data-&gt;conn,
                    queue_data-&gt;body,
                    queue_data-&gt;body_len,
@@ -117,13 +117,13 @@ read_cb (GIOChannel *source,
          GIOCondition condition,
          gpointer data)
 {
-    PecanNode *conn;
+    PnNode *conn;
     gchar buf[PN_BUF_LEN + 1];
     gsize bytes_read;
 
     pn_log (&quot;begin&quot;);
 
-    conn = PECAN_NODE (data);
+    conn = PN_NODE (data);
 
     pn_debug (&quot;conn=%p,source=%p&quot;, conn, source);
 
@@ -132,7 +132,7 @@ read_cb (GIOChannel *source,
     {
         GIOStatus status = G_IO_STATUS_NORMAL;
 
-        status = pecan_node_read (conn, buf, PN_BUF_LEN, &amp;bytes_read, &amp;conn-&gt;error);
+        status = pn_node_read (conn, buf, PN_BUF_LEN, &amp;bytes_read, &amp;conn-&gt;error);
 
         if (status == G_IO_STATUS_AGAIN)
         {
@@ -142,7 +142,7 @@ read_cb (GIOChannel *source,
 
         if (conn-&gt;error)
         {
-            pecan_node_error (conn);
+            pn_node_error (conn);
             g_object_unref (conn);
             return FALSE;
         }
@@ -168,7 +168,7 @@ read_cb (GIOChannel *source,
             if (!(http_conn-&gt;old_buffer &amp;&amp;
                   strncmp (buf, http_conn-&gt;old_buffer, bytes_read) == 0))
             {
-                pecan_node_parse (http_conn-&gt;cur, buf, bytes_read);
+                pn_node_parse (http_conn-&gt;cur, buf, bytes_read);
 
                 g_free (http_conn-&gt;old_buffer);
                 http_conn-&gt;old_buffer = g_strndup (buf, bytes_read);
@@ -181,7 +181,7 @@ read_cb (GIOChannel *source,
 
         if (conn-&gt;error)
         {
-            pecan_node_error (conn);
+            pn_node_error (conn);
             g_object_unref (conn);
             return FALSE;
         }
@@ -204,9 +204,9 @@ pecan_http_server_new (const gchar *name)
     http_conn = PECAN_HTTP_SERVER (g_type_create_instance (PECAN_HTTP_SERVER_TYPE));
 
     {
-        PecanNode *tmp = PECAN_NODE (http_conn);
+        PnNode *tmp = PN_NODE (http_conn);
         tmp-&gt;name = g_strdup (name);
-        tmp-&gt;type = PECAN_NODE_HTTP;
+        tmp-&gt;type = PN_NODE_HTTP;
     }
 
     pn_log (&quot;end&quot;);
@@ -225,7 +225,7 @@ pecan_http_server_free (PecanHttpServer *http_conn)
 static gboolean
 http_poll (gpointer data)
 {
-    PecanNode *conn;
+    PnNode *conn;
     PecanHttpServer *http_conn;
     GIOStatus status = G_IO_STATUS_NORMAL;
     GError *tmp_error = NULL;
@@ -238,7 +238,7 @@ http_poll (gpointer data)
 
     g_return_val_if_fail (data != NULL, FALSE);
 
-    conn = PECAN_NODE (data);
+    conn = PN_NODE (data);
     http_conn = PECAN_HTTP_SERVER (data);
 
     pn_debug (&quot;stream=%p&quot;, conn-&gt;stream);
@@ -301,9 +301,9 @@ http_poll (gpointer data)
 
     if (status != G_IO_STATUS_NORMAL)
     {
-        PecanNodeClass *class;
+        PnNodeClass *class;
         pn_error (&quot;not normal: status=%d&quot;, status);
-        class = g_type_class_peek (PECAN_NODE_TYPE);
+        class = g_type_class_peek (PN_NODE_TYPE);
         g_signal_emit (G_OBJECT (conn), class-&gt;error_sig, 0, conn);
         return FALSE;
     }
@@ -316,12 +316,12 @@ connect_cb (gpointer data,
             gint source,
             const gchar *error_message)
 {
-    PecanNode *conn;
+    PnNode *conn;
     PecanHttpServer *http_conn;
 
     pn_log (&quot;begin&quot;);
 
-    conn = PECAN_NODE (data);
+    conn = PN_NODE (data);
     http_conn = PECAN_HTTP_SERVER (data);
 
     conn-&gt;connect_data = NULL;
@@ -341,17 +341,17 @@ connect_cb (gpointer data,
         conn-&gt;read_watch = g_io_add_watch (channel, G_IO_IN, read_cb, conn);
 
         {
-            PecanNodeClass *class;
-            class = g_type_class_peek (PECAN_NODE_TYPE);
+            PnNodeClass *class;
+            class = g_type_class_peek (PN_NODE_TYPE);
             g_signal_emit (G_OBJECT (conn), class-&gt;open_sig, 0, conn);
         }
     }
     else
     {
-        PecanNodeClass *class;
-        class = g_type_class_peek (PECAN_NODE_TYPE);
+        PnNodeClass *class;
+        class = g_type_class_peek (PN_NODE_TYPE);
 
-        conn-&gt;error = g_error_new_literal (PECAN_NODE_ERROR, PECAN_NODE_ERROR_OPEN,
+        conn-&gt;error = g_error_new_literal (PN_NODE_ERROR, PN_NODE_ERROR_OPEN,
                                            error_message ? error_message : &quot;Unable to connect&quot;);
 
         g_signal_emit (G_OBJECT (conn), class-&gt;error_sig, 0, conn);
@@ -361,7 +361,7 @@ connect_cb (gpointer data,
 }
 
 static void
-connect_impl (PecanNode *conn,
+connect_impl (PnNode *conn,
               const gchar *hostname,
               gint port)
 {
@@ -381,7 +381,7 @@ connect_impl (PecanNode *conn,
             purple_proxy_connect_cancel (conn-&gt;connect_data);
         }
 
-        if (conn-&gt;prev-&gt;type == PECAN_NODE_NS)
+        if (conn-&gt;prev-&gt;type == PN_NODE_NS)
             hostname = http_conn-&gt;gateway;
         port = 80;
         pn_debug (&quot;conn=%p,hostname=%s,port=%d&quot;, conn, hostname, port);
@@ -394,15 +394,15 @@ connect_impl (PecanNode *conn,
         if (conn-&gt;prev)
         {
             /* fake open */
-            PecanNodeClass *class;
-            class = g_type_class_peek (PECAN_NODE_TYPE);
+            PnNodeClass *class;
+            class = g_type_class_peek (PN_NODE_TYPE);
             g_signal_emit (G_OBJECT (conn-&gt;prev), class-&gt;open_sig, 0, conn-&gt;prev);
         }
     }
 }
 
 static void
-close_impl (PecanNode *conn)
+close_impl (PnNode *conn)
 {
     PecanHttpServer *http_conn;
 
@@ -440,13 +440,13 @@ close_impl (PecanNode *conn)
     g_hash_table_remove_all (http_conn-&gt;childs);
 #endif
 
-    PECAN_NODE_CLASS (parent_class)-&gt;close (conn);
+    PN_NODE_CLASS (parent_class)-&gt;close (conn);
 
     pn_log (&quot;end&quot;);
 }
 
 static GIOStatus
-read_impl (PecanNode *conn,
+read_impl (PnNode *conn,
            gchar *buf,
            gsize count,
            gsize *ret_bytes_read,
@@ -499,7 +499,7 @@ read_impl (PecanNode *conn,
                    (strcmp (tokens[0], &quot;HTTP/1.0&quot;) == 0))))
             {
                 pn_debug (&quot;error reading: parse error&quot;);
-                tmp_error = g_error_new_literal (PECAN_NODE_ERROR, PECAN_NODE_ERROR_OPEN,
+                tmp_error = g_error_new_literal (PN_NODE_ERROR, PN_NODE_ERROR_OPEN,
                                                  &quot;Parse error&quot;);
                 goto leave;
             }
@@ -507,7 +507,7 @@ read_impl (PecanNode *conn,
             if (!(tokens[1]))
             {
                 pn_debug (&quot;error reading: parse error&quot;);
-                tmp_error = g_error_new_literal (PECAN_NODE_ERROR, PECAN_NODE_ERROR_OPEN,
+                tmp_error = g_error_new_literal (PN_NODE_ERROR, PN_NODE_ERROR_OPEN,
                                                  &quot;Parse error&quot;);
                 goto leave;
             }
@@ -517,7 +517,7 @@ read_impl (PecanNode *conn,
             if (code != 200 &amp;&amp; code != 100)
             {
                 pn_debug (&quot;error reading: %d %s&quot;, code, tokens[2]);
-                tmp_error = g_error_new (PECAN_NODE_ERROR, PECAN_NODE_ERROR_OPEN,
+                tmp_error = g_error_new (PN_NODE_ERROR, PN_NODE_ERROR_OPEN,
                                          &quot;%s&quot;,  tokens[2]);
                 goto leave;
             }
@@ -563,7 +563,7 @@ read_impl (PecanNode *conn,
                 if (!(tokens[0] &amp;&amp; tokens[1]))
                 {
                     pn_debug (&quot;error reading: parse error&quot;);
-                    tmp_error = g_error_new_literal (PECAN_NODE_ERROR, PECAN_NODE_ERROR_OPEN,
+                    tmp_error = g_error_new_literal (PN_NODE_ERROR, PN_NODE_ERROR_OPEN,
                                                      &quot;Parse error&quot;);
                     goto leave;
                 }
@@ -629,7 +629,7 @@ read_impl (PecanNode *conn,
         if (http_conn-&gt;parser_state == 2)
         {
             {
-                PecanNode *child;
+                PnNode *child;
                 gchar *session_id;
                 gchar *t;
 
@@ -644,16 +644,16 @@ read_impl (PecanNode *conn,
                 {
                     if (child)
                     {
-                        PecanNode *foo;
+                        PnNode *foo;
 
                         pn_info (&quot;removing child&quot;);
-                        pecan_node_close (child);
+                        pn_node_close (child);
                         g_hash_table_remove (http_conn-&gt;childs, session_id);
 
                         g_object_unref (G_OBJECT (http_conn-&gt;cur));
                         g_free (http_conn-&gt;gateway);
                         g_free (http_conn-&gt;last_session_id);
-                        if ((foo = PECAN_NODE (g_hash_table_peek_first (http_conn-&gt;childs))))
+                        if ((foo = PN_NODE (g_hash_table_peek_first (http_conn-&gt;childs))))
                         {
                             http_conn-&gt;cur = foo;
                             http_conn-&gt;gateway = g_strdup (foo-&gt;hostname);
@@ -665,7 +665,7 @@ read_impl (PecanNode *conn,
                             http_conn-&gt;cur = NULL;
                             http_conn-&gt;gateway = NULL;
                             http_conn-&gt;last_session_id = NULL;
-                            pecan_node_close (conn);
+                            pn_node_close (conn);
                         }
                     }
                 }
@@ -729,8 +729,8 @@ reset_timer (PecanHttpServer *http_conn)
 }
 
 static GIOStatus
-foo_write (PecanNode *conn,
-           PecanNode *prev,
+foo_write (PnNode *conn,
+           PnNode *prev,
            const gchar *buf,
            gsize count,
            gsize *ret_bytes_written,
@@ -763,7 +763,7 @@ foo_write (PecanNode *conn,
         else
         {
             params = g_strdup_printf (&quot;Action=open&amp;Server=%s&amp;IP=%s&quot;,
-                                      prev-&gt;type == PECAN_NODE_NS ? &quot;NS&quot; : &quot;SB&quot;,
+                                      prev-&gt;type == PN_NODE_NS ? &quot;NS&quot; : &quot;SB&quot;,
                                       prev-&gt;hostname);
         }
 
@@ -854,18 +854,18 @@ foo_write (PecanNode *conn,
 }
 
 static GIOStatus
-write_impl (PecanNode *conn,
+write_impl (PnNode *conn,
             const gchar *buf,
             gsize count,
             gsize *ret_bytes_written,
             GError **error)
 {
     PecanHttpServer *http_conn;
-    PecanNode *prev;
+    PnNode *prev;
     GIOStatus status = G_IO_STATUS_NORMAL;
 
     http_conn = PECAN_HTTP_SERVER (conn);
-    prev = PECAN_NODE (conn-&gt;prev);
+    prev = PN_NODE (conn-&gt;prev);
 
     pn_debug (&quot;stream=%p&quot;, conn-&gt;stream);
     pn_debug (&quot;conn=%p,prev=%p&quot;, conn, prev);
@@ -928,7 +928,7 @@ static void
 class_init (gpointer g_class,
             gpointer class_data)
 {
-    PecanNodeClass *conn_class = PECAN_NODE_CLASS (g_class);
+    PnNodeClass *conn_class = PN_NODE_CLASS (g_class);
     GObjectClass *gobject_class = G_OBJECT_CLASS (g_class);
 
     conn_class-&gt;connect = &amp;connect_impl;
@@ -968,7 +968,7 @@ pecan_http_server_get_type (void)
         type_info-&gt;instance_size = sizeof (PecanHttpServer);
         type_info-&gt;instance_init = instance_init;
 
-        type = g_type_register_static (PECAN_NODE_TYPE, &quot;PecanHttpServerType&quot;, type_info, 0);
+        type = g_type_register_static (PN_NODE_TYPE, &quot;PecanHttpServerType&quot;, type_info, 0);
     }
 
     return type;</diff>
      <filename>io/pecan_http_server.c</filename>
    </modified>
    <modified>
      <diff>@@ -24,7 +24,7 @@
 typedef struct PecanHttpServer PecanHttpServer;
 typedef struct PecanHttpServerClass PecanHttpServerClass;
 
-#include &quot;pecan_node.h&quot;
+#include &quot;pn_node.h&quot;
 
 #define PECAN_HTTP_SERVER_TYPE (pecan_http_server_get_type ())
 #define PECAN_HTTP_SERVER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PECAN_HTTP_SERVER_TYPE, PecanHttpServer))</diff>
      <filename>io/pecan_http_server.h</filename>
    </modified>
    <modified>
      <diff>@@ -19,7 +19,7 @@
 #include &lt;glib.h&gt;
 
 #include &quot;io/pecan_parser.h&quot;
-#include &quot;io/pecan_node.h&quot;
+#include &quot;io/pn_node.h&quot;
 
 #include &quot;pn_log.h&quot;
 
@@ -27,14 +27,14 @@
 
 struct PecanParser
 {
-    PecanNode *node;
+    PnNode *node;
     gchar *rx_buf;
     gsize rx_len;
     gboolean need_more;
 };
 
 PecanParser *
-pecan_parser_new (PecanNode *node)
+pecan_parser_new (PnNode *node)
 {
     PecanParser *parser;
     parser = g_new0 (PecanParser, 1);
@@ -71,7 +71,7 @@ pecan_parser_read_line (PecanParser *parser,
         gchar buf[0x2000 + 1];
         gsize bytes_read;
 
-        status = pecan_node_read (parser-&gt;node, buf, 0x2000, &amp;bytes_read, NULL);
+        status = pn_node_read (parser-&gt;node, buf, 0x2000, &amp;bytes_read, NULL);
 
         if (status != G_IO_STATUS_NORMAL)
             goto leave;</diff>
      <filename>io/pecan_parser.c</filename>
    </modified>
    <modified>
      <diff>@@ -21,9 +21,9 @@
 
 typedef struct PecanParser PecanParser;
 
-#include &quot;io/pecan_node.h&quot;
+#include &quot;io/pn_node.h&quot;
 
-PecanParser *pecan_parser_new (PecanNode *node);
+PecanParser *pecan_parser_new (PnNode *node);
 void pecan_parser_free (PecanParser *parser);
 GIOStatus pecan_parser_read_line (PecanParser *parser,
                                   gchar **str_return,</diff>
      <filename>io/pecan_parser.h</filename>
    </modified>
    <modified>
      <diff>@@ -17,7 +17,7 @@
  */
 
 #include &quot;pecan_ssl_conn.h&quot;
-#include &quot;pecan_node_priv.h&quot;
+#include &quot;pn_node_private.h&quot;
 #include &quot;pn_log.h&quot;
 
 #include &quot;session.h&quot; /* for libpurple account */
@@ -36,7 +36,7 @@
 
 struct PecanSslConn
 {
-    PecanNode parent;
+    PnNode parent;
 
     struct _PurpleSslConnection *ssl_data;
     PecanSslConnReadCb read_cb;
@@ -45,7 +45,7 @@ struct PecanSslConn
 
 struct PecanSslConnClass
 {
-    PecanNodeClass parent_class;
+    PnNodeClass parent_class;
 };
 
 static GObjectClass *parent_class = NULL;
@@ -55,12 +55,12 @@ read_cb (gpointer data,
          PurpleSslConnection *gsc,
          PurpleInputCondition cond)
 {
-    PecanNode *conn;
+    PnNode *conn;
     PecanSslConn *ssl_conn;
 
     pn_log (&quot;begin&quot;);
 
-    conn = PECAN_NODE (data);
+    conn = PN_NODE (data);
     ssl_conn = PECAN_SSL_CONN (data);
 
     pn_debug (&quot;conn=%p,name=%s&quot;, conn, conn-&gt;name);
@@ -82,7 +82,7 @@ read_cb (gpointer data,
         {
             GIOStatus status = G_IO_STATUS_NORMAL;
 
-            status = pecan_node_read (conn, buf, MSN_BUF_LEN, &amp;bytes_read, NULL);
+            status = pn_node_read (conn, buf, MSN_BUF_LEN, &amp;bytes_read, NULL);
 
             if (status == G_IO_STATUS_AGAIN)
             {
@@ -92,19 +92,19 @@ read_cb (gpointer data,
 
             if (status == G_IO_STATUS_EOF)
             {
-                conn-&gt;error = g_error_new (PECAN_NODE_ERROR, PECAN_NODE_ERROR_OPEN, &quot;End of stream&quot;);
+                conn-&gt;error = g_error_new (PN_NODE_ERROR, PN_NODE_ERROR_OPEN, &quot;End of stream&quot;);
             }
 
             if (conn-&gt;error)
             {
-                pecan_node_error (conn);
+                pn_node_error (conn);
                 g_object_unref (conn);
                 purple_ssl_close (gsc);
                 return;
             }
         }
 
-        pecan_node_parse (conn, buf, bytes_read);
+        pn_node_parse (conn, buf, bytes_read);
 
         g_object_unref (conn);
     }
@@ -116,15 +116,15 @@ leave:
 
 PecanSslConn *
 pecan_ssl_conn_new (gchar *name,
-                    PecanNodeType type)
+                    PnNodeType type)
 {
     PecanSslConn *ssl_conn;
-    PecanNode *conn;
+    PnNode *conn;
 
     pn_log (&quot;begin&quot;);
 
     ssl_conn = PECAN_SSL_CONN (g_type_create_instance (PECAN_SSL_CONN_TYPE));
-    conn = PECAN_NODE (ssl_conn);
+    conn = PN_NODE (ssl_conn);
 
     conn-&gt;name = g_strdup (name);
     conn-&gt;type = type;
@@ -153,19 +153,19 @@ pecan_ssl_conn_set_read_cb (PecanSslConn *ssl_conn,
     ssl_conn-&gt;read_cb_data = data;
 }
 
-/* PecanNode stuff. */
+/* PnNode stuff. */
 
 static void
 connect_cb (gpointer data,
             PurpleSslConnection *gsc,
             PurpleInputCondition cond)
 {
-    PecanNode *conn;
+    PnNode *conn;
     PecanSslConn *ssl_conn;
 
     pn_log (&quot;begin&quot;);
 
-    conn = PECAN_NODE (data);
+    conn = PN_NODE (data);
     ssl_conn = PECAN_SSL_CONN (data);
 
     g_object_ref (conn);
@@ -178,14 +178,14 @@ connect_cb (gpointer data,
     else
     {
         /* pn_error (&quot;connection error: conn=%p,msg=[%s]&quot;, conn, error_message); */
-        conn-&gt;error = g_error_new_literal (PECAN_NODE_ERROR, PECAN_NODE_ERROR_OPEN,
+        conn-&gt;error = g_error_new_literal (PN_NODE_ERROR, PN_NODE_ERROR_OPEN,
                                            &quot;Unable to connect&quot;);
-        pecan_node_error (conn);
+        pn_node_error (conn);
     }
 
     {
-        PecanNodeClass *class;
-        class = g_type_class_peek (PECAN_NODE_TYPE);
+        PnNodeClass *class;
+        class = g_type_class_peek (PN_NODE_TYPE);
         g_signal_emit (G_OBJECT (conn), class-&gt;open_sig, 0, conn);
     }
 
@@ -195,7 +195,7 @@ connect_cb (gpointer data,
 }
 
 static void
-connect_impl (PecanNode *conn,
+connect_impl (PnNode *conn,
               const gchar *hostname,
               gint port)
 {
@@ -213,7 +213,7 @@ connect_impl (PecanNode *conn,
     conn-&gt;hostname = g_strdup (hostname);
     conn-&gt;port = port;
 
-    pecan_node_close (conn);
+    pn_node_close (conn);
 
 #ifdef HAVE_LIBPURPLE
     ssl_conn-&gt;ssl_data = purple_ssl_connect (msn_session_get_user_data (conn-&gt;session),
@@ -224,7 +224,7 @@ connect_impl (PecanNode *conn,
 }
 
 static void
-close_impl (PecanNode *conn)
+close_impl (PnNode *conn)
 {
     PecanSslConn *ssl_conn;
 
@@ -282,7 +282,7 @@ status_to_str (GIOStatus status)
 }
 
 static GIOStatus
-write_impl (PecanNode *conn,
+write_impl (PnNode *conn,
             const gchar *buf,
             gsize count,
             gsize *ret_bytes_written,
@@ -342,7 +342,7 @@ write_impl (PecanNode *conn,
 }
 
 static GIOStatus
-read_impl (PecanNode *conn,
+read_impl (PnNode *conn,
            gchar *buf,
            gsize count,
            gsize *ret_bytes_read,
@@ -394,7 +394,7 @@ read_impl (PecanNode *conn,
 static void
 dispose (GObject *obj)
 {
-    PecanNode *conn = PECAN_NODE (obj);
+    PnNode *conn = PN_NODE (obj);
 
     pn_log (&quot;begin&quot;);
 
@@ -402,7 +402,7 @@ dispose (GObject *obj)
     {
         conn-&gt;dispose_has_run = TRUE;
 
-        pecan_node_close (conn);
+        pn_node_close (conn);
 
         g_free (conn-&gt;name);
     }
@@ -422,7 +422,7 @@ static void
 class_init (gpointer g_class,
             gpointer class_data)
 {
-    PecanNodeClass *conn_class = PECAN_NODE_CLASS (g_class);
+    PnNodeClass *conn_class = PN_NODE_CLASS (g_class);
     GObjectClass *gobject_class = G_OBJECT_CLASS (g_class);
 
     conn_class-&gt;connect = &amp;connect_impl;
@@ -450,7 +450,7 @@ pecan_ssl_conn_get_type (void)
         type_info-&gt;class_init = class_init;
         type_info-&gt;instance_size = sizeof (PecanSslConn);
 
-        type = g_type_register_static (PECAN_NODE_TYPE, &quot;PecanSslConnType&quot;, type_info, 0);
+        type = g_type_register_static (PN_NODE_TYPE, &quot;PecanSslConnType&quot;, type_info, 0);
 
         g_free (type_info);
     }</diff>
      <filename>io/pecan_ssl_conn.c</filename>
    </modified>
    <modified>
      <diff>@@ -21,19 +21,19 @@
 
 #include &lt;glib-object.h&gt;
 
-#include &quot;io/pecan_node.h&quot;
+#include &quot;io/pn_node.h&quot;
 
 typedef struct PecanSslConn PecanSslConn;
 typedef struct PecanSslConnClass PecanSslConnClass;
 
-typedef void (*PecanSslConnReadCb) (PecanNode *conn, gpointer data);
+typedef void (*PecanSslConnReadCb) (PnNode *conn, gpointer data);
 
 #define PECAN_SSL_CONN_TYPE (pecan_ssl_conn_get_type ())
 #define PECAN_SSL_CONN(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PECAN_SSL_CONN_TYPE, PecanSslConn))
 #define PECAN_SSL_CONN_CLASS(c) (G_TYPE_CHECK_CLASS_CAST ((c), PECAN_SSL_CONN_TYPE, PecanSslConnClass))
 #define PECAN_SSL_CONN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PECAN_SSL_CONN_TYPE, PecanSslConnClass))
 
-PecanSslConn *pecan_ssl_conn_new (gchar *name, PecanNodeType type);
+PecanSslConn *pecan_ssl_conn_new (gchar *name, PnNodeType type);
 void pecan_ssl_conn_free (PecanSslConn *ssl_conn);
 /** @todo this thing should be on the main class */
 void pecan_ssl_conn_set_read_cb (PecanSslConn *ssl_conn, PecanSslConnReadCb read_cb, gpointer data);</diff>
      <filename>io/pecan_ssl_conn.h</filename>
    </modified>
    <modified>
      <diff>@@ -39,7 +39,7 @@
 
 #include &quot;io/pecan_cmd_server.h&quot;
 #include &quot;io/pecan_http_server.h&quot;
-#include &quot;io/pecan_node_priv.h&quot;
+#include &quot;io/pn_node_private.h&quot;
 #include &quot;io/pecan_cmd_server.h&quot;
 
 #if defined(PECAN_CVR)
@@ -67,7 +67,7 @@ typedef struct
 } MsnAddBuddy;
 
 static void
-open_cb (PecanNode *conn,
+open_cb (PnNode *conn,
          MsnNotification *notification)
 {
     MsnSession *session;
@@ -84,7 +84,7 @@ open_cb (PecanNode *conn,
 }
 
 static void
-close_cb (PecanNode *conn,
+close_cb (PnNode *conn,
           MsnNotification *notification)
 {
     char *tmp;
@@ -108,7 +108,7 @@ close_cb (PecanNode *conn,
         }
     }
 
-    pecan_node_close (PECAN_NODE (notification-&gt;conn));
+    pn_node_close (PN_NODE (notification-&gt;conn));
     notification-&gt;closed = TRUE;
     msn_session_set_error (notification-&gt;session, MSN_ERROR_SERVCONN, tmp);
 
@@ -163,9 +163,9 @@ msn_notification_new(MsnSession *session)
     notification-&gt;session = session;
 
     {
-        PecanNode *conn;
-        notification-&gt;conn = pecan_cmd_server_new (&quot;notification server&quot;, PECAN_NODE_NS);
-        conn = PECAN_NODE (notification-&gt;conn);
+        PnNode *conn;
+        notification-&gt;conn = pecan_cmd_server_new (&quot;notification server&quot;, PN_NODE_NS);
+        conn = PN_NODE (notification-&gt;conn);
 
         {
             MsnCmdProc *cmdproc;
@@ -186,16 +186,16 @@ msn_notification_new(MsnSession *session)
             if (session-&gt;http_conn)
             {
                 /* A single http connection shared by all nodes */
-                pecan_node_link (conn, session-&gt;http_conn);
+                pn_node_link (conn, session-&gt;http_conn);
             }
             else
             {
                 /* Each node has it's own http connection. */
-                PecanNode *foo;
+                PnNode *foo;
 
-                foo = PECAN_NODE (pecan_http_server_new (&quot;foo server&quot;));
+                foo = PN_NODE (pecan_http_server_new (&quot;foo server&quot;));
                 foo-&gt;session = session;
-                pecan_node_link (conn, foo);
+                pn_node_link (conn, foo);
                 g_object_unref (foo);
             }
         }
@@ -232,7 +232,7 @@ msn_notification_connect(MsnNotification *notification, const char *host, int po
 {
     g_return_val_if_fail(notification != NULL, FALSE);
 
-    pecan_node_connect (PECAN_NODE (notification-&gt;conn), host, port);
+    pn_node_connect (PN_NODE (notification-&gt;conn), host, port);
 
     return TRUE;
 }
@@ -421,7 +421,7 @@ msn_notification_close(MsnNotification *notification)
     if (!notification-&gt;closed)
     {
         msn_cmdproc_send_quick (notification-&gt;cmdproc, &quot;OUT&quot;, NULL, NULL);
-        pecan_node_close (PECAN_NODE (notification-&gt;conn));
+        pn_node_close (PN_NODE (notification-&gt;conn));
     }
 }
 </diff>
      <filename>notification.c</filename>
    </modified>
    <modified>
      <diff>@@ -25,7 +25,7 @@
 typedef struct MsnNotification MsnNotification;
 
 #include &quot;io/pecan_cmd_server.h&quot;
-#include &quot;io/pecan_node.h&quot;
+#include &quot;io/pn_node.h&quot;
 
 struct MsnSession;
 struct MsnCmdProc;</diff>
      <filename>notification.h</filename>
    </modified>
    <modified>
      <diff>@@ -22,7 +22,7 @@
 #include &quot;io/pecan_ssl_conn.h&quot;
 #include &quot;io/pecan_parser.h&quot;
 
-#include &quot;io/pecan_node_priv.h&quot;
+#include &quot;io/pn_node_private.h&quot;
 #include &quot;session_private.h&quot;
 #include &lt;string.h&gt; /* for strlen */
 #include &lt;stdlib.h&gt; /* for atoi */
@@ -55,7 +55,7 @@ struct OimRequest
     gsize payload;
 
     gulong open_sig_handler;
-    PecanNode *conn;
+    PnNode *conn;
 };
 
 static inline OimRequest *
@@ -79,7 +79,7 @@ oim_request_free (OimRequest *oim_request)
     if (oim_request-&gt;open_sig_handler)
         g_signal_handler_disconnect (oim_request-&gt;conn, oim_request-&gt;open_sig_handler);
 
-    pecan_node_free (oim_request-&gt;conn);
+    pn_node_free (oim_request-&gt;conn);
     pecan_parser_free (oim_request-&gt;parser);
     g_free (oim_request-&gt;passport);
     g_free (oim_request-&gt;message_id);
@@ -117,7 +117,7 @@ pn_oim_session_free (PecanOimSession *oim_session)
 }
 
 static inline void
-oim_send_request (PecanNode *conn,
+oim_send_request (PnNode *conn,
                   OimRequest *oim_request)
 {
     gchar *body;
@@ -171,7 +171,7 @@ oim_send_request (PecanNode *conn,
 
     {
         gsize len;
-        pecan_node_write (conn, header, strlen (header), &amp;len, NULL);
+        pn_node_write (conn, header, strlen (header), &amp;len, NULL);
         pn_debug (&quot;write_len=%d&quot;, len);
     }
 
@@ -181,7 +181,7 @@ oim_send_request (PecanNode *conn,
 }
 
 static void
-open_cb (PecanNode *conn,
+open_cb (PnNode *conn,
          OimRequest *oim_request)
 {
     g_return_if_fail (conn);
@@ -208,7 +208,7 @@ next_request (PecanOimSession *oim_session)
 }
 
 static void
-read_cb (PecanNode *conn,
+read_cb (PnNode *conn,
          gpointer data)
 {
     OimRequest *oim_request;
@@ -291,7 +291,7 @@ read_cb (PecanNode *conn,
     }
 
 leave:
-    pecan_node_close (conn);
+    pn_node_close (conn);
     next_request (oim_request-&gt;oim_session);
 }
 
@@ -307,17 +307,17 @@ oim_process_requests (PecanOimSession *oim_session)
 
     {
         PecanSslConn *ssl_conn;
-        PecanNode *conn;
+        PnNode *conn;
 
-        ssl_conn = pecan_ssl_conn_new (&quot;oim&quot;, PECAN_NODE_NULL);
+        ssl_conn = pecan_ssl_conn_new (&quot;oim&quot;, PN_NODE_NULL);
 
-        conn = PECAN_NODE (ssl_conn);
+        conn = PN_NODE (ssl_conn);
         conn-&gt;session = oim_session-&gt;session;
 
         oim_request-&gt;parser = pecan_parser_new (conn);
         pecan_ssl_conn_set_read_cb (ssl_conn, read_cb, oim_request);
 
-        pecan_node_connect (conn, &quot;rsi.hotmail.com&quot;, 443);
+        pn_node_connect (conn, &quot;rsi.hotmail.com&quot;, 443);
 
         oim_request-&gt;conn = conn;
         oim_request-&gt;open_sig_handler = g_signal_connect (conn, &quot;open&quot;, G_CALLBACK (open_cb), oim_request);</diff>
      <filename>pn_oim.c</filename>
    </modified>
    <modified>
      <diff>@@ -87,8 +87,8 @@ msn_session_new (const gchar *username,
 #if 0
     if (session-&gt;http_method)
     {
-        PecanNode *foo;
-        foo = PECAN_NODE (pecan_http_server_new (&quot;foo server&quot;));
+        PnNode *foo;
+        foo = PN_NODE (pecan_http_server_new (&quot;foo server&quot;));
         foo-&gt;session = session;
         session-&gt;http_conn = foo;
     }
@@ -244,7 +244,7 @@ msn_session_disconnect (MsnSession *session)
         msn_notification_close (session-&gt;notification);
 
     if (session-&gt;http_conn)
-        pecan_node_close (session-&gt;http_conn);
+        pn_node_close (session-&gt;http_conn);
 }
 
 /* TODO: This must go away when conversation is redesigned */</diff>
      <filename>session.c</filename>
    </modified>
    <modified>
      <diff>@@ -21,12 +21,11 @@
 #define SESSION_PRIVATE_H
 
 #include &quot;session.h&quot;
-#include &quot;io/pecan_node.h&quot;
 
 #include &quot;ab/pecan_contact.h&quot;
 #include &quot;ab/pecan_contactlist.h&quot;
 
-#include &quot;io/pecan_node.h&quot;
+#include &quot;io/pn_node.h&quot;
 
 #include &quot;pn_oim.h&quot;
 #include &quot;pn_dp_manager.h&quot;
@@ -52,7 +51,7 @@ struct MsnSession
     gboolean connected;
     gboolean logged_in; /** @todo move to libpurple user_data and cancel
                           operations that require us to be logged in. */
-    PecanNode *http_conn;
+    PnNode *http_conn;
 
     struct MsnNotification *notification;
     struct MsnNexus *nexus;</diff>
      <filename>session_private.h</filename>
    </modified>
    <modified>
      <diff>@@ -42,7 +42,7 @@
 #include &quot;cmd/command_private.h&quot;
 #include &quot;cmd/table.h&quot;
 
-#include &quot;io/pecan_node_priv.h&quot;
+#include &quot;io/pn_node_private.h&quot;
 #include &quot;io/pecan_cmd_server.h&quot;
 #include &quot;io/pecan_http_server.h&quot;
 
@@ -65,7 +65,7 @@ static void
 msn_switchboard_report_user(MsnSwitchBoard *swboard, PurpleMessageFlags flags, const char *msg);
 
 static void
-open_cb (PecanNode *conn,
+open_cb (PnNode *conn,
          MsnSwitchBoard *swboard)
 {
     MsnSession *session;
@@ -101,7 +101,7 @@ open_cb (PecanNode *conn,
 }
 
 static void
-close_cb (PecanNode *conn,
+close_cb (PnNode *conn,
           MsnSwitchBoard *swboard)
 {
     g_return_if_fail (swboard);
@@ -145,9 +145,9 @@ msn_switchboard_new(MsnSession *session)
     swboard-&gt;empty = TRUE;
 
     {
-        PecanNode *conn;
-        swboard-&gt;conn = pecan_cmd_server_new (&quot;switchboard server&quot;, PECAN_NODE_SB);
-        conn = PECAN_NODE (swboard-&gt;conn);
+        PnNode *conn;
+        swboard-&gt;conn = pecan_cmd_server_new (&quot;switchboard server&quot;, PN_NODE_SB);
+        conn = PN_NODE (swboard-&gt;conn);
 
         {
             MsnCmdProc *cmdproc;
@@ -167,16 +167,16 @@ msn_switchboard_new(MsnSession *session)
             if (session-&gt;http_conn)
             {
                 /* A single http connection shared by all nodes */
-                pecan_node_link (conn, session-&gt;http_conn);
+                pn_node_link (conn, session-&gt;http_conn);
             }
             else
             {
                 /* Each node has it's own http connection. */
-                PecanNode *foo;
+                PnNode *foo;
 
-                foo = PECAN_NODE (pecan_http_server_new (&quot;foo server&quot;));
+                foo = PN_NODE (pecan_http_server_new (&quot;foo server&quot;));
                 foo-&gt;session = session;
-                pecan_node_link (conn, foo);
+                pn_node_link (conn, foo);
                 g_object_unref (foo);
             }
         }
@@ -253,9 +253,9 @@ msn_switchboard_free (MsnSwitchBoard *swboard)
     /* make sure all the transactions are destroyed so no timeouts occur after
      * the switchboard is destroyed; the node can still be refed by someone
      * else. */
-    pecan_node_close (PECAN_NODE (swboard-&gt;conn));
+    pn_node_close (PN_NODE (swboard-&gt;conn));
 
-    pecan_node_free (PECAN_NODE (swboard-&gt;conn));
+    pn_node_free (PN_NODE (swboard-&gt;conn));
 
     g_free(swboard);
 
@@ -1440,7 +1440,7 @@ msn_switchboard_connect(MsnSwitchBoard *swboard, const char *host, int port)
 {
     g_return_val_if_fail (swboard, FALSE);
 
-    pecan_node_connect (PECAN_NODE (swboard-&gt;conn), host, port);
+    pn_node_connect (PN_NODE (swboard-&gt;conn), host, port);
 
     return TRUE;
 }</diff>
      <filename>switchboard.c</filename>
    </modified>
    <modified>
      <diff>@@ -51,7 +51,7 @@ typedef enum
 } MsnSBFlag;
 
 #include &quot;io/pecan_cmd_server.h&quot;
-#include &quot;io/pecan_node.h&quot;
+#include &quot;io/pn_node.h&quot;
 
 struct MsnSession;
 struct MsnMessage;</diff>
      <filename>switchboard.h</filename>
    </modified>
    <modified>
      <diff>@@ -10,7 +10,7 @@ CFLAGS := -Wall -ggdb -I..
 
 cmd_parser_test_objects := cmd_parser.o \
 			   ../io/pecan_cmd_server.o \
-			   ../io/pecan_node.o \
+			   ../io/pn_node.o \
 			   ../cmd/cmdproc.o \
 			   ../cmd/command.o \
 			   ../cmd/history.o \
@@ -47,7 +47,7 @@ check_buffer: LIBS := $(GOBJECT_LIBS) $(CHECK_LIBS)
 
 checks += check_buffer
 
-check_parser: parser.o ../io/pecan_parser.o ../io/pecan_node.o ../io/pn_stream.o ../pn_log.o ../pn_printf.o
+check_parser: parser.o ../io/pecan_parser.o ../io/pn_node.o ../io/pn_stream.o ../pn_log.o ../pn_printf.o
 check_parser: CFLAGS := $(CFLAGS) $(GOBJECT_CFLAGS) $(CHECK_CFLAGS)
 check_parser: LIBS := $(GOBJECT_LIBS) $(CHECK_LIBS)
 </diff>
      <filename>tests/Makefile</filename>
    </modified>
    <modified>
      <diff>@@ -34,7 +34,7 @@ run_simple_test (const gchar *str,
         strcpy (buf, str);
 
     cmdserv = pecan_cmd_server_new (&quot;foo&quot;, 0);
-    pecan_node_parse (PECAN_NODE (cmdserv), buf, buf_size - 1);
+    pn_node_parse (PN_NODE (cmdserv), buf, buf_size - 1);
     pecan_cmd_server_free (cmdserv);
 
     g_free (buf);</diff>
      <filename>tests/cmd_parser.c</filename>
    </modified>
    <modified>
      <diff>@@ -24,27 +24,27 @@
 #include &lt;fcntl.h&gt;
 
 #include &quot;io/pecan_parser.h&quot;
-#include &quot;io/pecan_node_priv.h&quot;
+#include &quot;io/pn_node_private.h&quot;
 #include &quot;io/pn_stream.h&quot;
 
 START_TEST (test_basic)
 {
-    PecanNode *node;
+    PnNode *node;
 
-    node = pecan_node_new (&quot;foo&quot;, 0);
-    pecan_node_free (node);
+    node = pn_node_new (&quot;foo&quot;, 0);
+    pn_node_free (node);
 }
 END_TEST
 
 START_TEST (test_simple)
 {
-    PecanNode *node;
+    PnNode *node;
     PecanParser *parser;
     gchar *str;
     gsize terminator_pos;
     gint fd;
 
-    node = pecan_node_new (&quot;foo&quot;, 0);
+    node = pn_node_new (&quot;foo&quot;, 0);
     parser = pecan_parser_new (node);
 
     fd = g_open (&quot;stream_test/000&quot;, O_RDONLY);
@@ -57,19 +57,19 @@ START_TEST (test_simple)
     }
 
     pecan_parser_free (parser);
-    pecan_node_free (node);
+    pn_node_free (node);
 }
 END_TEST
 
 START_TEST (test_through)
 {
-    PecanNode *node;
+    PnNode *node;
     PecanParser *parser;
     gchar *str;
     gsize terminator_pos;
     gint fd;
 
-    node = pecan_node_new (&quot;foo&quot;, 0);
+    node = pn_node_new (&quot;foo&quot;, 0);
     parser = pecan_parser_new (node);
 
     fd = g_open (&quot;stream_test/000&quot;, O_RDONLY);
@@ -89,19 +89,19 @@ START_TEST (test_through)
     }
 
     pecan_parser_free (parser);
-    pecan_node_free (node);
+    pn_node_free (node);
 }
 END_TEST
 
 START_TEST (test_cut)
 {
-    PecanNode *node;
+    PnNode *node;
     PecanParser *parser;
     gchar *str;
     gsize terminator_pos;
     gint fd;
 
-    node = pecan_node_new (&quot;foo&quot;, 0);
+    node = pn_node_new (&quot;foo&quot;, 0);
     parser = pecan_parser_new (node);
 
     fd = g_open (&quot;stream_test/001&quot;, O_RDONLY);
@@ -121,19 +121,19 @@ START_TEST (test_cut)
     }
 
     pecan_parser_free (parser);
-    pecan_node_free (node);
+    pn_node_free (node);
 }
 END_TEST
 
 START_TEST (test_span)
 {
-    PecanNode *node;
+    PnNode *node;
     PecanParser *parser;
     gchar *str;
     gsize terminator_pos;
     gint fd;
 
-    node = pecan_node_new (&quot;foo&quot;, 0);
+    node = pn_node_new (&quot;foo&quot;, 0);
     parser = pecan_parser_new (node);
 
     fd = g_open (&quot;stream_test/001&quot;, O_RDONLY);
@@ -168,7 +168,7 @@ START_TEST (test_span)
     }
 
     pecan_parser_free (parser);
-    pecan_node_free (node);
+    pn_node_free (node);
 }
 END_TEST
 </diff>
      <filename>tests/parser.c</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>io/pecan_node.c</filename>
    </removed>
    <removed>
      <filename>io/pecan_node.h</filename>
    </removed>
    <removed>
      <filename>io/pecan_node_priv.h</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>8d2b3d394054649a586051ddd09d93074ed6e5ed</id>
    </parent>
  </parents>
  <author>
    <name>Felipe Contreras</name>
    <email>felipe.contreras@gmail.com</email>
  </author>
  <url>http://github.com/felipec/msn-pecan/commit/0e27f129badb5089fdd1a7b9ccaec22d287e0d92</url>
  <id>0e27f129badb5089fdd1a7b9ccaec22d287e0d92</id>
  <committed-date>2009-07-04T15:36:07-07:00</committed-date>
  <authored-date>2009-06-20T03:18:50-07:00</authored-date>
  <message>Rename pn_node

Signed-off-by: Felipe Contreras &lt;felipe.contreras@gmail.com&gt;</message>
  <tree>7e766b71c8a47e12efdd6eae948cf69fcc6b82db</tree>
  <committer>
    <name>Felipe Contreras</name>
    <email>felipe.contreras@gmail.com</email>
  </committer>
</commit>
