Menu

Tree [398fba] default tip /
 History

Read Only access


File Date Author Commit
 debian 2014-03-06 andrew@localhost andrew@localhost [398fba] Added Debian packaging
 COPYING 2012-09-04 andrew@localhost andrew@localhost [ba1461] initial implementation of XenStore binding for ...
 README 2012-09-04 andrew@localhost andrew@localhost [ba1461] initial implementation of XenStore binding for ...
 extconf.rb 2012-09-04 andrew@localhost andrew@localhost [ba1461] initial implementation of XenStore binding for ...
 xenstore.c 2012-09-04 andrew@localhost andrew@localhost [ba1461] initial implementation of XenStore binding for ...

Read Me

This is a Ruby binding for XenStore. All of the functionality is implemented in
the XenStore::XenStore class. The constructor takes an argment specifying the
connection type.

Supported connection types:
XenStore::XS_DOM0        Dom0
XenStore::XS_DOM0_RO	 Dom0 read-only
XenStore::XS_DOMU        DomU

Supported methods:

(these are basically equivalent to the corresponding C functions, except
that explicit string lengths aren't used)
directory
read
write
mkdir
rm
watch
unwatch
read_watch     (returns a [path, token] array)

(these are not quite direct equivalents)
get_watch_file (equivalent to xs_fileno; returns an IO object that can be
               watched by an event loop; this object should not be read or
               written)