[ekg2-commit] ekg2: queries.h (HEAD) [peres]

CVS commit cvs w toxygen.net
Pon, 8 Paź 2007, 09:38:44 CEST


Module name:	ekg2
Changes by:	peres	2007-10-08 09:38:41

Modified files:
	queries.h

Log message:
PROTOCOL_DISCONNECTING query - meant to be raised by session plugin just
before user-initiated disconnect occurs; that is, when we still can send
something to server before saying goodbye. Used with chatstates.

Index: queries.h
===================================================================
RCS file: /home/cvs/ekg2/ekg/queries.h,v
diff -d -u -r1.20 -r1.21
--- queries.h	31 Aug 2007 23:49:13 -0000	1.20
+++ queries.h	8 Oct 2007 07:38:41 -0000	1.21
@@ -63,6 +63,7 @@
 	UI_REFRESH,
 	PROTOCOL_TYPING_OUT,
 	UI_PASSWORD_INPUT,
+	PROTOCOL_DISCONNECTING,
 
 	QUERY_EXTERNAL,
 };
@@ -436,6 +437,11 @@
 	{ UI_PASSWORD_INPUT, "ui-password-input", {
 		QUERY_ARG_CHARP,		/* password pointer storage */
 		QUERY_ARG_END } },
+
+	{ PROTOCOL_DISCONNECTING, "protocol-disconnecting", { /* meant to be send before user-initiated disconnect,
+								 when we can still send some data, e.g. <gone/> chatstate */
+		QUERY_ARG_CHARP,		/* session uid */
+		QUERY_ARG_END } },
 };
 
 /* other, not listed above here queries, for example plugin which use internally his own query, 


Więcej informacji o liście dyskusyjnej ekg2-commit