See http://varlink.org for more information about varlink.
Varlink C library and command line tool.
Examples: