Infrastructure to execute RPC calls
authorAgata Murawska <agatamurawska@google.com>
Mon, 20 Aug 2012 15:39:00 +0000 (17:39 +0200)
committerAgata Murawska <agatamurawska@google.com>
Tue, 28 Aug 2012 09:56:30 +0000 (11:56 +0200)
commiteaed5f192343b258ff44b89ddf0b970d4a11915c
tree5995012fc5930992cf14b648c1c6015b9283fdae
parentd4709ccedd47ac0f4a1aa265e091711a574d6df8
Infrastructure to execute RPC calls

Prepare and execute RPC call, prepare result for the call. These
procedures are generic in the sense that they only require the
Call and Result types to be connected.
We use curl library for sending http requests for RPC; as the library's
usage can be disabled, we need to use CPP preprocessor macros for some parts
of the code.

Signed-off-by: Agata Murawska <agatamurawska@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
htools/Ganeti/Rpc.hs