root/opal/mca/pmix/pmix4x/pmix/src/mca/pdl/plibltdl/pdl_libltdl.h

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

INCLUDED FROM


   1 /*
   2  * Copyright (c) 2015 Cisco Systems, Inc.  All rights reserved.
   3  * Copyright (c) 2017      Intel, Inc.  All rights reserved.
   4  * $COPYRIGHT$
   5  *
   6  * Additional copyrights may follow
   7  *
   8  * $HEADER$
   9  */
  10 
  11 #ifndef PMIX_DL_LIBLTDL
  12 #define PMIX_DL_LIBLTDL
  13 
  14 #include "pmix_config.h"
  15 
  16 #include "pmix/mca/dl/dl.h"
  17 
  18 #include <ltdl.h>
  19 
  20 
  21 PMIX_DECLSPEC extern pmix_pdl_base_module_t pmix_pdl_plibltpdl_module;
  22 
  23 /*
  24  * Dynamic library handles generated by this component.
  25  *
  26  * If we're debugging, keep a copy of the name of the file we've opened.
  27  */
  28 struct pmix_pdl_handle_t {
  29     lt_dlhandle ltpdl_handle;
  30 #if PMIX_ENABLE_DEBUG
  31     char *filename;
  32 #endif
  33 };
  34 
  35 typedef struct {
  36     pmix_pdl_base_component_t base;
  37 
  38 #if PMIX_DL_LIBLTDL_HAVE_LT_DLADVISE
  39     /* If the version of plibltdl that we are compiling against has
  40        lt_dladvise, use it to support opening DSOs in a variety of
  41        modes. */
  42     lt_dladvise advise_private_noext;
  43     lt_dladvise advise_private_ext;
  44     lt_dladvise advise_public_noext;
  45     lt_dladvise advise_public_ext;
  46 #endif
  47 } pmix_pdl_plibltpdl_component_t;
  48 
  49 PMIX_DECLSPEC extern pmix_pdl_plibltpdl_component_t mca_pdl_plibltpdl_component;
  50 
  51 #endif /* PMIX_DL_LIBLTDL */

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