photon  1.1
photon_wc.h
Go to the documentation of this file.
1 // =============================================================================
2 // Photon RDMA Library (libphoton)
3 //
4 // Copyright (c) 2017, Trustees of Indiana University,
5 // All rights reserved.
6 //
7 // This software may be modified and distributed under the terms of the BSD
8 // license. See the COPYING file for details.
9 //
10 // This software was created at the Indiana University Center for Research in
11 // Extreme Scale Technologies (CREST).
12 // =============================================================================
13 
14 #ifndef PHOTON_WC_H
15 #define PHOTON_WC_H
16 
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20 
59 
61 
90 int photon_put_with_completion(int proc, uint64_t size, photonBuffer lbuf, photonBuffer rbuf,
91  photon_cid local, photon_cid remote, int flags);
92 
118 int photon_get_with_completion(int proc, uint64_t size, photonBuffer lbuf, photonBuffer rbuf,
119  photon_cid local, photon_cid remote, int flags);
120 
148 int photon_probe_completion(int proc, int *flag, int *remaining, photon_cid *comp, int *src,
149  void (*cb)(photon_cid), int flags);
150 
152 
153 #ifdef __cplusplus
154 }
155 #endif
156 
157 #endif
The Photon completion ID used by the PWC API.
Definition: photon.h:78
int photon_probe_completion(int proc, int *flag, int *remaining, photon_cid *comp, int *src, void(*cb)(photon_cid), int flags)
Definition: libphoton.c:533
int photon_get_with_completion(int proc, uint64_t size, photonBuffer lbuf, photonBuffer rbuf, photon_cid local, photon_cid remote, int flags)
Definition: libphoton.c:526
int photon_put_with_completion(int proc, uint64_t size, photonBuffer lbuf, photonBuffer rbuf, photon_cid local, photon_cid remote, int flags)
Definition: libphoton.c:519