OpenMPI  0.1.1
base.h
1 /*
2  * Copyright (c) 2006 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 
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 OPAL_DECLSPEC int opal_installdirs_base_open(void);
27 OPAL_DECLSPEC int opal_installdirs_base_close(void);
28 
29 /* Just like opal_install_dirs_expand() (see installdirs.h), but will
30  also insert the value of the environment variable $OPAL_DESTDIR, if
31  it exists/is set. This function should *only* be used during the
32  setup routines of installdirs. */
33 char * opal_install_dirs_expand_setup(const char* input);
34 
35 
36 /*
37  * Globals
38  */
39 OPAL_DECLSPEC extern opal_list_t opal_installdirs_components;
40 
41 END_C_DECLS
42 
43 #endif /* OPAL_BASE_INSTALLDIRS_H */
Definition: opal_list.h:147