Blame include/sltdl/sltdl.h

b3258d
#ifndef SLTDL_H
b3258d
#define SLTDL_H
b3258d
b3258d
#include "sltdl_api.h"
b3258d
b3258d
#ifdef __cplusplus
b3258d
extern "C" {
b3258d
#endif
b3258d
6a3903
/**********************************************************************/
6a3903
/*                                                                    */
6a3903
/* this header povides projects that depend on ltdl's interfaces the  */
6a3903
/* most necessary macro definitions, type definitions, and forward    */
6a3903
/* declarations.                                                      */
6a3903
/*                                                                    */
6a3903
/* if your library or utility does not yet use libltdl, then it is    */
6a3903
/* strongly recommended that you use the various posix interfaces as  */
6a3903
/* defined in <dlfcn.h>, and accordingly refrain from using libsltdl  */
6a3903
/* altogether.                                                        */
6a3903
/*                                                                    */
6a3903
/**********************************************************************/
6a3903
f70646
typedef struct lt_modctx * lt_dlhandle;
f70646
564b3c
/* global reference-counting */
564b3c
lt_api int lt_dlinit(void);
564b3c
lt_api int lt_dlexit(void);
564b3c
47891e
/* library search path */
bb0941
lt_api int          lt_dlpathopen(const char *, const char **);
47891e
lt_api int          lt_dladdsearchdir(const char *);
47891e
lt_api int          lt_dlinsertsearchdir(const char *, const char *);
47891e
lt_api int          lt_dlsetsearchpath(const char *);
47891e
lt_api const char * lt_dlgetsearchpath(void);
47891e
b3258d
#ifdef __cplusplus
b3258d
}
b3258d
#endif
b3258d
b3258d
#endif