|
11 | 11 | * Copyright (c) 2004-2005 The Regents of the University of California.
|
12 | 12 | * All rights reserved.
|
13 | 13 | * Copyright (c) 2012 Los Alamos National Security, Inc. All rights reserved.
|
14 |
| - * Copyright (c) 2014-2017 Intel, Inc. All rights reserved. |
| 14 | + * Copyright (c) 2014-2018 Intel, Inc. All rights reserved. |
15 | 15 | * Copyright (c) 2014 Research Organization for Information Science
|
16 | 16 | * and Technology (RIST). All rights reserved.
|
17 | 17 | * Copyright (c) 2015 Cisco Systems, Inc. All rights reserved.
|
@@ -334,6 +334,8 @@ int opal_dss_pack_vpid(opal_buffer_t *buffer, const void *src,
|
334 | 334 |
|
335 | 335 | int opal_dss_pack_status(opal_buffer_t *buffer, const void *src,
|
336 | 336 | int32_t num_vals, opal_data_type_t type);
|
| 337 | +int opal_dss_pack_envar(opal_buffer_t *buffer, const void *src, |
| 338 | + int32_t num_vals, opal_data_type_t type); |
337 | 339 |
|
338 | 340 | /*
|
339 | 341 | * Internal unpack functions
|
@@ -407,6 +409,9 @@ int opal_dss_unpack_vpid(opal_buffer_t *buffer, void *dest,
|
407 | 409 | int opal_dss_unpack_status(opal_buffer_t *buffer, void *dest,
|
408 | 410 | int32_t *num_vals, opal_data_type_t type);
|
409 | 411 |
|
| 412 | +int opal_dss_unpack_envar(opal_buffer_t *buffer, void *dest, |
| 413 | + int32_t *num_vals, opal_data_type_t type); |
| 414 | + |
410 | 415 | /*
|
411 | 416 | * Internal copy functions
|
412 | 417 | */
|
@@ -438,6 +443,8 @@ int opal_dss_copy_jobid(opal_jobid_t **dest, opal_jobid_t *src, opal_data_type_t
|
438 | 443 |
|
439 | 444 | int opal_dss_copy_vpid(opal_vpid_t **dest, opal_vpid_t *src, opal_data_type_t type);
|
440 | 445 |
|
| 446 | +int opal_dss_copy_envar(opal_envar_t **dest, opal_envar_t *src, opal_data_type_t type); |
| 447 | + |
441 | 448 |
|
442 | 449 | /*
|
443 | 450 | * Internal compare functions
|
@@ -503,6 +510,7 @@ int opal_dss_compare_jobid(opal_jobid_t *value1,
|
503 | 510 | opal_data_type_t type);
|
504 | 511 |
|
505 | 512 | int opal_dss_compare_status(int *value1, int *value2, opal_data_type_t type);
|
| 513 | +int opal_dss_compare_envar(opal_envar_t *value1, opal_envar_t *value2, opal_data_type_t type); |
506 | 514 |
|
507 | 515 | /*
|
508 | 516 | * Internal print functions
|
@@ -544,6 +552,8 @@ int opal_dss_print_name(char **output, char *prefix, opal_process_name_t *name,
|
544 | 552 | int opal_dss_print_jobid(char **output, char *prefix, opal_process_name_t *src, opal_data_type_t type);
|
545 | 553 | int opal_dss_print_vpid(char **output, char *prefix, opal_process_name_t *src, opal_data_type_t type);
|
546 | 554 | int opal_dss_print_status(char **output, char *prefix, int *src, opal_data_type_t type);
|
| 555 | +int opal_dss_print_envar(char **output, char *prefix, |
| 556 | + opal_envar_t *src, opal_data_type_t type); |
547 | 557 |
|
548 | 558 |
|
549 | 559 | /*
|
|
0 commit comments