From 5abbdcde8a9ed3e489e2f9e5b9161dc9ebc5801f Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Thu, 21 Oct 2010 16:29:21 -0700 Subject: SMlib.xml: Convert remaining literallayout tags to synopsis tags Signed-off-by: Alan Coopersmith --- doc/SMlib.xml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/doc/SMlib.xml b/doc/SMlib.xml index 5faa752..48ee107 100644 --- a/doc/SMlib.xml +++ b/doc/SMlib.xml @@ -215,18 +215,18 @@ The following values may be ORed together to obtain a mask value: - + SmcSaveYourselfProcMask SmcDieProcMask SmcSaveCompleteProcMask SmcShutdownCancelledProcMask - + For each callback, the client can register a pointer to client data. When SMlib invokes the callback, it will pass the client data pointer. - + typedef struct { struct { @@ -250,7 +250,7 @@ typedef struct { } shutdown_cancelled; } SmcCallbacks; - + The Save Yourself Callback @@ -469,12 +469,12 @@ typedef struct { When specifying a value for the mask argument, the following values may be ORed together: - + SmcSaveYourselfProcMask SmcDieProcMask SmcSaveCompleteProcMask SmcShutdownCancelledProcMask - + @@ -1039,7 +1039,7 @@ typedef struct { The following values may be ORed together to obtain a mask value: - + SmsRegisterClientProcMask SmsInteractRequestProcMask SmsInteractDoneProcMask @@ -1050,11 +1050,11 @@ typedef struct { SmsSetPropertiesProcMask SmsDeletePropertiesProcMask SmsGetPropertiesProcMask - + For each callback, the session manager can register a pointer to manager data specific to that callback. This pointer will be passed to the callback when it is invoked by SMlib. - + typedef struct { struct { SmsRegisterClientProc callback; @@ -1107,7 +1107,7 @@ typedef struct { } get_properties; } SmsCallbacks; - + The Register Client Callback @@ -1915,7 +1915,7 @@ If the client is first joining the session, previous_id will be NULL. Each property is defined by the SmProc structure: - + typedef struct { char *name; /* name of property */ char *type; /* type of property */ @@ -1927,7 +1927,7 @@ typedef struct { int length; /* the length of the value */ SmPointer value; /* the value */ } SmPropValue; - + The X Session Management Protocol defines a list of predefined properties, several of which are required to be set by the client. The following table specifies the predefined properties and indicates which ones are required. Each property has a type associated with it. -- cgit v1.2.1