1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 #ifndef PMIX_PTL_USOCK_H
21 #define PMIX_PTL_USOCK_H
22
23 #include "src/mca/ptl/ptl.h"
24
25 BEGIN_C_DECLS
26
27 typedef struct {
28 pmix_ptl_base_component_t super;
29 char *tmpdir;
30 struct sockaddr_storage connection;
31 char *filename;
32 } pmix_ptl_usock_component_t;
33
34
35 typedef struct {
36 int pindex;
37 uint32_t tag;
38 size_t nbytes;
39 } pmix_usock_hdr_t;
40
41 extern pmix_ptl_usock_component_t mca_ptl_usock_component;
42
43 extern pmix_ptl_module_t pmix_ptl_usock_module;
44
45 void pmix_usock_send_handler(int sd, short args, void *cbdata);
46
47 void pmix_usock_recv_handler(int sd, short args, void *cbdata);
48
49 END_C_DECLS
50
51 #endif