2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-09-06 00:45:23 +00:00

mostly complete name class implementation. still need some more work to be

review-able, but committed for share.


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsmessageapi@354 e5f2f494-b856-4b98-b285-d166d9295462
This commit is contained in:
JINMEI Tatuya
2009-12-10 23:03:29 +00:00
parent c0f55021fe
commit a80c0f870a
24 changed files with 1631 additions and 324 deletions

View File

@@ -0,0 +1,41 @@
// Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
//
// Permission to use, copy, modify, and/or distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
// copyright notice and this permission notice appear in all copies.
//
// THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
// REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
// AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
// INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
// LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
// OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
// PERFORMANCE OF THIS SOFTWARE.
// $Id$
#ifndef __MESSAGERENDERER_H
#define __MESSAGERENDERER_H 1
namespace isc {
namespace dns {
// forward declarations
class OutputBuffer;
class Name;
class MessageRendererImpl;
class MessageRenderer {
public:
MessageRenderer(OutputBuffer& buffer);
~MessageRenderer();
void writeName(const Name& name, bool compress = true);
private:
MessageRendererImpl* impl_;
};
}
}
#endif // __MESSAGERENDERER_H
// Local Variables:
// mode: c++
// End: