1 /* 2 * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana 3 * University Research and Technology 4 * Corporation. All rights reserved. 5 * Copyright (c) 2004-2006 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 (c) 2008 Sun Microsystems, Inc. All rights reserved. 13 * Copyright (c) 2010 Cisco Systems, Inc. All rights reserved. 14 * Copyright (c) 2012 Los Alamos National Security, LLC. All rights reserved 15 * Copyright (c) 2014 Intel, Inc. All rights reserved. 16 * $COPYRIGHT$ 17 * 18 * Additional copyrights may follow 19 * 20 * $HEADER$ 21 */ 22 23 /** @file: 24 * 25 */ 26 27 #ifndef _ORTE_ERROR_STRINGS_H_ 28 #define _ORTE_ERROR_STRINGS_H_ 29 30 #include "orte_config.h" 31 32 #include "orte/runtime/orte_globals.h" 33 #include "orte/mca/plm/plm_types.h" 34 35 BEGIN_C_DECLS 36 37 ORTE_DECLSPEC int orte_err2str(int errnum, const char **errmsg); 38 39 40 ORTE_DECLSPEC const char *orte_job_state_to_str(orte_job_state_t state); 41 42 ORTE_DECLSPEC const char *orte_app_ctx_state_to_str(orte_app_state_t state); 43 44 ORTE_DECLSPEC const char *orte_proc_state_to_str(orte_proc_state_t state); 45 46 ORTE_DECLSPEC const char *orte_node_state_to_str(orte_node_state_t state); 47 48 END_C_DECLS 49 #endif