root/opal/mca/dl/libltdl/dl_libltdl.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 /*
   2  * Copyright (c) 2015 Cisco Systems, Inc.  All rights reserved.
   3  * $COPYRIGHT$
   4  *
   5  * Additional copyrights may follow
   6  *
   7  * $HEADER$
   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  * Dynamic library handles generated by this component.
  24  *
  25  * If we're debugging, keep a copy of the name of the file we've opened.
  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     /* If the version of libltdl that we are compiling against has
  39        lt_dladvise, use it to support opening DSOs in a variety of
  40        modes. */
  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 /* OPAL_DL_LIBLTDL */

/* [<][>][^][v][top][bottom][index][help] */