1 
   2 
   3 
   4 
   5 
   6 
   7 
   8 
   9 
  10 #ifndef OPAL_DL_LIBLTDL
  11 #define OPAL_DL_LIBLTDL
  12 
  13 #include "opal_config.h"
  14 
  15 #include "opal/mca/dl/dl.h"
  16 
  17 #include <ltdl.h>
  18 
  19 
  20 OPAL_DECLSPEC extern opal_dl_base_module_t opal_dl_libltdl_module;
  21 
  22 
  23 
  24 
  25 
  26 
  27 struct opal_dl_handle_t {
  28     lt_dlhandle ltdl_handle;
  29 #if OPAL_ENABLE_DEBUG
  30     char *filename;
  31 #endif
  32 };
  33 
  34 typedef struct {
  35     opal_dl_base_component_t base;
  36 
  37 #if OPAL_DL_LIBLTDL_HAVE_LT_DLADVISE
  38     
  39 
  40 
  41     lt_dladvise advise_private_noext;
  42     lt_dladvise advise_private_ext;
  43     lt_dladvise advise_public_noext;
  44     lt_dladvise advise_public_ext;
  45 #endif
  46 } opal_dl_libltdl_component_t;
  47 
  48 OPAL_DECLSPEC extern opal_dl_libltdl_component_t mca_dl_libltdl_component;
  49 
  50 #endif