1 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
2 // vim: ts=8 sw=2 smarttab
4 * Ceph - scalable distributed file system
6 * Copyright (C) 2011 New Dream Network
8 * This is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License version 2.1, as published by the Free Software
11 * Foundation. See file COPYING.
21 #define LIBRGW_VER_MAJOR 1
22 #define LIBRGW_VER_MINOR 1
23 #define LIBRGW_VER_EXTRA 0
25 #define LIBRGW_VERSION(maj, min, extra) ((maj << 16) + (min << 8) + extra)
26 #define LIBRGW_VERSION_CODE LIBRGW_VERSION(LIBRGW_VER_MAJOR, LIBRGW_VER_MINOR, LIBRGW_VER_EXTRA)
28 typedef void* librgw_t;
29 int librgw_create(librgw_t *rgw, int argc, char **argv);
30 void librgw_shutdown(librgw_t rgw);
36 #endif /* CEPH_LIBRGW_H */