Initial import of the CDE 2.1.30 sources from the Open Group.
[oweals/cde.git] / cde / lib / tt / lib / util / tt_ldpath.h
1 /*%%  (c) Copyright 1993, 1994 Hewlett-Packard Company                   */
2 /*%%  (c) Copyright 1993, 1994 International Business Machines Corp.     */
3 /*%%  (c) Copyright 1993, 1994 Sun Microsystems, Inc.                    */
4 /*%%  (c) Copyright 1993, 1994 Novell, Inc.                              */
5 /*%%  $XConsortium: tt_ldpath.h /main/3 1995/10/23 10:40:55 rswiston $                                                   */
6 /*
7  *
8  * tt_ldpath.h
9  *
10  * Copyright (c) 1990 by Sun Microsystems, Inc.
11  */
12 #ifndef _TT_LDPATH_H
13 #define _TT_LDPATH_H
14 #include <util/tt_string.h>
15
16 /* 
17  * Attempts to find the best path to a dynamic library named by libname.
18  * If succesful then 1 is returned and path will be set to the path to
19  * the library. Otherwise 0 is returned. This function will use the
20  * appropiate combination of LD_LIBRARY_PATH and the required hardcoded
21  * paths to perform the search.
22  */
23 int     tt_ldpath(_Tt_string libname, _Tt_string &path);
24
25 #endif                          /* _TT_LDPATH_H */