server: watching and unwatching paths are considered side-effects

The core adds them to the side-effects list and they are executed
within the Lwt context at the top.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Watchevent messages should have type Protocol.Name.t * string

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
server: try to consistently use (Name.t, string) to represent watches

This applies to both watch events and watch registrations.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Remove dead code

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Remove dead code

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Remove dead code

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Remove dead code

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Remove dead code

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Inline trivial function

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Inline trivial function

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Remove commented-out code

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Remove dead code

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Correct some documentation in pMap.mli

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
server: add a persistent Set implementation

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Update OASIS, regenerate

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
server: persist watch registrations

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Remove unnecessary introspection code

Both the watch event queue and the watch registrations are now
permanently stored in the database, and hence visible to
'xenstore-ls'

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Merge pull request #30 from djs55/irminsule

Persist watch registrations