]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librados: add individual op flags for c write operations
authorJosh Durgin <josh.durgin@inktank.com>
Fri, 7 Feb 2014 03:19:51 +0000 (19:19 -0800)
committerJosh Durgin <josh.durgin@inktank.com>
Tue, 18 Feb 2014 20:34:32 +0000 (12:34 -0800)
commitbc03fbb40906b86a5bff844d1ab234ae48dbe89c
treeaf6a18907b80a964a7ddaa2c3e072db56bf6cc33
parent4f4121ae1989cb1ff99d8343493eeeefaeabb013
librados: add individual op flags for c write operations

Move flag validation to a static function so it can be shared with the
c++ api. Refer to the new C constants from the c++ api so that it's
easy to keep them in sync.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
src/include/rados/librados.h
src/include/rados/librados.hpp
src/librados/librados.cc