Author: ArcRiley
Date: 2009-01-08 01:57:15 -0500 (Thu, 08 Jan 2009)
New Revision: 1442

Modified:
   trunk/concordance/src/Core.h
Log:
  * added ebuff (element chardata buffer)
  * consolidated CON_E_SASL_AUTH and CON_E_SASL_RESPONSE to CON_E_SASL


Modified: trunk/concordance/src/Core.h
===================================================================
--- trunk/concordance/src/Core.h        2009-01-08 06:11:56 UTC (rev 1441)
+++ trunk/concordance/src/Core.h        2009-01-08 06:57:15 UTC (rev 1442)
@@ -59,13 +59,12 @@
 
 
 enum conSessionState {
-  CON_E_CLOSE = 0,                  /* close </stream> */
-  CON_E_OPEN,                       /* inside <stream> */
-  CON_E_PRESENCE,                   /* <presence>      */
-  CON_E_MESSAGE,                    /* <message>       */
-  CON_E_IQ,                         /* <iq>            */
-  CON_E_SASL_AUTH,                  /* <auth>          */
-  CON_E_SASL_RESPONSE,              /* <response>      */
+  CON_E_CLOSE = 0,                  /* close </stream>      */
+  CON_E_OPEN,                       /* inside <stream>      */
+  CON_E_PRESENCE,                   /* <presence>           */
+  CON_E_MESSAGE,                    /* <message>            */
+  CON_E_IQ,                         /* <iq>                 */
+  CON_E_SASL,                       /* <auth> or <response> */
 };
 
 
@@ -78,6 +77,7 @@
   gchar            host[256];          /* verified hostname or NULL */
   gboolean         tls;                /* flag for whether tls is enabled */
   GString*         wbuff;              /* write buffer */
+  GString*         ebuff;              /* element buffer */
   gint             state;              /* current session state */
   gint             depth;              /* parser element depth */
 } conSession;

_______________________________________________
PySoy-SVN mailing list
PySoy-SVN@pysoy.org
http://www.pysoy.org/mailman/listinfo/pysoy-svn

Reply via email to