iPXE
xenstore.h
Go to the documentation of this file.
00001 #ifndef _IPXE_XENSTORE_H
00002 #define _IPXE_XENSTORE_H
00003 
00004 /** @file
00005  *
00006  * XenStore interface
00007  *
00008  */
00009 
00010 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
00011 
00012 #include <ipxe/xen.h>
00013 
00014 extern __attribute__ (( sentinel )) int
00015 xenstore_read ( struct xen_hypervisor *xen, char **value, ... );
00016 extern __attribute__ (( sentinel )) int
00017 xenstore_read_num ( struct xen_hypervisor *xen, unsigned long *num, ... );
00018 extern __attribute__ (( sentinel )) int
00019 xenstore_write ( struct xen_hypervisor *xen, const char *value, ... );
00020 extern __attribute__ (( sentinel )) int
00021 xenstore_write_num ( struct xen_hypervisor *xen, unsigned long num, ... );
00022 extern __attribute__ (( sentinel )) int
00023 xenstore_rm ( struct xen_hypervisor *xen, ... );
00024 extern __attribute__ (( sentinel )) int
00025 xenstore_directory ( struct xen_hypervisor *xen, char **children, size_t *len,
00026                      ... );
00027 extern void xenstore_dump ( struct xen_hypervisor *xen, const char *key );
00028 
00029 #endif /* _IPXE_XENSTORE_H */