Skip to content

Commit

Permalink
Merge pull request ofiwg#3230 from sayantansur/no-cq
Browse files Browse the repository at this point in the history
add a few more fi_no_cq function prototypes
  • Loading branch information
shefty authored Aug 23, 2017
2 parents 74571f2 + fb7a9ec commit 00ab461
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions include/fi_enosys.h
Original file line number Diff line number Diff line change
Expand Up @@ -323,22 +323,27 @@ ssize_t fi_no_eq_sread(struct fid_eq *eq, uint32_t *event,
/*
static struct fi_ops_cq X = {
.size = sizeof(struct fi_ops_cq),
.read = X,
.read = fi_no_cq_read,
.readfrom = fi_no_cq_readfrom,
.readerr = X,
.readerr = fi_no_cq_readerr,
.sread = fi_no_cq_sread,
.sreadfrom = fi_no_cq_sreadfrom,
.signal = fi_no_cq_signal,
.strerror = X,
.strerror = fi_no_cq_strerror,
};
*/
ssize_t fi_no_cq_read(struct fid_cq *cq, void *buf, size_t count);
ssize_t fi_no_cq_readfrom(struct fid_cq *cq, void *buf, size_t count,
fi_addr_t *src_addr);
ssize_t fi_no_cq_readerr(struct fid_cq *cq, struct fi_cq_err_entry *buf,
uint64_t flags);
ssize_t fi_no_cq_sread(struct fid_cq *cq, void *buf, size_t count,
const void *cond, int timeout);
ssize_t fi_no_cq_sreadfrom(struct fid_cq *cq, void *buf, size_t count,
fi_addr_t *src_addr, const void *cond, int timeout);
int fi_no_cq_signal(struct fid_cq *cq);
const char * fi_no_cq_strerror(struct fid_cq *cq, int prov_errno,
const void *err_data, char *buf, size_t len);

/*
static struct fi_ops_cntr X = {
Expand Down

0 comments on commit 00ab461

Please sign in to comment.