BIND 10 trac1186, updated. 146afbdc9134164fa918b5e53aa261d0c0608b0c [1186] Added missing libdhcp.cc|h files.
BIND 10 source code commits
bind10-changes at lists.isc.org
Fri Aug 19 16:52:36 UTC 2011
The branch, trac1186 has been updated
via 146afbdc9134164fa918b5e53aa261d0c0608b0c (commit)
from 86a29a9996bc5a2e4bf78993778c65e7aeb9143a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 146afbdc9134164fa918b5e53aa261d0c0608b0c
Author: Tomek Mrugalski <tomasz at isc.org>
Date: Fri Aug 19 18:51:50 2011 +0200
[1186] Added missing libdhcp.cc|h files.
-----------------------------------------------------------------------
Summary of changes:
src/lib/{datasrc/logger.cc => dhcp/libdhcp.cc} | 10 ++++------
src/lib/{datasrc/logger.cc => dhcp/libdhcp.h} | 17 ++++++++++++++---
2 files changed, 18 insertions(+), 9 deletions(-)
copy src/lib/{datasrc/logger.cc => dhcp/libdhcp.cc} (88%)
copy src/lib/{datasrc/logger.cc => dhcp/libdhcp.h} (84%)
-----------------------------------------------------------------------
diff --git a/src/lib/dhcp/libdhcp.cc b/src/lib/dhcp/libdhcp.cc
new file mode 100644
index 0000000..c7af264
--- /dev/null
+++ b/src/lib/dhcp/libdhcp.cc
@@ -0,0 +1,21 @@
+// Copyright (C) 2011 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.
+
+#include "dhcp/libdhcp.h"
+
+using namespace isc::dhcp;
+
+std::string LibDHCP::version() {
+ return "0";
+}
diff --git a/src/lib/dhcp/libdhcp.h b/src/lib/dhcp/libdhcp.h
new file mode 100644
index 0000000..4b0b35f
--- /dev/null
+++ b/src/lib/dhcp/libdhcp.h
@@ -0,0 +1,34 @@
+// Copyright (C) 2011 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.
+
+#ifndef LIBDHCP_H_
+#define LIBDHCP_H_
+
+#include <iostream>
+
+namespace isc {
+namespace dhcp {
+
+class LibDHCP {
+
+public:
+ static std::string version();
+
+
+};
+
+}
+}
+
+#endif
More information about the bind10-changes
mailing list