Warning, file /include/pmix/src/mca/psquash/psquash.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
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 #ifndef PMIX_PSQUASH_H
0026 #define PMIX_PSQUASH_H
0027
0028 #include "src/include/pmix_config.h"
0029
0030 #include "src/mca/base/pmix_mca_base_framework.h"
0031 #include "src/mca/base/pmix_mca_base_var.h"
0032 #include "src/mca/mca.h"
0033
0034 BEGIN_C_DECLS
0035
0036
0037
0038
0039
0040
0041 typedef pmix_status_t (*pmix_psquash_base_module_init_fn_t)(void);
0042
0043
0044
0045
0046 typedef void (*pmix_psquash_base_module_finalize_fn_t)(void);
0047
0048
0049
0050
0051
0052
0053
0054 typedef pmix_status_t (*pmix_psquash_get_max_size_fn_t)(pmix_data_type_t type, size_t *size);
0055
0056
0057
0058
0059
0060
0061
0062
0063
0064
0065 typedef pmix_status_t (*pmix_psquash_encode_int_fn_t)(pmix_data_type_t type, void *src, void *dest,
0066 size_t *dst_len);
0067
0068
0069
0070
0071
0072
0073
0074
0075
0076
0077 typedef pmix_status_t (*pmix_psquash_decode_int_fn_t)(pmix_data_type_t type, void *src,
0078 size_t src_len, void *dest, size_t *dst_len);
0079
0080
0081
0082
0083 typedef struct {
0084 const char *name;
0085
0086
0087 bool int_type_is_encoded;
0088
0089
0090 pmix_psquash_base_module_init_fn_t init;
0091 pmix_psquash_base_module_finalize_fn_t finalize;
0092
0093 pmix_psquash_get_max_size_fn_t get_max_size;
0094
0095
0096 pmix_psquash_encode_int_fn_t encode_int;
0097 pmix_psquash_decode_int_fn_t decode_int;
0098 } pmix_psquash_base_module_t;
0099
0100
0101
0102
0103 struct pmix_psquash_base_component_t {
0104 pmix_mca_base_component_t base;
0105 int priority;
0106 };
0107 typedef struct pmix_psquash_base_component_t pmix_psquash_base_component_t;
0108
0109 PMIX_EXPORT extern pmix_psquash_base_module_t pmix_psquash;
0110
0111
0112
0113
0114 #define PMIX_PSQUASH_BASE_VERSION_1_0_0 PMIX_MCA_BASE_VERSION_1_0_0("psquash", 1, 0, 0)
0115
0116 END_C_DECLS
0117
0118 #endif