Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

xenstore.h 932B

1234567891011121314151617181920212223242526272829
  1. #ifndef _IPXE_XENSTORE_H
  2. #define _IPXE_XENSTORE_H
  3. /** @file
  4. *
  5. * XenStore interface
  6. *
  7. */
  8. FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
  9. #include <ipxe/xen.h>
  10. extern __attribute__ (( sentinel )) int
  11. xenstore_read ( struct xen_hypervisor *xen, char **value, ... );
  12. extern __attribute__ (( sentinel )) int
  13. xenstore_read_num ( struct xen_hypervisor *xen, unsigned long *num, ... );
  14. extern __attribute__ (( sentinel )) int
  15. xenstore_write ( struct xen_hypervisor *xen, const char *value, ... );
  16. extern __attribute__ (( sentinel )) int
  17. xenstore_write_num ( struct xen_hypervisor *xen, unsigned long num, ... );
  18. extern __attribute__ (( sentinel )) int
  19. xenstore_rm ( struct xen_hypervisor *xen, ... );
  20. extern __attribute__ (( sentinel )) int
  21. xenstore_directory ( struct xen_hypervisor *xen, char **children, size_t *len,
  22. ... );
  23. extern void xenstore_dump ( struct xen_hypervisor *xen, const char *key );
  24. #endif /* _IPXE_XENSTORE_H */