BIND 10 trac3113_test, updated. e3454067b2f7f83723befe5728b984e510593d0d [3113_test] Minor fixes before passing for review

BIND 10 source code commits bind10-changes at lists.isc.org
Tue Sep 10 11:19:20 UTC 2013


The branch, trac3113_test has been updated
       via  e3454067b2f7f83723befe5728b984e510593d0d (commit)
      from  d21b3e92d6825acb41512747991b94f145d66199 (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 e3454067b2f7f83723befe5728b984e510593d0d
Author: Stephen Morris <stephen at isc.org>
Date:   Tue Sep 10 12:19:03 2013 +0100

    [3113_test] Minor fixes before passing for review

-----------------------------------------------------------------------

Summary of changes:
 src/lib/hooks/hooks_user.dox    |   18 +++++++++---------
 src/lib/hooks/tests/Makefile.am |    2 +-
 2 files changed, 10 insertions(+), 10 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/hooks/hooks_user.dox b/src/lib/hooks/hooks_user.dox
index 8d5e7e7..9c56861 100644
--- a/src/lib/hooks/hooks_user.dox
+++ b/src/lib/hooks/hooks_user.dox
@@ -551,7 +551,7 @@ int pkt4_send(CalloutHandle& handle) {
     try {
         handle.getContext("hwaddr", hwaddr);
 
-        // getArgument didn't throw so the client is interesting.  Get a pointer
+        // getContext didn't throw so the client is interesting.  Get a pointer
         // to the reply.
         Pkt4Ptr response4_ptr;
         handle.getArgument("response4", response4_ptr);
@@ -592,7 +592,7 @@ Linux system is:
 @code
 g++ -I /usr/include/bind10 -L /usr/lib/bind10/lib -fpic -shared -o example.so \
     load_unload.cc pkt4_receive.cc pkt4_send.cc version.cc \
-    -lb10-dhcp++ -lb10-util -lb10-exceptions
+    -lb10-dhcpsrv -lb10-dhcp++ -lb10-hooks -lb10-log -lb10-util -lb10-exceptions
 @endcode
 
 Notes:
@@ -628,7 +628,7 @@ request is received.
 @note The above assumes that the hooks library will be used with a version of
 BIND 10 that is dynamically-linked.  For information regarding running
 hooks libraries against a statically-linked BIND 10, see
- at ref hookdgStaticallyLinkedBind10.
+ at ref hooksdgStaticallyLinkedBind10.
 
 @section hooksdgAdvancedTopics Advanced Topics
 
@@ -1043,15 +1043,15 @@ If BIND 10 is built with the --enable-static-link switch (set when
 running the "configure" script), no shared BIND 10 libraries are built;
 instead, archive libraries are created and BIND 10 is linked to them.
 If you create a hooks library also linked against these archive libraries,
-wht the library is loaded you end up with two copies of the library code,
+when the library is loaded you end up with two copies of the library code,
 one in BIND 10 and one in your library.
 
 To run successfully, your library needs to perform run-time initialization
-of the BIND 10 libraries against which you have linked (something
-performed by BIND 10 in the case of shared libraries).  To do this,
-call the function isc::hooks::hooksStaticLinkInit() as the first call of
-the load() function in your library. (If your library does not include
-a load() function, you need to add one.) For example:
+of the BIND 10 code in your library (something performed by BIND 10
+in the case of shared libraries).  To do this, call the function
+isc::hooks::hooksStaticLinkInit() as the first statement of the load()
+function. (If your library does not include a load() function, you need
+to add one.) For example:
 
 @code
 #include <hooks/hooks.h>
diff --git a/src/lib/hooks/tests/Makefile.am b/src/lib/hooks/tests/Makefile.am
index 36fa79f..e8dd4de 100644
--- a/src/lib/hooks/tests/Makefile.am
+++ b/src/lib/hooks/tests/Makefile.am
@@ -95,7 +95,7 @@ libfcl_la_SOURCES  = full_callout_library.cc
 libfcl_la_CXXFLAGS = $(AM_CXXFLAGS)
 libfcl_la_CPPFLAGS = $(AM_CPPFLAGS) $(LOG4CPLUS_INCLUDES)
 libfcl_la_LDFLAGS  = -avoid-version -export-dynamic -module
-libfcl_la_LIBADD    = $(AM_LIBADD)
+libfcl_la_LIBADD   = $(AM_LIBADD)
 
 TESTS += run_unittests
 run_unittests_SOURCES  = run_unittests.cc



More information about the bind10-changes mailing list