]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[3113_test] Minor fixes before passing for review
authorStephen Morris <stephen@isc.org>
Tue, 10 Sep 2013 11:19:03 +0000 (12:19 +0100)
committerStephen Morris <stephen@isc.org>
Tue, 10 Sep 2013 11:19:03 +0000 (12:19 +0100)
src/lib/hooks/hooks_user.dox
src/lib/hooks/tests/Makefile.am

index 8d5e7e748a8c970b06d2bf983ecf5237d6b10be4..9c568618e9381703b2e3f709ddf50bfdbfddbe05 100644 (file)
@@ -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
-@ref hookdgStaticallyLinkedBind10.
+@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>
index 36fa79feb99c7887477b9132b825d3b45b238011..e8dd4de015c8157d17c11b27c587eb59d9ddd21b 100644 (file)
@@ -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