6 /* ---------------------------- included header files ---------------------- */
10 #define SessionSupport 1
12 #define SessionSupport 0
16 #include <X11/SM/SMlib.h>
17 #include <X11/ICE/ICEutil.h>
20 /* ---------------------------- global definitions ------------------------- */
22 /* ---------------------------- global macros ------------------------------ */
27 #define FSmProtoMajor SmProtoMajor
28 #define FSmProtoMinor SmProtoMinor
30 #define FSmInteractStyleNone SmInteractStyleNone
31 #define FSmInteractStyleErrors SmInteractStyleErrors
32 #define FSmInteractStyleAny SmInteractStyleAny
34 #define FSmDialogError SmDialogError
35 #define FSmDialogNormal SmDialogNormal
37 #define FSmSaveGlobal SmSaveGlobal
38 #define FSmSaveLocal SmSaveLocal
39 #define FSmSaveBoth SmSaveBoth
41 #define FSmRestartIfRunning SmRestartIfRunning
42 #define FSmRestartAnyway SmRestartAnyway
43 #define FSmRestartImmediately SmRestartImmediately
44 #define FSmRestartNever SmRestartNever
46 #define FSmCloneCommand SmCloneCommand
47 #define FSmCurrentDirectory SmCurrentDirectory
48 #define FSmDiscardCommand SmDiscardCommand
49 #define FSmEnvironment SmEnvironment
50 #define FSmProcessID SmProcessID
51 #define FSmProgram SmProgram
52 #define FSmRestartCommand SmRestartCommand
53 #define FSmResignCommand SmResignCommand
54 #define FSmRestartStyleHint SmRestartStyleHint
55 #define FSmShutdownCommand SmShutdownCommand
56 #define FSmUserID SmUserID
58 #define FSmCARD8 SmCARD8
59 #define FSmARRAY8 SmARRAY8
60 #define FSmLISTofARRAY8 SmLISTofARRAY8
62 #define FSM_Error SM_Error
63 #define FSM_RegisterClient SM_RegisterClient
64 #define FSM_RegisterClientReply SM_RegisterClientReply
65 #define FSM_SaveYourself SM_SaveYourself
66 #define FSM_SaveYourselfRequest SM_SaveYourselfRequest
67 #define FSM_InteractRequest SM_InteractRequest
68 #define FSM_Interact SM_Interact
69 #define FSM_InteractDone SM_InteractDone
70 #define FSM_SaveYourselfDone SM_SaveYourselfDone
71 #define FSM_Die SM_Die
72 #define FSM_ShutdownCancelled SM_ShutdownCancelled
73 #define FSM_CloseConnection SM_CloseConnection
74 #define FSM_SetProperties SM_SetProperties
75 #define FSM_DeleteProperties SM_DeleteProperties
76 #define FSM_GetProperties SM_GetProperties
77 #define FSM_PropertiesReply SM_PropertiesReply
78 #define FSM_SaveYourselfPhase2Request SM_SaveYourselfPhase2Request
79 #define FSM_SaveYourselfPhase2 SM_SaveYourselfPhase2
80 #define FSM_SaveComplete SM_SaveComplete
83 #define FIceProtoMajor IceProtoMajor
84 #define FIceProtoMinor IceProtoMinor
86 #define FIceLSBfirst IceLSBfirst
87 #define FIceMSBfirst IceMSBfirst
89 #define FICE_Error ICE_Error
90 #define FICE_ByteOrder ICE_ByteOrder
91 #define FICE_ConnectionSetup ICE_ConnectionSetup
92 #define FICE_AuthRequired ICE_AuthRequired
93 #define FICE_AuthReply ICE_AuthReply
94 #define FICE_AuthNextPhase ICE_AuthNextPhase
95 #define FICE_ConnectionReply ICE_ConnectionReply
96 #define FICE_ProtocolSetup ICE_ProtocolSetup
97 #define FICE_ProtocolReply ICE_ProtocolReply
98 #define FICE_Ping ICE_Ping
99 #define FICE_PingReply ICE_PingReply
100 #define FICE_WantToClose ICE_WantToClose
101 #define FICE_NoClose ICE_NoClose
103 #define FIceCanContinue IceCanContinue
104 #define FIceFatalToProtocol IceFatalToProtocol
105 #define FIceFatalToConnection IceFatalToConnection
107 #define FIceBadMinor IceBadMinor
108 #define FIceBadState IceBadState
109 #define FIceBadLength IceBadLength
110 #define FIceBadValue IceBadValue
112 #define FIceBadMajor IceBadMajor
113 #define FIceNoAuth IceNoAuth
114 #define FIceNoVersion IceNoVersion
115 #define FIceSetupFailed IceSetupFailed
116 #define FIceAuthRejected IceAuthRejected
117 #define FIceAuthFailed IceAuthFailed
118 #define FIceProtocolDuplicate IceProtocolDuplicate
119 #define FIceMajorOpcodeDuplicate IceMajorOpcodeDuplicate
120 #define FIceUnknownProtocol IceUnknownProtocol
123 #define FSmsRegisterClientProcMask SmsRegisterClientProcMask
124 #define FSmsInteractRequestProcMask SmsInteractRequestProcMask
125 #define FSmsInteractDoneProcMask SmsInteractDoneProcMask
126 #define FSmsSaveYourselfRequestProcMask SmsSaveYourselfRequestProcMask
127 #define FSmsSaveYourselfP2RequestProcMask SmsSaveYourselfP2RequestProcMask
128 #define FSmsSaveYourselfDoneProcMask SmsSaveYourselfDoneProcMask
129 #define FSmsCloseConnectionProcMask SmsCloseConnectionProcMask
130 #define FSmsSetPropertiesProcMask SmsSetPropertiesProcMask
131 #define FSmsDeletePropertiesProcMask SmsDeletePropertiesProcMask
132 #define FSmsGetPropertiesProcMask SmsGetPropertiesProcMask
134 #define FSmcSaveYourselfProcMask SmcSaveYourselfProcMask
135 #define FSmcDieProcMask SmcDieProcMask
136 #define FSmcSaveCompleteProcMask SmcSaveCompleteProcMask
137 #define FSmcShutdownCancelledProcMask SmcShutdownCancelledProcMask
140 #define FIceAuthLockSuccess IceAuthLockSuccess
141 #define FIceAuthLockError IceAuthLockError
142 #define FIceAuthLockTimeout IceAuthLockTimeout
144 #else /* !SessionSupport */
147 #define FSmProtoMajor 1
148 #define FSmProtoMinor 0
150 #define FSmInteractStyleNone 0
151 #define FSmInteractStyleErrors 1
152 #define FSmInteractStyleAny 2
154 #define FSmDialogError 0
155 #define FSmDialogNormal 1
157 #define FSmSaveGlobal 0
158 #define FSmSaveLocal 1
159 #define FSmSaveBoth 2
161 #define FSmRestartIfRunning 0
162 #define FSmRestartAnyway 1
163 #define FSmRestartImmediately 2
164 #define FSmRestartNever 3
166 #define FSmCloneCommand "CloneCommand"
167 #define FSmCurrentDirectory "CurrentDirectory"
168 #define FSmDiscardCommand "DiscardCommand"
169 #define FSmEnvironment "Environment"
170 #define FSmProcessID "ProcessID"
171 #define FSmProgram "Program"
172 #define FSmRestartCommand "RestartCommand"
173 #define FSmResignCommand "ResignCommand"
174 #define FSmRestartStyleHint "RestartStyleHint"
175 #define FSmShutdownCommand "ShutdownCommand"
176 #define FSmUserID "UserID"
178 #define FSmCARD8 "CARD8"
179 #define FSmARRAY8 "ARRAY8"
180 #define FSmLISTofARRAY8 "LISTofARRAY8"
183 #define FSM_RegisterClient 1
184 #define FSM_RegisterClientReply 2
185 #define FSM_SaveYourself 3
186 #define FSM_SaveYourselfRequest 4
187 #define FSM_InteractRequest 5
188 #define FSM_Interact 6
189 #define FSM_InteractDone 7
190 #define FSM_SaveYourselfDone 8
192 #define FSM_ShutdownCancelled 10
193 #define FSM_CloseConnection 11
194 #define FSM_SetProperties 12
195 #define FSM_DeleteProperties 13
196 #define FSM_GetProperties 14
197 #define FSM_PropertiesReply 15
198 #define FSM_SaveYourselfPhase2Request 16
199 #define FSM_SaveYourselfPhase2 17
200 #define FSM_SaveComplete 18
203 #define FIceProtoMajor 1
204 #define FIceProtoMinor 0
206 #define FIceLSBfirst 0
207 #define FIceMSBfirst 1
210 #define FICE_ByteOrder 1
211 #define FICE_ConnectionSetup 2
212 #define FICE_AuthRequired 3
213 #define FICE_AuthReply 4
214 #define FICE_AuthNextPhase 5
215 #define FICE_ConnectionReply 6
216 #define FICE_ProtocolSetup 7
217 #define FICE_ProtocolReply 8
219 #define FICE_PingReply 10
220 #define FICE_WantToClose 11
221 #define FICE_NoClose 12
223 #define FIceCanContinue 0
224 #define FIceFatalToProtocol 1
225 #define FIceFatalToConnection 2
227 #define FIceBadMinor 0x8000
228 #define FIceBadState 0x8001
229 #define FIceBadLength 0x8002
230 #define FIceBadValue 0x8003
232 #define FIceBadMajor 0
234 #define FIceNoVersion 2
235 #define FIceSetupFailed 3
236 #define FIceAuthRejected 4
237 #define FIceAuthFailed 5
238 #define FIceProtocolDuplicate 6
239 #define FIceMajorOpcodeDuplicate 7
240 #define FIceUnknownProtocol 8
243 #define FSmsRegisterClientProcMask (1L << 0)
244 #define FSmsInteractRequestProcMask (1L << 1)
245 #define FSmsInteractDoneProcMask (1L << 2)
246 #define FSmsSaveYourselfRequestProcMask (1L << 3)
247 #define FSmsSaveYourselfP2RequestProcMask (1L << 4)
248 #define FSmsSaveYourselfDoneProcMask (1L << 5)
249 #define FSmsCloseConnectionProcMask (1L << 6)
250 #define FSmsSetPropertiesProcMask (1L << 7)
251 #define FSmsDeletePropertiesProcMask (1L << 8)
252 #define FSmsGetPropertiesProcMask (1L << 9)
254 #define FSmcSaveYourselfProcMask (1L << 0)
255 #define FSmcDieProcMask (1L << 1)
256 #define FSmcSaveCompleteProcMask (1L << 2)
257 #define FSmcShutdownCancelledProcMask (1L << 3)
260 #define IceAuthLockSuccess 0
261 #define IceAuthLockError 1
262 #define IceAuthLockTimeout 2
264 #endif /* SessionSupport */
266 /* ---------------------------- type definitions --------------------------- */
271 typedef IcePointer FIcePointer
;
273 #define FIcePoAuthHaveReply IcePoAuthHaveReply
274 #define FIcePoAuthRejected IcePoAuthRejected
275 #define FIcePoAuthFailed IcePoAuthFailed
276 #define FIcePoAuthDoneCleanup IcePoAuthDoneCleanup
277 typedef IcePoAuthStatus FIcePoAuthStatus
;
279 #define FIcePaAuthContinue IcePaAuthContinue
280 #define FIcePaAuthAccepted IcePaAuthAccepted
281 #define FIcePaAuthRejected IcePaAuthRejected
282 #define FIcePaAuthFailed IcePaAuthFailed
283 typedef IcePaAuthStatus FIcePaAuthStatus
;
285 #define FIceConnectPending IceConnectPending
286 #define FIceConnectAccepted IceConnectAccepted
287 #define FIceConnectRejected IceConnectRejected
288 #define FIceConnectIOError IceConnectIOError
289 typedef IceConnectStatus FIceConnectStatus
;
291 #define FIceProtocolSetupSuccess IceProtocolSetupSuccess
292 #define FIceProtocolSetupFailure IceProtocolSetupFailure
293 #define FIceProtocolSetupIOError IceProtocolSetupIOError
294 #define FIceProtocolAlreadyActive IceProtocolAlreadyActive
295 typedef IceProtocolSetupStatus FIceProtocolSetupStatus
;
297 #define FIceAcceptSuccess IceAcceptSuccess
298 #define FIceAcceptFailure IceAcceptFailure
299 #define FIceAcceptBadMalloc IceAcceptBadMalloc
300 typedef IceAcceptStatus FIceAcceptStatus
;
302 #define FIceClosedNow IceClosedNow
303 #define FIceClosedASAP IceClosedASAP
304 #define FIceConnectionInUse IceConnectionInUse
305 #define FIceStartedShutdownNegotiation IceStartedShutdownNegotiation
306 typedef IceCloseStatus FIceCloseStatus
;
308 #define FIceProcessMessagesSuccess IceProcessMessagesSuccess
309 #define FIceProcessMessagesIOError IceProcessMessagesIOError
310 #define FIceProcessMessagesConnectionClosed IceProcessMessagesConnectionClosed
311 typedef IceProcessMessagesStatus FIceProcessMessagesStatus
;
313 typedef IceReplyWaitInfo FIceReplyWaitInfo
;
314 typedef IceConn FIceConn
;
315 typedef IceListenObj FIceListenObj
;
317 typedef IceWatchProc FIceWatchProc
;
318 typedef IcePoProcessMsgProc FIcePoProcessMsgProc
;
319 typedef IcePaProcessMsgProc FIcePaProcessMsgProc
;
320 typedef IcePoVersionRec FIcePoVersionRec
;
321 typedef IcePaVersionRec FIcePaVersionRec
;
322 typedef IcePoAuthProc FIcePoAuthProc
;
323 typedef IcePaAuthProc FIcePaAuthProc
;
325 typedef IceHostBasedAuthProc FIceHostBasedAuthProc
;
326 typedef IceProtocolSetupProc FIceProtocolSetupProc
;
327 typedef IceProtocolActivateProc FIceProtocolActivateProc
;
328 typedef IceIOErrorProc FIceIOErrorProc
;
329 typedef IcePingReplyProc FIcePingReplyProc
;
330 typedef IceErrorHandler FIceErrorHandler
;
331 typedef IceIOErrorHandler FIceIOErrorHandler
;
334 typedef SmPointer FSmPointer
;
336 typedef SmcConn FSmcConn
;
337 typedef SmsConn FSmsConn
;
339 typedef SmPropValue FSmPropValue
;
341 typedef SmProp FSmProp
;
343 #define FSmcClosedNow SmcClosedNow
344 #define FSmcClosedASAP FSmcClosedASAP
345 #define FSmcConnectionInUse FSmcConnectionInUse
346 typedef SmcCloseStatus FSmcCloseStatus
;
348 typedef SmcSaveYourselfProc FSmcSaveYourselfProc
;
349 typedef SmcSaveYourselfPhase2Proc FSmcSaveYourselfPhase2Proc
;
350 typedef SmcInteractProc FSmcInteractProc
;
351 typedef SmcDieProc FSmcDieProc
;
352 typedef SmcShutdownCancelledProc FSmcShutdownCancelledProc
;
353 typedef SmcSaveCompleteProc FSmcSaveCompleteProc
;
354 typedef SmcPropReplyProc FSmcPropReplyProc
;
356 typedef SmcCallbacks FSmcCallbacks
;
358 typedef SmsRegisterClientProc FSmsRegisterClientProc
;
359 typedef SmsInteractRequestProc FSmsInteractRequestProc
;
360 typedef SmsInteractDoneProc FSmsInteractDoneProc
;
361 typedef SmsSaveYourselfRequestProc FSmsSaveYourselfRequestProc
;
362 typedef SmsSaveYourselfPhase2RequestProc FSmsSaveYourselfPhase2RequestProc
;
363 typedef SmsSaveYourselfDoneProc FSmsSaveYourselfDoneProc
;
364 typedef SmsCloseConnectionProc FSmsCloseConnectionProc
;
365 typedef SmsSetPropertiesProc FSmsSetPropertiesProc
;
366 typedef SmsDeletePropertiesProc FSmsDeletePropertiesProc
;
367 typedef SmsGetPropertiesProc FSmsGetPropertiesProc
;
369 typedef SmsCallbacks FSmsCallbacks
;
371 typedef SmsNewClientProc FSmsNewClientProc
;
372 typedef SmcErrorHandler FSmcErrorHandler
;
373 typedef SmsErrorHandler FSmsErrorHandler
;
376 typedef IceAuthFileEntry FIceAuthFileEntry
;
377 typedef IceAuthDataEntry FIceAuthDataEntry
;
379 #else /* !SessionSupport */
382 typedef void *FIcePointer
;
384 typedef char *FIcePointer
;
390 FIcePoAuthHaveReply
, FIcePoAuthRejected
, FIcePoAuthFailed
,
391 FIcePoAuthDoneCleanup
394 FIcePaAuthContinue
, FIcePaAuthAccepted
, FIcePaAuthRejected
,
398 FIceConnectPending
,FIceConnectAccepted
,FIceConnectRejected
,FIceConnectIOError
401 FIceProtocolSetupSuccess
,FIceProtocolSetupFailure
,FIceProtocolSetupIOError
,
402 FIceProtocolAlreadyActive
403 } FIceProtocolSetupStatus
;
405 FIceAcceptSuccess
,FIceAcceptFailure
,FIceAcceptBadMalloc
408 FIceClosedNow
,FIceClosedASAP
,FIceConnectionInUse
,
409 FIceStartedShutdownNegotiation
412 FIceProcessMessagesSuccess
,FIceProcessMessagesIOError
,
413 FIceProcessMessagesConnectionClosed
414 } FIceProcessMessagesStatus
;
416 unsigned long sequence_of_request
; int major_opcode_of_request
;
417 int minor_opcode_of_request
; FIcePointer reply
;
419 typedef void *FIceConn
;
420 typedef void *FIceListenObj
;
421 typedef void (*FIceWatchProc
) (
423 FIceConn
, FIcePointer
, Bool
, FIcePointer
*
426 typedef void (*FIcePoProcessMsgProc
) (
428 FIceConn
, FIcePointer
, int, unsigned long, Bool
, FIceReplyWaitInfo
*,
432 typedef void (*FIcePaProcessMsgProc
) (
434 FIceConn
, FIcePointer
, int, unsigned long, Bool
438 int major_version
; int minor_version
; FIcePoProcessMsgProc process_msg_proc
;
441 int major_version
; int minor_version
; FIcePaProcessMsgProc process_msg_proc
;
443 typedef FIcePoAuthStatus (*FIcePoAuthProc
) (
445 FIceConn
, FIcePointer
*, Bool
, Bool
, int, FIcePointer
, int *,
446 FIcePointer
*, char **
449 typedef FIcePaAuthStatus (*FIcePaAuthProc
) (
451 FIceConn
, FIcePointer
*, Bool
, int, FIcePointer
, int *,
452 FIcePointer
*, char **
455 typedef Bool (*FIceHostBasedAuthProc
) (
460 typedef Status (*FIceProtocolSetupProc
) (
462 FIceConn
, int, int, char *, char *, FIcePointer
*, char **
465 typedef void (*FIceProtocolActivateProc
) (
467 FIceConn
, FIcePointer
470 typedef void (*FIceIOErrorProc
) (
475 typedef void (*FIcePingReplyProc
) (
477 FIceConn
, FIcePointer
480 typedef void (*FIceErrorHandler
) (
482 FIceConn
, Bool
, int, unsigned long, int, int, FIcePointer
485 typedef void (*FIceIOErrorHandler
) (
487 FIceConn
/* iceConn */
492 typedef FIcePointer FSmPointer
;
494 typedef void *FSmcConn
;
495 typedef void *FSmsConn
;
497 typedef struct { int length
; FSmPointer value
;
499 typedef struct { char *name
; char *type
; int num_vals
; FSmPropValue
*vals
;
508 typedef void (*FSmcSaveYourselfProc
) (
510 FSmcConn
, FSmPointer
, int, Bool
, int, Bool
513 typedef void (*FSmcSaveYourselfPhase2Proc
) (
518 typedef void (*FSmcInteractProc
) (
523 typedef void (*FSmcDieProc
) (
528 typedef void (*FSmcShutdownCancelledProc
) (
533 typedef void (*FSmcSaveCompleteProc
) (
538 typedef void (*FSmcPropReplyProc
) (
540 FSmcConn
, FSmPointer
, int, FSmProp
**
546 FSmcSaveYourselfProc callback
;
547 FSmPointer client_data
;
550 FSmcDieProc callback
;
551 FSmPointer client_data
;
554 FSmcSaveCompleteProc callback
;
555 FSmPointer client_data
;
558 FSmcShutdownCancelledProc callback
;
559 FSmPointer client_data
;
560 } shutdown_cancelled
;
563 typedef Status (*FSmsRegisterClientProc
) (
565 FSmsConn
, FSmPointer
, char *
568 typedef void (*FSmsInteractRequestProc
) (
570 FSmsConn
, FSmPointer
, int
573 typedef void (*FSmsInteractDoneProc
) (
575 FSmsConn
, FSmPointer
, Bool
578 typedef void (*FSmsSaveYourselfRequestProc
) (
580 FSmsConn
, FSmPointer
, int, Bool
, int, Bool
, Bool
583 typedef void (*FSmsSaveYourselfPhase2RequestProc
) (
588 typedef void (*FSmsSaveYourselfDoneProc
) (
590 FSmsConn
, FSmPointer
, Bool
593 typedef void (*FSmsCloseConnectionProc
) (
595 FSmsConn
, FSmPointer
, int, char **
598 typedef void (*FSmsSetPropertiesProc
) (
600 FSmsConn
, FSmPointer
, int, FSmProp
**
603 typedef void (*FSmsDeletePropertiesProc
) (
605 FSmsConn
, FSmPointer
, int, char **
608 typedef void (*FSmsGetPropertiesProc
) (
616 FSmsRegisterClientProc callback
;
617 FSmPointer manager_data
;
620 FSmsInteractRequestProc callback
;
621 FSmPointer manager_data
;
624 FSmsInteractDoneProc callback
;
625 FSmPointer manager_data
;
628 FSmsSaveYourselfRequestProc callback
;
629 FSmPointer manager_data
;
630 } save_yourself_request
;
632 FSmsSaveYourselfPhase2RequestProc callback
;
633 FSmPointer manager_data
;
634 } save_yourself_phase2_request
;
636 FSmsSaveYourselfDoneProc callback
;
637 FSmPointer manager_data
;
638 } save_yourself_done
;
640 FSmsCloseConnectionProc callback
;
641 FSmPointer manager_data
;
644 FSmsSetPropertiesProc callback
;
645 FSmPointer manager_data
;
648 FSmsDeletePropertiesProc callback
;
649 FSmPointer manager_data
;
652 FSmsGetPropertiesProc callback
;
653 FSmPointer manager_data
;
657 typedef Status (*FSmsNewClientProc
) (
659 FSmsConn
,FSmPointer
, unsigned long *, FSmsCallbacks
*, char **
662 typedef void (*FSmcErrorHandler
) (
664 FSmcConn
, Bool
, int, unsigned long, int, int, FSmPointer
667 typedef void (*FSmsErrorHandler
) (
669 FSmsConn
, Bool
, int, unsigned long, int, int, FSmPointer
676 unsigned short protocol_data_length
;
680 unsigned short auth_data_length
;
688 unsigned short auth_data_length
;
694 /* ---------------------------- forward declarations ----------------------- */
696 /* ---------------------------- exported variables (globals) --------------- */
698 /* ---------------------------- interface functions ------------------------ */
702 /* ICElib.h (no all) */
703 #define FIceSetIOErrorHandler(a) IceSetIOErrorHandler(a)
704 #define FIceFreeListenObjs(a,b) IceFreeListenObjs(a,b)
705 #define FIceConnectionNumber(a) IceConnectionNumber(a)
706 #define FIceSetShutdownNegotiation(a,b) IceSetShutdownNegotiation(a,b)
707 #define FIceCloseConnection(a) IceCloseConnection(a)
708 #define FIceConnectionStatus(a) IceConnectionStatus(a)
709 #define FIceAcceptConnection(a,b) IceAcceptConnection(a,b)
710 #define FIceProcessMessages(a,b,c) IceProcessMessages(a,b,c)
711 #define FIceListenForConnections(a,b,c,d) IceListenForConnections(a,b,c,d)
712 #define FIceAddConnectionWatch(a,b) IceAddConnectionWatch(a,b)
713 #define FIceGetListenConnectionNumber(a) IceGetListenConnectionNumber(a)
714 #define FIceComposeNetworkIdList(a,b) IceComposeNetworkIdList(a,b)
715 #define FIceGetListenConnectionString(a) IceGetListenConnectionString(a)
716 #define FIceSetHostBasedAuthProc(a,b) IceSetHostBasedAuthProc(a,b)
717 #define FIceConnectionString(a) IceConnectionString(a)
720 #define FSmcOpenConnection(a,b,c,d,e,f,g,h,i,k) \
721 SmcOpenConnection(a,b,c,d,e,f,g,h,i,k)
722 #define FSmcCloseConnection(a,b,c) SmcCloseConnection(a,b,c)
723 #define FSmcModifyCallbacks(a,b,c) SmcModifyCallbacks(a,b,c)
724 #define FSmcSetProperties(a,b,c) SmcSetProperties(a,b,c)
725 #define FSmcDeleteProperties(a,b,c) SmcDeleteProperties(a,b,c)
726 #define FSmcGetProperties(a,b,c) SmcGetProperties(a,b,c)
727 #define FSmcInteractRequest(a,b,c,d) SmcInteractRequest(a,b,c,d)
728 #define FSmcInteractDone(a,b) SmcInteractDone(a,b)
729 #define FSmcRequestSaveYourself(a,b,c,d,e,f) SmcRequestSaveYourself(a,b,c,d,e,f)
730 #define FSmcRequestSaveYourselfPhase2(a,b,c) SmcRequestSaveYourselfPhase2(a,b,c)
731 #define FSmcSaveYourselfDone(a,b) SmcSaveYourselfDone(a,b)
732 #define FSmcProtocolVersion(a) SmcProtocolVersion(a)
733 #define FSmcProtocolRevision(a) SmcProtocolRevision(a)
734 #define FSmcVendor(a) SmcVendor(a)
735 #define FSmcRelease(a) SmcRelease(a)
736 #define FSmcClientID(a) SmcClientID(a)
737 #define FSmcGetIceConnection(a) SmcGetIceConnection(a)
738 #define FSmsInitialize(a,b,c,d,e,f,g) SmsInitialize(a,b,c,d,e,f,g)
739 #define FSmsClientHostName(a) SmsClientHostName(a)
740 #define FSmsGenerateClientID(a) SmsGenerateClientID(a)
741 #define FSmsRegisterClientReply(a,b) SmsRegisterClientReply(a,b)
742 #define FSmsSaveYourself(a,b,c,d,e) SmsSaveYourself(a,b,c,d,e)
743 #define FSmsSaveYourselfPhase2(a) SmsSaveYourselfPhase2(a)
744 #define FSmsInteract(a) SmsInteract(a)
745 #define FSmsDie(a) SmsDie(a)
746 #define FSmsSaveComplete(a) SmsSaveComplete(a)
747 #define FSmsShutdownCancelled(a) SmsShutdownCancelled(a)
748 #define FSmsReturnProperties(a,b,c) SmsReturnProperties(a,b,c)
749 #define FSmsCleanUp(a) SmsCleanUp(a)
750 #define FSmsProtocolVersion(a) SmsProtocolVersion(a)
751 #define FSmsProtocolRevision(a) SmsProtocolRevision(a)
752 #define FSmsClientID(a) SmsClientID(a)
753 #define FSmsGetIceConnection(a) SmsGetIceConnection(a)
754 #define FSmcSetErrorHandler(a) SmcSetErrorHandler(a)
755 #define FSmsSetErrorHandler(a) SmsSetErrorHandler(a)
756 #define FSmFreeProperty(a) SmFreeProperty(a)
757 #define FSmFreeReasons(a,b) SmFreeReasons(a,b)
760 #define FIceAuthFileName(a) IceAuthFileName(a)
761 #define FIceLockAuthFile(a,b,c,d) IceLockAuthFile(a,b,c,d)
762 #define FIceUnlockAuthFile(a) IceUnlockAuthFile(a)
763 #define FIceReadAuthFileEntry(a) IceReadAuthFileEntry(a)
764 #define FIceFreeAuthFileEntry(a) IceFreeAuthFileEntry(a)
765 #define FIceWriteAuthFileEntry(a,b) IceWriteAuthFileEntry(a,b)
766 #define FIceGetAuthFileEntry(a,b,c) IceGetAuthFileEntry(a,b,c)
767 #define FIceGenerateMagicCookie(a) IceGenerateMagicCookie(a)
768 #define FIceSetPaAuthData(a,b) IceSetPaAuthData(a,b)
772 /* ICElib.h (no all) */
773 #define FIceSetIOErrorHandler(a) NULL
774 #define FIceFreeListenObjs(a,b)
775 #define FIceConnectionNumber(a) 0
776 #define FIceSetShutdownNegotiation(a,b)
777 #define FIceCloseConnection(a) 0
778 #define FIceConnectionStatus(a) 0
779 #define FIceAcceptConnection(a,b) NULL
780 #define FIceProcessMessages(a,b,c) 0
781 #define FIceListenForConnections(a,b,c,d) 0
782 #define FIceAddConnectionWatch(a,b) 0
783 #define FIceGetListenConnectionNumber(a) 0
784 #define FIceComposeNetworkIdList(a,b) NULL
785 #define FIceGetListenConnectionString(a) NULL
786 #define FIceSetHostBasedAuthProc(a,b)
787 #define FIceConnectionString(a) NULL
790 #define FSmcOpenConnection(a,b,c,d,e,f,g,h,i,k) NULL
791 #define FSmcCloseConnection(a,b,c) 0
792 #define FSmcModifyCallbacks(a,b,c)
793 #define FSmcSetProperties(a,b,c)
794 #define FSmcDeleteProperties(a,b,c)
795 #define FSmcGetProperties(a,b,c) 0
796 #define FSmcInteractRequest(a,b,c,d) 0
797 #define FSmcInteractDone(a,b)
798 #define FSmcRequestSaveYourself(a,b,c,d,e,f)
799 #define FSmcRequestSaveYourselfPhase2(a,b,c) 0
800 #define FSmcSaveYourselfDone(a,b)
801 #define FSmcProtocolVersion(a) 0
802 #define FSmcProtocolRevision(a) 0
803 #define FSmcVendor(a) NULL
804 #define FSmcRelease(a) NULL
805 #define FSmcClientID(a) NULL
806 #define FSmcGetIceConnection(a) NULL
807 #define FSmsInitialize(a,b,c,d,e,f,g) 0
808 #define FSmsClientHostName(a) NULL
809 #define FSmsGenerateClientID(a) NULL
810 #define FSmsRegisterClientReply(a,b) 0
811 #define FSmsSaveYourself(a,b,c,d,e)
812 #define FSmsSaveYourselfPhase2(a)
813 #define FSmsInteract(a)
815 #define FSmsSaveComplete(a)
816 #define FSmsShutdownCancelled(a)
817 #define FSmsReturnProperties(a,b,c)
818 #define FSmsCleanUp(a)
819 #define FSmsProtocolVersion(a) 0
820 #define FSmsProtocolRevision(a) 0
821 #define FSmsClientID(a) NULL
822 #define FSmsGetIceConnection(a) NULL
823 #define FSmcSetErrorHandler(a) NULL
824 #define FSmsSetErrorHandler(a) NULL
825 #define FSmFreeProperty(a)
826 #define FSmFreeReasons(a,b)
829 #define FIceAuthFileName(a) NULL
830 #define FIceLockAuthFile(a,b,c,d) 0
831 #define FIceUnlockAuthFile(a)
832 #define FIceReadAuthFileEntry(a) NULL
833 #define FIceFreeAuthFileEntry(a)
834 #define FIceWriteAuthFileEntry(a,b) 0
835 #define FIceGetAuthFileEntry(a,b,c) NULL
836 #define FIceGenerateMagicCookie(a) NULL
837 #define FIceSetPaAuthData(a,b)
841 #endif /* FSMlib_H */