root/opal/mca/hwloc/hwloc201/hwloc/include/private/components.h

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

INCLUDED FROM


   1 /*
   2  * Copyright © 2012-2015 Inria.  All rights reserved.
   3  * See COPYING in top-level directory.
   4  */
   5 
   6 
   7 #ifdef HWLOC_INSIDE_PLUGIN
   8 /*
   9  * these declarations are internal only, they are not available to plugins
  10  * (many functions below are internal static symbols).
  11  */
  12 #error This file should not be used in plugins
  13 #endif
  14 
  15 
  16 #ifndef PRIVATE_COMPONENTS_H
  17 #define PRIVATE_COMPONENTS_H 1
  18 
  19 #include <hwloc/plugins.h>
  20 
  21 struct hwloc_topology;
  22 
  23 extern int hwloc_disc_component_force_enable(struct hwloc_topology *topology,
  24                                              int envvar_forced, /* 1 if forced through envvar, 0 if forced through API */
  25                                              int type, const char *name,
  26                                              const void *data1, const void *data2, const void *data3);
  27 extern void hwloc_disc_components_enable_others(struct hwloc_topology *topology);
  28 
  29 /* Compute the topology is_thissystem flag and find some callbacks based on enabled backends */
  30 extern void hwloc_backends_is_thissystem(struct hwloc_topology *topology);
  31 extern void hwloc_backends_find_callbacks(struct hwloc_topology *topology);
  32 
  33 /* Initialize the list of backends used by a topology */
  34 extern void hwloc_backends_init(struct hwloc_topology *topology);
  35 /* Disable and destroy all backends used by a topology */
  36 extern void hwloc_backends_disable_all(struct hwloc_topology *topology);
  37 
  38 /* Used by the core to setup/destroy the list of components */
  39 extern void hwloc_components_init(void); /* increases components refcount, should be called exactly once per topology (during init) */
  40 extern void hwloc_components_fini(void); /* decreases components refcount, should be called exactly once per topology (during destroy) */
  41 
  42 #endif /* PRIVATE_COMPONENTS_H */
  43 

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