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

LS_GetLibraryReqByDeviceName(9u)

NAME

LS_GetLibraryReqByDeviceName - Xdec: Returns the index of a library name within a library list

SYNOPSIS

int LS_GetLibraryReqByDeviceName( LS_LibraryReq *libraries, int count, char *name );

ARGUMENTS

libraries Specifies a set of library records. This list may specify individual libraries or a range of libraries. count Specifies the number of libraries in the list. name Specifies the name of the device to search for in the list.

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_GetLibraryReqByDeviceName routine searches the specified libraries in a list of library records and returns the index of the library with the specified device name.

RETURN VALUE

On success, the LS_GetLibraryReqByDeviceName routine returns the index of the library. If the library is not in the list, it returns -1.

SEE ALSO

Data Structures: LS_LibraryReq(9s) Loadable Services Routines: LS_GetLibraryReqByExtensionName(9u), LS_GetLibraryReqByLibName(9u)

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