1 /* 2 * Copyright (c) 2006-2013 Los Alamos National Security, LLC. All rights 3 * reserved. 4 * Copyright (c) 2007-2010 Cisco Systems, Inc. All rights reserved. 5 * Copyright (c) 2010 Sandia National Laboratories. All rights reserved. 6 * Copyright (c) 2016-2017 Intel, Inc. All rights reserved. 7 * $COPYRIGHT$ 8 * 9 * Additional copyrights may follow 10 * 11 * $HEADER$ 12 * 13 */ 14 15 #ifndef PMIX_PINSTALLDIRS_BASE_H 16 #define PMIX_PINSTALLDIRS_BASE_H 17 18 #include <src/include/pmix_config.h> 19 #include "src/mca/base/pmix_mca_base_framework.h" 20 #include "src/mca/pinstalldirs/pinstalldirs.h" 21 22 /* 23 * Global functions for MCA overall pinstalldirs open and close 24 */ 25 BEGIN_C_DECLS 26 27 /** 28 * Framework structure declaration 29 */ 30 PMIX_EXPORT extern pmix_mca_base_framework_t pmix_pinstalldirs_base_framework; 31 32 /* Just like pmix_pinstall_dirs_expand() (see pinstalldirs.h), but will 33 also insert the value of the environment variable $PMIX_DESTDIR, if 34 it exists/is set. This function should *only* be used during the 35 setup routines of pinstalldirs. */ 36 char * pmix_pinstall_dirs_expand_setup(const char* input); 37 38 END_C_DECLS 39 40 #endif /* PMIX_BASE_PINSTALLDIRS_H */