# HG changeset patch # User David Scott # Date 1257373329 0 # Node ID 02fe2ca1d1f4e02b0921164299ff9e996c90413b # Parent 55113722d48c9029add5ca584f400836a4088896 Add a trivial interface hiding the implementation of the redo_log_alert module. Signed-off-by: David Scott diff -r 55113722d48c -r 02fe2ca1d1f4 ocaml/xapi/redo_log_alert.mli --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ocaml/xapi/redo_log_alert.mli Wed Nov 04 22:22:09 2009 +0000 @@ -0,0 +1,17 @@ +(* + * Copyright (C) 2009 Citrix Systems Inc. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published + * by the Free Software Foundation; version 2.1 only. with the special + * exception on linking described in file LICENSE. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + *) + +(** Runs forever waiting for the redo log's status to change i.e. for + it to fail or to recover, generating alerts on transitions.*) +val loop: unit -> unit