Browse Source

[master] Merged trac3857 (#3763 DSO in doc)

Francis Dupont 9 years ago
parent
commit
f54decb006
2 changed files with 9 additions and 8 deletions
  1. 3 2
      src/lib/hooks/hooks_component_developer.dox
  2. 6 6
      src/lib/hooks/hooks_user.dox

+ 3 - 2
src/lib/hooks/hooks_component_developer.dox

@@ -1,4 +1,4 @@
-// Copyright (C) 2013  Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2013, 2015  Internet Systems Consortium, Inc. ("ISC")
 //
 //
 // Permission to use, copy, modify, and/or distribute this software for any
 // Permission to use, copy, modify, and/or distribute this software for any
 // purpose with or without fee is hereby granted, provided that the above
 // purpose with or without fee is hereby granted, provided that the above
@@ -20,7 +20,8 @@
 The hooks framework is a Kea system that simplifies the way that
 The hooks framework is a Kea system that simplifies the way that
 users can write code to modify the behavior of Kea.  Instead of
 users can write code to modify the behavior of Kea.  Instead of
 altering the Kea source code, they write functions that are compiled
 altering the Kea source code, they write functions that are compiled
-and linked into a shared library.  The library is specified in the Kea
+and linked into one or more dynamic shared objects, called here (for
+historical reasons), shared libraries.  The library is specified in the Kea
 configuration and at run time Kea dynamically loads the library
 configuration and at run time Kea dynamically loads the library
 into its address space.  At various points in the processing, the component
 into its address space.  At various points in the processing, the component
 "calls out" to functions in the library, passing to them the data is it
 "calls out" to functions in the library, passing to them the data is it

+ 6 - 6
src/lib/hooks/hooks_user.dox

@@ -50,12 +50,12 @@ to as "user code".)  At specific points in its processing
 data that the user code can examine and, if required, modify.
 data that the user code can examine and, if required, modify.
 Kea uses the modified data in the remainder of its processing.
 Kea uses the modified data in the remainder of its processing.
 
 
-In order to minimize the interaction between Kea and the user
-code, the latter is built independently of Kea in the form of
-a shared library (or libraries).  These are made known to Kea
-through its configuration mechanism, and Kea loads the library at
-run time. Libraries can be unloaded and reloaded as needed while Kea
-is running.
+In order to minimize the interaction between Kea and the user code,
+the latter is built independently of Kea in the form of one or more
+dynamic shared objects, called here (for historical reasons), shared
+libraries.  These are made known to Kea through its configuration
+mechanism, and Kea loads the library at run time. Libraries can be
+unloaded and reloaded as needed while Kea is running.
 
 
 Use of a defined API and the Kea configuration mechanism means that
 Use of a defined API and the Kea configuration mechanism means that
 as new versions of Kea are released, there is no need to modify
 as new versions of Kea are released, there is no need to modify