/*
* This file contains definitions imported from the OFED rds header info.h.
* Oracle elects to have and use the contents of info.h under and
* governed by the OpenIB.org BSD license.
*/
/*
*/
#ifndef _RDSV3_INFO_H
#define _RDSV3_INFO_H
struct rdsv3_info_iterator {
char *addr;
unsigned long offset;
};
struct rdsv3_info_lengths {
unsigned int nr;
unsigned int each;
};
struct rdsv3_sock;
/*
* These functions must fill in the fields of @lens to reflect the size
* of the available info source. If the snapshot fits in @len then it
* should be copied using @iter. The caller will deduce if it was copied
* or not by comparing the lengths.
*/
struct rdsv3_info_iterator *iter,
struct rdsv3_info_lengths *lens);
#endif /* _RDSV3_INFO_H */