]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
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) 2014 Sebastien Ponce <sebastien.ponce@cern.ch> | |
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 | ||
15 | #ifndef CEPH_LIBRADOS_XATTRITER_H | |
16 | #define CEPH_LIBRADOS_XATTRITER_H | |
17 | ||
18 | #include <string> | |
19 | #include <map> | |
20 | ||
31f18b77 | 21 | #include "include/buffer.h" // for bufferlist |
7c673cae FG |
22 | |
23 | namespace librados { | |
24 | ||
25 | /** | |
26 | * iterator object used in implementation of the extrenal | |
27 | * attributes part of the C interface of librados | |
28 | */ | |
29 | struct RadosXattrsIter { | |
30 | RadosXattrsIter(); | |
31 | ~RadosXattrsIter(); | |
32 | std::map<std::string, bufferlist> attrset; | |
33 | std::map<std::string, bufferlist>::iterator i; | |
34 | char *val; | |
35 | }; | |
36 | }; | |
37 | ||
38 | #endif |