Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-02-22 10:47:20

0001 /*
0002  * Copyright (c) 2015-2020 Intel, Inc.  All rights reserved.
0003  * Copyright (c) 2021-2023 Nanook Consulting.  All rights reserved.
0004  * $COPYRIGHT$
0005  *
0006  * Additional copyrights may follow
0007  *
0008  * $HEADER$
0009  */
0010 
0011 #ifndef PMIX_CLIENT_OPS_H
0012 #define PMIX_CLIENT_OPS_H
0013 
0014 #include "src/include/pmix_config.h"
0015 
0016 #include "src/class/pmix_list.h"
0017 #include "src/class/pmix_pointer_array.h"
0018 #include "src/common/pmix_iof.h"
0019 #include "src/include/pmix_globals.h"
0020 #include "src/threads/pmix_threads.h"
0021 
0022 BEGIN_C_DECLS
0023 
0024 typedef struct {
0025     pmix_peer_t *myserver;        // messaging support to/from my server
0026     bool singleton;               // no server
0027     pmix_list_t pending_requests; // list of pmix_cb_t pending data requests
0028     pmix_pointer_array_t peers;   // array of pmix_peer_t cached for data ops
0029     pmix_list_t groups;           // list of groups this client is part of
0030     // verbosity for client get operations
0031     int get_output;
0032     int get_verbose;
0033     // verbosity for client connect operations
0034     int connect_output;
0035     int connect_verbose;
0036     // verbosity for client fence operations
0037     int fence_output;
0038     int fence_verbose;
0039     // verbosity for client pub operations
0040     int pub_output;
0041     int pub_verbose;
0042     // verbosity for client spawn operations
0043     int spawn_output;
0044     int spawn_verbose;
0045     // verbosity for client event operations
0046     int event_output;
0047     int event_verbose;
0048     // verbosity for client iof operations
0049     int iof_output;
0050     int iof_verbose;
0051     // verbosity for basic client functions
0052     int base_output;
0053     int base_verbose;
0054     /* IOF output sinks */
0055     pmix_iof_sink_t iof_stdout;
0056     pmix_iof_sink_t iof_stderr;
0057 } pmix_client_globals_t;
0058 
0059 PMIX_EXPORT extern pmix_client_globals_t pmix_client_globals;
0060 
0061 PMIX_EXPORT void pmix_parse_localquery(int sd, short args, void *cbdata);
0062 
0063 PMIX_EXPORT pmix_status_t pmix_client_convert_group_procs(const pmix_proc_t *inprocs, size_t insize,
0064                                                           pmix_proc_t **outprocs, size_t *outsize);
0065 
0066 END_C_DECLS
0067 
0068 #endif /* PMIX_CLIENT_OPS_H */