XAddExtension

Syntax

XExtCodes *XAddExtension(display)
        Display *display;

Arguments

display Specifies the connection to the X server.

Description

For local Xlib extensions, the XAddExtension() function allocates the XExtCodes structure, bumps the extension number count, and chains the extension onto the extension list. (This permits extensions to Xlib without requiring server extensions.)

See also

XInitExtension(), "Hooking into Xlib ".
Christophe Tronche, [email protected]