undo silly templates.pot automated updating, and restore file from -3 package
[debian/amanda] / docs / eventapi.txt
index 0b5e0c96945afb195348bc3542206474d92c3e0a..51c899261431a56c7fbb8d90879c319bae7ee117 100644 (file)
@@ -1,10 +1,10 @@
 
-         Chapter 23. AMANDA Event API
+         Chapter 25. Amanda Event API
 Prev  Part V. Technical Background  Next
 
 -------------------------------------------------------------------------------
 
-Chapter 23. AMANDA Event API
+Chapter 25. Amanda Event API
 
 
 Mike Grupenhoff
@@ -32,6 +32,8 @@ Table of Contents
 
         event_loop
 
+        event_wait
+
         event_wakeup
 
 
@@ -62,11 +64,6 @@ Table of Contents
 
 
 
-Note
-
-Refer to http://www.amanda.org/docs/eventapi.html for the current version of
-this document.
-
  Introduction
 
 This is a document of the API for the event handler. The purpose of the event
@@ -101,6 +98,12 @@ until all events have been released. If the argument is nonzero, this will do
 one pass over all pending events, and fire the ones that are immediately ready,
 and then return.
 
+ event_wait
+
+void event_wait(event_id_t id);
+Like event_loop(0), except that it will stop as soon as the event id is
+serviced.
+
  event_wakeup
 
 int event_wakeup(event_id_t id);
@@ -160,8 +163,13 @@ passed to event_register between each interval.
 
 This type of event will fire when someone calls event_wakeup() with the numeric
 argument equal to the argument this event was registered with.
+
+Note
+
+Refer to http://www.amanda.org/docs/eventapi.html for the current version of
+this document.
 -------------------------------------------------------------------------------
 
 Prev                           Up                              Next
-Chapter 22. AMANDA Internals  Home  Chapter 24. AMANDA Security API
+Chapter 24. Amanda Internals  Home  Chapter 26. Amanda Security API