]> git.proxmox.com Git - ceph.git/blob - ceph/src/include/rados/librgw.h
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / include / rados / librgw.h
1 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
2 // vim: ts=8 sw=2 smarttab
3 /*
4 * Ceph - scalable distributed file system
5 *
6 * Copyright (C) 2011 New Dream Network
7 *
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.
12 *
13 */
14 #ifndef CEPH_LIBRGW_H
15 #define CEPH_LIBRGW_H
16
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20
21 #define LIBRGW_VER_MAJOR 1
22 #define LIBRGW_VER_MINOR 1
23 #define LIBRGW_VER_EXTRA 0
24
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)
27
28 typedef void* librgw_t;
29 int librgw_create(librgw_t *rgw, int argc, char **argv);
30 void librgw_shutdown(librgw_t rgw);
31
32 #ifdef __cplusplus
33 }
34 #endif
35
36 #endif /* CEPH_LIBRGW_H */