1 /* 2 * Copyright (c) 2004-2010 The Trustees of Indiana University and Indiana 3 * University Research and Technology 4 * Corporation. All rights reserved. 5 * Copyright (c) 2004-2005 The University of Tennessee and The University 6 * of Tennessee Research Foundation. All rights 7 * reserved. 8 * Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, 9 * University of Stuttgart. All rights reserved. 10 * Copyright (c) 2004-2005 The Regents of the University of California. 11 * All rights reserved. 12 * $COPYRIGHT$ 13 * 14 * Additional copyrights may follow 15 * 16 * $HEADER$ 17 */ 18 19 /** 20 * @file 21 * 22 * Checkpoint/Restart Functionality for the ORTE layer 23 */ 24 25 #ifndef ORTE_CR_H 26 #define ORTE_CR_H 27 28 #include "orte_config.h" 29 30 BEGIN_C_DECLS 31 32 /* 33 * Initialization called in orte_init() 34 */ 35 ORTE_DECLSPEC int orte_cr_init(void); 36 37 /* 38 * Finalization called in orte_finalize() 39 */ 40 ORTE_DECLSPEC int orte_cr_finalize(void); 41 42 /* 43 * Interlayer Coodination Callback 44 */ 45 ORTE_DECLSPEC int orte_cr_coord(int state); 46 47 /* 48 * Init/Finalize functions for ORTE Entry Point 49 */ 50 ORTE_DECLSPEC int orte_cr_entry_point_init(void); 51 ORTE_DECLSPEC int orte_cr_entry_point_finalize(void); 52 53 ORTE_DECLSPEC extern bool orte_cr_flush_restart_files; 54 55 END_C_DECLS 56 57 #endif /* ORTE_CR_H */