]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
librados: preprocessor define to determine if service management supported
authorJason Dillaman <dillaman@redhat.com>
Mon, 10 Jul 2017 17:12:59 +0000 (13:12 -0400)
committerJason Dillaman <dillaman@redhat.com>
Tue, 18 Jul 2017 14:28:13 +0000 (10:28 -0400)
This will be needed for out-of-tree applications like tcmu-runner.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/include/rados/librados.h

index 544c2dbca393c035928e24b56d1fb028d9b0b5be..6b6f43882f75b43b0ed31f7ea1d8186dfce52465 100644 (file)
@@ -48,6 +48,7 @@ extern "C" {
 #define LIBRADOS_VERSION_CODE LIBRADOS_VERSION(LIBRADOS_VER_MAJOR, LIBRADOS_VER_MINOR, LIBRADOS_VER_EXTRA)
 
 #define LIBRADOS_SUPPORTS_WATCH 1
+#define LIBRADOS_SUPPORTS_SERVICES 1
 
 /* RADOS lock flags
  * They are also defined in cls_lock_types.h. Keep them in sync!