1 /* 2 * Copyright (c) 2004-2007 High Performance Computing Center Stuttgart, 3 * University of Stuttgart. All rights reserved. 4 * Copyright (c) 2004-2008 The Trustees of Indiana University. 5 * All rights reserved. 6 * $COPYRIGHT$ 7 * 8 * Additional copyrights may follow 9 * 10 * $HEADER$ 11 */ 12 13 /** 14 * @file 15 * 16 * This should be described well 17 */ 18 19 #ifndef MCA_MEMCHECKER_VALGRIND_EXPORT_H 20 #define MCA_MEMCHECKER_VALGRIND_EXPORT_H 21 22 #include "opal_config.h" 23 24 #include "opal/mca/mca.h" 25 #include "opal/mca/memchecker/memchecker.h" 26 27 BEGIN_C_DECLS 28 29 /** 30 * Globally exported variable 31 */ 32 OPAL_DECLSPEC extern const opal_memchecker_base_component_2_0_0_t 33 mca_memchecker_valgrind_component; 34 35 /** 36 * memchecker query API function 37 * 38 * Query function for memchecker components. Simply returns a priority 39 * to rank it against other available memchecker components (assumedly, 40 * only one component will be available per platform, but it's 41 * possible that there could be more than one available). 42 */ 43 int opal_memchecker_valgrind_component_query(mca_base_module_t **module, int *priority); 44 45 END_C_DECLS 46 #endif /* MCA_MEMCHECKER_VALGRIND_EXPORT_H */