Define subs that provide status information necessary for
authordjfiander <djfiander>
Tue, 21 Mar 2006 01:00:30 +0000 (01:00 +0000)
committerdjfiander <djfiander>
Tue, 21 Mar 2006 01:00:30 +0000 (01:00 +0000)
handle_acs_status()

ILS.pm

diff --git a/ILS.pm b/ILS.pm
index d97569a..db581e9 100644 (file)
--- a/ILS.pm
+++ b/ILS.pm
@@ -47,6 +47,21 @@ sub supports {
     return exists($supports{$op}) ? $supports{$op} : 0;
 }
 
+sub checkout_ok {
+    return 1;
+}
+
+sub checkin_ok {
+    return 0;
+}
+
+sub status_update_ok {
+    return 1;
+}
+
+sub offline_ok {
+    return 0;
+}
 #
 # Checkout(patron_id, item_id, sc_renew):
 #    patron_id & item_id are the identifiers send by the terminal