*
*/
typedef int (*cls_method_cxx_call_t)(cls_method_context_t ctx,
- class buffer::list *inbl, class buffer::list *outbl);
+ class ceph::buffer::list *inbl, class ceph::buffer::list *outbl);
/**
* Register a method.
* @param len
* @param bl
*/
-extern int cls_cxx_read(cls_method_context_t hctx, int ofs, int len, bufferlist *bl);
+extern int cls_cxx_read(cls_method_context_t hctx, int ofs, int len, ceph::bufferlist *bl);
/**
* Write to the object.
* @param len
* @param bl
*/
-extern int cls_cxx_write(cls_method_context_t hctx, int ofs, int len, bufferlist *bl);
+extern int cls_cxx_write(cls_method_context_t hctx, int ofs, int len, ceph::bufferlist *bl);
/**
* Get xattr of the object.
* @param outbl
*/
extern int cls_cxx_getxattr(cls_method_context_t hctx, const char *name,
- bufferlist *outbl);
+ ceph::bufferlist *outbl);
/**
* Set xattr of the object.
* @param inbl
*/
extern int cls_cxx_setxattr(cls_method_context_t hctx, const char *name,
- bufferlist *inbl);
+ ceph::bufferlist *inbl);
/**
* Get value corresponding to a key from the map.
* @param outbl
*/
extern int cls_cxx_map_get_val(cls_method_context_t hctx,
- const std::string &key, bufferlist *outbl);
+ const std::string &key, ceph::bufferlist *outbl);
/**
* Set value corresponding to a key in the map.
* @param inbl
*/
extern int cls_cxx_map_set_val(cls_method_context_t hctx,
- const std::string &key, bufferlist *inbl);
+ const std::string &key, ceph::bufferlist *inbl);
#endif