typedef IcePointer SmPointer;
typedef struct _SmcConn *SmcConn;
typedef struct _SmsConn *SmsConn;
typedef struct
{
int length;
SmPointer value;
}
SmPropValue;
typedef struct
{
char *name;
char *type;
int num_vals;
SmPropValue *vals;
}
SmProp;
typedef enum
{
SmcClosedNow, SmcClosedASAP, SmcConnectionInUse
}
SmcCloseStatus;
typedef void (*SmcSaveYourselfPhase2Proc) (void);
typedef void (*SmcInteractProc) (void);
typedef void (*SmcDieProc) (void);
typedef void (*SmcShutdownCancelledProc) (void);
typedef void (*SmcSaveCompleteProc) (void);
typedef void (*SmcPropReplyProc) (void);
typedef struct
{
SmcShutdownCancelledProc callback;
SmPointer client_data;
}
SmcCallbacks;
typedef void (*SmsSetPropertiesProc) (void);
typedef void (*SmsDeletePropertiesProc) (void);
typedef void (*SmsGetPropertiesProc) (void);
typedef struct
{
SmsGetPropertiesProc callback;
SmPointer manager_data;
}
SmsCallbacks;
typedef int (*SmsNewClientProc) (void);
typedef void (*SmcErrorHandler) (void);
typedef void (*SmsErrorHandler) (void); |