Project

General

Profile

0002-librbd-Use-the-correct-namespace-for-string-and-buff.patch

Wido den Hollander, 02/03/2011 05:52 AM

Download (1.59 KB)

View differences:

src/include/librbd.hpp
66 66
  int open_pool(const char *pool_name, pool_t *pool);
67 67
  int close_pool(pool_t pool);
68 68

  
69
  int list(pool_t pool, std::vector<string>& names);
69
  int list(pool_t pool, std::vector<std::string>& names);
70 70
  int create(pool_t pool, const char *name, size_t size, int *order);
71 71
  int remove(pool_t pool, const char *name);
72 72
  int copy(pool_t src_pool, const char *srcname, pool_t dest_pool, const char *destname);
......
85 85
  int set_snap(image_t image, const char *snap_name);
86 86

  
87 87
  /* I/O */
88
  int read(image_t image, off_t ofs, size_t len, bufferlist& bl);
88
  int read(image_t image, off_t ofs, size_t len, librados::bufferlist& bl);
89 89
  int read_iterate(image_t image, off_t ofs, size_t len,
90 90
                   int (*cb)(off_t, size_t, const char *, void *), void *arg);
91
  int write(image_t image, off_t ofs, size_t len, bufferlist& bl);
91
  int write(image_t image, off_t ofs, size_t len, librados::bufferlist& bl);
92 92

  
93 93
  /* lower level access */
94 94
  void get_rados_pools(pool_t pool, librados::pool_t *md_pool, librados::pool_t *data_pool);
95
-