~pmdj/ubuntu/trusty/qemu/2.9+applesmc+fadtv3

« back to all changes in this revision

Viewing changes to roms/ipxe/src/include/ipxe/xenstore.h

  • Committer: Phil Dennis-Jordan
  • Date: 2017-07-21 08:03:43 UTC
  • mfrom: (1.1.1)
  • Revision ID: phil@philjordan.eu-20170721080343-2yr2vdj7713czahv
New upstream release 2.9.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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_OR_UBDL );
 
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 */