File indexing completed on 2025-02-22 10:47:29
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031 #ifndef PRTE_MCA_ODLS_H
0032 #define PRTE_MCA_ODLS_H
0033
0034 #include "prte_config.h"
0035 #include "types.h"
0036
0037 #include "src/class/pmix_pointer_array.h"
0038 #include "src/mca/mca.h"
0039 #include "src/pmix/pmix-internal.h"
0040 #include "src/rml/rml_types.h"
0041 #include "src/pmix/pmix-internal.h"
0042 #include "src/runtime/prte_globals.h"
0043
0044 #include "src/mca/odls/odls_types.h"
0045
0046 BEGIN_C_DECLS
0047
0048
0049
0050
0051
0052
0053
0054
0055
0056
0057
0058
0059
0060
0061 typedef int (*prte_odls_base_module_get_add_procs_data_fn_t)(pmix_data_buffer_t *data,
0062 pmix_nspace_t job);
0063
0064
0065
0066
0067 typedef int (*prte_odls_base_module_launch_local_processes_fn_t)(pmix_data_buffer_t *data);
0068
0069
0070
0071
0072 typedef int (*prte_odls_base_module_kill_local_processes_fn_t)(pmix_pointer_array_t *procs);
0073
0074
0075
0076
0077 typedef int (*prte_odls_base_module_signal_local_process_fn_t)(const pmix_proc_t *proc,
0078 int32_t signal);
0079
0080
0081
0082
0083 typedef int (*prte_odls_base_module_restart_proc_fn_t)(prte_proc_t *child);
0084
0085
0086
0087
0088 struct prte_odls_base_module_1_3_0_t {
0089 prte_odls_base_module_get_add_procs_data_fn_t get_add_procs_data;
0090 prte_odls_base_module_launch_local_processes_fn_t launch_local_procs;
0091 prte_odls_base_module_kill_local_processes_fn_t kill_local_procs;
0092 prte_odls_base_module_signal_local_process_fn_t signal_local_procs;
0093 prte_odls_base_module_restart_proc_fn_t restart_proc;
0094 };
0095
0096
0097 typedef struct prte_odls_base_module_1_3_0_t prte_odls_base_module_1_3_0_t;
0098
0099 typedef struct prte_odls_base_module_1_3_0_t prte_odls_base_module_t;
0100
0101
0102
0103
0104 typedef pmix_mca_base_component_t prte_odls_base_component_t;
0105
0106
0107
0108
0109 #define PRTE_ODLS_BASE_VERSION_2_0_0 PRTE_MCA_BASE_VERSION_3_0_0("odls", 2, 0, 0)
0110
0111
0112
0113 PRTE_EXPORT extern prte_odls_base_module_t
0114 prte_odls;
0115
0116 END_C_DECLS
0117
0118 #endif