Index Index for
Section 9
Index Alphabetical
listing for L
Bottom of page Bottom of
page

LS_LoadLibraryReqs(9u)

NAME

LS_LoadLibraryReqs - Xdec: Loads a set of libraries into the loadable server

SYNOPSIS

LS_Status LS_LoadLibraryReqs( LS_LibraryReq *libraries, int index, int number, Boolean enforceVersion );

ARGUMENTS

libraries Specifies a set of library records for the libraries to be loaded. This list may specify individual libraries or a range of libraries. index Specifies the starting index into the list of library records. number Specifies the number of libraries to load from the list, starting at index. enforceVersion Specifies TRUE or FALSE to indicate whether the routine should set the library version number in the library record. The Tru64 UNIX X Server uses this argument when it needs to distinguish between major versions.

DESCRIPTION

The Loadable Services (LS_) routines are defined by the Xdec Loadable server in ./Xserver/loadable/loadable.c. The Xdec Loadable server functionality is provided by Compaq's Tru64 UNIX Xserver and is not part of the X.Org distribution. The LS_ routines are used for manipulating information about Xserver ddx shared libraries and extension shared libraries, defined in loadable.c or the Xserver configuration file. /var/X11/Xserver.conf. The LS_LoadLibraryReqs routine searches the specified libraries in a list of library records and opens any libraries that are not already opened. It calls the dlopen function with the RTLD_LAZY mode so that the loader does symbol resolution only as needed.

RETURN VALUE

On success, the routine returns LS_Success. If it encounters a library it cannot load, it returns LS_Failure.

SEE ALSO

Data Structures: LS_LibraryReq(9s) Loadable Services Routines: LS_UnLoadLibraryReqs(9u)

Index Index for
Section 9
Index Alphabetical
listing for L
Top of page Top of
page