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$ 7 * 8 * Additional copyrights may follow 9 * 10 * $HEADER$ 11 * 12 */ 13 14 #ifndef OPAL_INSTALLDIRS_BASE_H 15 #define OPAL_INSTALLDIRS_BASE_H 16 17 #include "opal_config.h" 18 #include "opal/mca/base/mca_base_framework.h" 19 #include "opal/mca/installdirs/installdirs.h" 20 21 /* 22 * Global functions for MCA overall installdirs open and close 23 */ 24 BEGIN_C_DECLS 25 26 /** 27 * Framework structure declaration 28 */ 29 OPAL_DECLSPEC extern mca_base_framework_t opal_installdirs_base_framework; 30 31 /* Just like opal_install_dirs_expand() (see installdirs.h), but will 32 also insert the value of the environment variable $OPAL_DESTDIR, if 33 it exists/is set. This function should *only* be used during the 34 setup routines of installdirs. */ 35 char * opal_install_dirs_expand_setup(const char* input); 36 37 END_C_DECLS 38 39 #endif /* OPAL_BASE_INSTALLDIRS_H */