Added lm-message.[ch] changes to sasl branch
authorMikael Hallendal <micke@imendio.com>
Fri, 23 Feb 2007 16:58:29 +0100
changeset 215 9d68d8a77e7b
parent 214 9641ad175eb3
child 216 fab18da0956b
Added lm-message.[ch] changes to sasl branch
loudmouth/lm-message.c
loudmouth/lm-message.h
--- a/loudmouth/lm-message.c	Fri Feb 23 15:11:49 2007 +0100
+++ b/loudmouth/lm-message.c	Fri Feb 23 16:58:29 2007 +0100
@@ -31,11 +31,17 @@
         LmMessageType  type;
         const gchar   *name;
 } type_names[] = {
-	{ LM_MESSAGE_TYPE_MESSAGE,       "message"       },
-	{ LM_MESSAGE_TYPE_PRESENCE,      "presence"      },
-	{ LM_MESSAGE_TYPE_IQ,            "iq"            },
-	{ LM_MESSAGE_TYPE_STREAM,        "stream:stream" },
-	{ LM_MESSAGE_TYPE_STREAM_ERROR,  "stream:error"  }
+	{ LM_MESSAGE_TYPE_MESSAGE,         "message"         },
+	{ LM_MESSAGE_TYPE_PRESENCE,        "presence"        },
+	{ LM_MESSAGE_TYPE_IQ,              "iq"              },
+	{ LM_MESSAGE_TYPE_STREAM,          "stream:stream"   },
+	{ LM_MESSAGE_TYPE_STREAM_FEATURES, "stream:features" },
+	{ LM_MESSAGE_TYPE_AUTH,            "auth"            },
+	{ LM_MESSAGE_TYPE_CHALLENGE,       "challenge"       },
+	{ LM_MESSAGE_TYPE_RESPONSE,        "response"        },
+	{ LM_MESSAGE_TYPE_SUCCESS,         "success"         },
+	{ LM_MESSAGE_TYPE_FAILURE,         "failure"         },
+	{ LM_MESSAGE_TYPE_STREAM_ERROR,    "stream:error"    }
 };
 
 static struct SubTypeNames 
--- a/loudmouth/lm-message.h	Fri Feb 23 15:11:49 2007 +0100
+++ b/loudmouth/lm-message.h	Fri Feb 23 16:58:29 2007 +0100
@@ -42,6 +42,12 @@
 	LM_MESSAGE_TYPE_PRESENCE,
 	LM_MESSAGE_TYPE_IQ,
 	LM_MESSAGE_TYPE_STREAM,
+	LM_MESSAGE_TYPE_STREAM_FEATURES,
+	LM_MESSAGE_TYPE_AUTH,
+	LM_MESSAGE_TYPE_CHALLENGE,
+	LM_MESSAGE_TYPE_RESPONSE,
+	LM_MESSAGE_TYPE_SUCCESS,
+	LM_MESSAGE_TYPE_FAILURE,
 	LM_MESSAGE_TYPE_STREAM_ERROR,
 	LM_MESSAGE_TYPE_UNKNOWN
 } LmMessageType;