librados_la_CXXFLAGS = ${AM_CXXFLAGS}
lib_LTLIBRARIES += librados.la
-testrados_SOURCES = testrados.cc
+testrados_SOURCES = testrados.c
testrados_LDADD = librados.la libcrush.la
#include <netinet/in.h>
#include <linux/types.h>
#include <string.h>
+#include <stdbool.h>
#include "include/msgr.h"
#include "include/rados.h"
void rados_deinitialize();
/* read/write objects */
-int rados_write(ceph_object *oid, const char *buf, off_t off, size_t len);
-int rados_read(ceph_object *oid, char *buf, off_t off, size_t len);
+int rados_write(struct ceph_object *oid, const char *buf, off_t off, size_t len);
+int rados_read(struct ceph_object *oid, char *buf, off_t off, size_t len);
#ifdef __cplusplus
}