src/protocols/msn/switchboard.h

changeset 10225
0dfea1bc8695
parent 9198
e8eb6d5eb9eb
child 10345
7d7f8cfa2b4f
--- a/src/protocols/msn/switchboard.h	Sun Nov 21 06:16:23 2004 +0000
+++ b/src/protocols/msn/switchboard.h	Sun Nov 21 17:48:09 2004 +0000
@@ -33,6 +33,17 @@
 
 #include "servconn.h"
 
+typedef enum
+{
+	MSN_SB_ERROR_NONE,
+	MSN_SB_ERROR_CAL, /* The user could not join (answer the call) */
+	MSN_SB_ERROR_OFFLINE, /* The account is offline */
+	MSN_SB_ERROR_USER_OFFLINE, /* The user to call is offline */
+	MSN_SB_ERROR_CONNECTION, /* There was a connection error */
+	MSN_SB_ERROR_UNKNOWN
+
+} MsnSBErrorType;
+
 struct _MsnSwitchBoard
 {
 	MsnSession *session;
@@ -60,6 +71,8 @@
 
 	gboolean user_joined;
 	GQueue *im_queue;
+
+	int error;
 };
 
 /**

mercurial