summaryrefslogtreecommitdiffstats
path: root/src/compressor/brotli/CompressionPluginBrotli.cc
blob: 245f49dbbeb293335c04d323c4f97b7faf5ab010 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "acconfig.h"
#include "ceph_ver.h"
#include "CompressionPluginBrotli.h"
#include "common/ceph_context.h"


const char *__ceph_plugin_version()
{
  return CEPH_GIT_NICE_VER;
}

int __ceph_plugin_init(CephContext *cct,
                       const std::string& type,
                       const std::string& name)
{
  PluginRegistry *instance = cct->get_plugin_registry();
  return instance->add(type, name, new CompressionPluginBrotli(cct));
}