[svn] commit: r1513 - in /trunk/src/lib/config: Makefile.am TODO ccsession.cc ccsession.h
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu Mar 18 16:00:28 UTC 2010
Author: jelte
Date: Thu Mar 18 16:00:28 2010
New Revision: 1513
Log:
added -Wno-strict-aliasing to hide warning about boost::bind(function) warning
added a TODO for the open issues in ticket 43
updated doxygen for getSocket()
Added:
trunk/src/lib/config/TODO
Modified:
trunk/src/lib/config/Makefile.am
trunk/src/lib/config/ccsession.cc
trunk/src/lib/config/ccsession.h
Modified: trunk/src/lib/config/Makefile.am
==============================================================================
--- trunk/src/lib/config/Makefile.am (original)
+++ trunk/src/lib/config/Makefile.am Thu Mar 18 16:00:28 2010
@@ -1,4 +1,4 @@
-AM_CPPFLAGS = -I$(top_srcdir)/src/lib -I$(top_builddir)/src/lib
+AM_CPPFLAGS = -I$(top_srcdir)/src/lib -I$(top_builddir)/src/lib -Wno-strict-aliasing
AM_CPPFLAGS += -I$(top_srcdir)/ext
lib_LTLIBRARIES = libcfgclient.la
Modified: trunk/src/lib/config/ccsession.cc
==============================================================================
(empty)
Modified: trunk/src/lib/config/ccsession.h
==============================================================================
--- trunk/src/lib/config/ccsession.h (original)
+++ trunk/src/lib/config/ccsession.h Thu Mar 18 16:00:28 2010
@@ -137,6 +137,16 @@
isc::data::ElementPtr(*config_handler)(isc::data::ElementPtr new_config) = NULL,
isc::data::ElementPtr(*command_handler)(const std::string& command, const isc::data::ElementPtr args) = NULL
) throw (isc::cc::SessionError);
+
+ /**
+ * Returns the socket that is used to communicate with the msgq
+ * command channel. This socket should *only* be used to run a
+ * select() loop over it. And if not time-critical, it is strongly
+ * recommended to only use checkCommand() to check for messages
+ *
+ * @return The socket used to communicate with the msgq command
+ * channel.
+ */
int getSocket();
/**
More information about the bind10-changes
mailing list