From a6a72d76245d02946805093e500dde19f4d1da9c Mon Sep 17 00:00:00 2001
From: Jan Soukal <soukal@ics.muni.cz>
Date: Tue, 7 Feb 2012 10:03:19 +0100
Subject: [PATCH] doplneny navratove hodnoty fce SaveNewEvent do sekce
 Arguments and calls.

---
 src/warden-client/doc/README | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/warden-client/doc/README b/src/warden-client/doc/README
index 83e01f7..894c7e6 100644
--- a/src/warden-client/doc/README
+++ b/src/warden-client/doc/README
@@ -325,7 +325,7 @@ I. Functions, Arguments and Calls
     
     @event = ($service, $detected, $type, $source_type, $source, $target_proto,
               $target_port, $attack_scale, $note, $priority, $timeout );
-              
+
     Event array attributes with example value and explanation on the right
     (Perl):
 
@@ -394,6 +394,10 @@ I. Functions, Arguments and Calls
     # considered timeouted.
     $timeout      = "20";
 
+    The return value of function SaveNewEvent is 1 when an event was
+    successfully received by the Warden server. Otherwise, the return value
+    is 0.
+
  2.  WardenClientReceive::getNewEvents
 
     A function to download batch of events from the Warden server. Received
-- 
GitLab