summaryrefslogtreecommitdiffstats
path: root/src/rgw/services/svc_sync_modules.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/rgw/services/svc_sync_modules.cc')
-rw-r--r--src/rgw/services/svc_sync_modules.cc15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/rgw/services/svc_sync_modules.cc b/src/rgw/services/svc_sync_modules.cc
new file mode 100644
index 00000000..ca6a7a30
--- /dev/null
+++ b/src/rgw/services/svc_sync_modules.cc
@@ -0,0 +1,15 @@
+#include "svc_sync_modules.h"
+
+#include "rgw/rgw_sync_module.h"
+
+void RGWSI_SyncModules::init()
+{
+ sync_modules_manager = new RGWSyncModulesManager();
+ rgw_register_sync_modules(sync_modules_manager);
+}
+
+RGWSI_SyncModules::~RGWSI_SyncModules()
+{
+ delete sync_modules_manager;
+}
+