summaryrefslogtreecommitdiff
path: root/xc/lib/SM
diff options
context:
space:
mode:
authormor <empty>1994-03-30 19:54:03 +0000
committermor <empty>1994-03-30 19:54:03 +0000
commita94419a4ee321f200bd9d882e563d6bac14343af (patch)
tree1ce2a3083ec525c3235feec00dd47f916b3af119 /xc/lib/SM
parent4cad0184a6e2a13f752447f05f56115e7240555a (diff)
added smSaveYourselfPhase2RequestMsg, smSaveYourselfPhase2Msg
and smSaveCompleteMsg
Diffstat (limited to 'xc/lib/SM')
-rw-r--r--xc/lib/SM/SMproto.h57
1 files changed, 41 insertions, 16 deletions
diff --git a/xc/lib/SM/SMproto.h b/xc/lib/SM/SMproto.h
index 11ebf3f76..38b1cfbd2 100644
--- a/xc/lib/SM/SMproto.h
+++ b/xc/lib/SM/SMproto.h
@@ -1,4 +1,4 @@
-/* $XConsortium: SMproto.h,v 1.5 93/12/28 11:46:25 mor Exp $ */
+/* $XConsortium: SMproto.h,v 1.6 94/03/18 10:26:52 mor Exp $ */
/******************************************************************************
Copyright 1993 by the Massachusetts Institute of Technology,
@@ -145,25 +145,50 @@ typedef struct {
/* a LISTofPROPERTY properties */
} smPropertiesReplyMsg;
+typedef struct {
+ CARD8 majorOpcode;
+ CARD8 minorOpcode;
+ CARD8 success;
+ CARD8 unused;
+ CARD32 length B32;
+} smSaveYourselfPhase2RequestMsg;
+
+typedef struct {
+ CARD8 majorOpcode;
+ CARD8 minorOpcode;
+ CARD8 unused[2];
+ CARD32 length B32;
+} smSaveYourselfPhase2Msg;
+
+typedef struct {
+ CARD8 majorOpcode;
+ CARD8 minorOpcode;
+ CARD8 unused[2];
+ CARD32 length B32;
+} smSaveCompleteMsg;
+
/*
* SIZEOF values. These better be multiples of 8.
*/
-#define sz_smRegisterClientMsg 8
-#define sz_smRegisterClientReplyMsg 8
-#define sz_smSaveYourselfMsg 16
-#define sz_smSaveYourselfRequestMsg 16
-#define sz_smInteractRequestMsg 8
-#define sz_smInteractMsg 8
-#define sz_smInteractDoneMsg 8
-#define sz_smSaveYourselfDoneMsg 8
-#define sz_smDieMsg 8
-#define sz_smShutdownCancelledMsg 8
-#define sz_smCloseConnectionMsg 8
-#define sz_smSetPropertiesMsg 8
-#define sz_smDeletePropertiesMsg 8
-#define sz_smGetPropertiesMsg 8
-#define sz_smPropertiesReplyMsg 8
+#define sz_smRegisterClientMsg 8
+#define sz_smRegisterClientReplyMsg 8
+#define sz_smSaveYourselfMsg 16
+#define sz_smSaveYourselfRequestMsg 16
+#define sz_smInteractRequestMsg 8
+#define sz_smInteractMsg 8
+#define sz_smInteractDoneMsg 8
+#define sz_smSaveYourselfDoneMsg 8
+#define sz_smDieMsg 8
+#define sz_smShutdownCancelledMsg 8
+#define sz_smCloseConnectionMsg 8
+#define sz_smSetPropertiesMsg 8
+#define sz_smDeletePropertiesMsg 8
+#define sz_smGetPropertiesMsg 8
+#define sz_smPropertiesReplyMsg 8
+#define sz_smSaveYourselfPhase2RequestMsg 8
+#define sz_smSaveYourselfPhase2Msg 8
+#define sz_smSaveCompleteMsg 8
#endif /* _SMPROTO_H_ */