Add qemu 2.4.0
[kvmfornfv.git] / qemu / roms / ipxe / src / include / ipxe / xenstore.h
1 #ifndef _IPXE_XENSTORE_H
2 #define _IPXE_XENSTORE_H
3
4 /** @file
5  *
6  * XenStore interface
7  *
8  */
9
10 FILE_LICENCE ( GPL2_OR_LATER );
11
12 #include <ipxe/xen.h>
13
14 extern __attribute__ (( sentinel )) int
15 xenstore_read ( struct xen_hypervisor *xen, char **value, ... );
16 extern __attribute__ (( sentinel )) int
17 xenstore_read_num ( struct xen_hypervisor *xen, unsigned long *num, ... );
18 extern __attribute__ (( sentinel )) int
19 xenstore_write ( struct xen_hypervisor *xen, const char *value, ... );
20 extern __attribute__ (( sentinel )) int
21 xenstore_write_num ( struct xen_hypervisor *xen, unsigned long num, ... );
22 extern __attribute__ (( sentinel )) int
23 xenstore_rm ( struct xen_hypervisor *xen, ... );
24 extern __attribute__ (( sentinel )) int
25 xenstore_directory ( struct xen_hypervisor *xen, char **children, size_t *len,
26                      ... );
27 extern void xenstore_dump ( struct xen_hypervisor *xen, const char *key );
28
29 #endif /* _IPXE_XENSTORE_H */