Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 7c62863b04
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (22 sloc) 0.906 kB
(*
* Copyright (C) 2006-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.
*)
open Xal
let domain ty ctx domid =
Printf.printf "%d: %s\n" domid ty; flush stdout
let device ctx domid dev_event =
Printf.printf "%d: %s\n" domid (string_of_dev_event dev_event); flush stdout
let _ =
Arg.parse [] (fun x -> print_endline ("Ignoring: " ^ x))
"XAL test program";
loop ~callback_devices:device ()
Jump to Line
Something went wrong with that request. Please try again.