projects
/
metaproxy-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
New WRBUF wrapper mp::wrbuf
[metaproxy-moved-to-github.git]
/
include
/
metaproxy
/
util.hpp
diff --git
a/include/metaproxy/util.hpp
b/include/metaproxy/util.hpp
index
e13027f
..
ea43910
100644
(file)
--- a/
include/metaproxy/util.hpp
+++ b/
include/metaproxy/util.hpp
@@
-152,6
+152,18
@@
namespace metaproxy_1 {
ODR m_odr;
};
+ class wrbuf : public boost::noncopyable
+ {
+ public:
+ wrbuf();
+ ~wrbuf();
+ operator WRBUF() const;
+ size_t len();
+ const char *buf();
+ private:
+ WRBUF m_wrbuf;
+ };
+
class PlainFile {
class Rep;
boost::scoped_ptr<Rep> m_p;