X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Futil.cpp;h=f23c00c5ad2c0c749b2098b65c39bae45408099e;hb=00620b50effe98eed17a78fd8f26f0d9935bdad3;hp=bcf1e69bbc4f9941b3def37c97c9a770ce466b8c;hpb=b893b551f97213efbf6e84732c26a2ddb89bcb9b;p=metaproxy-moved-to-github.git diff --git a/src/util.cpp b/src/util.cpp index bcf1e69..f23c00c 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -1,5 +1,5 @@ /* This file is part of Metaproxy. - Copyright (C) 2005-2013 Index Data + Copyright (C) Index Data Metaproxy is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -727,6 +727,15 @@ const char *mp::wrbuf::buf() return wrbuf_buf(m_wrbuf); } +const char *mp::wrbuf::c_str() +{ + return wrbuf_cstr(m_wrbuf); +} + +const char *mp::wrbuf::c_str_null() +{ + return wrbuf_cstr_null(m_wrbuf); +} /* * Local variables: