xhb-0.2.2009.2.21: X Haskell Bindings




extensionInfo :: Connection -> ExtensionId -> IO QueryExtensionReplySource

Lookup an extension. Will attempt to check the extension cache first. Will block until the info is retrieved from the server. Will cache the extension information when found.

serializeExtensionRequest :: ExtensionRequest a => Connection -> a -> IO PutSource

Convert an extension request to a put action. Handles grabbing the extension opcode and feeding it into the serializeRequest function.