From bfedc0a7e4e172315180b8b1818624086276f3d2 Mon Sep 17 00:00:00 2001 From: djfiander Date: Tue, 21 Mar 2006 01:00:30 +0000 Subject: [PATCH] Define subs that provide status information necessary for handle_acs_status() --- ILS.pm | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/ILS.pm b/ILS.pm index d97569a..db581e9 100644 --- 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 -- 2.11.0