iPXE
Data Structures | Macros | Typedefs | Enumerations | Functions
xs_wire.h File Reference

Go to the source code of this file.

Data Structures

struct  xsd_errors
 
struct  xsd_sockmsg
 
struct  xenstore_domain_interface
 

Macros

#define XS_WRITE_NONE   "NONE"
 
#define XS_WRITE_CREATE   "CREATE"
 
#define XS_WRITE_CREATE_EXCL   "CREATE|EXCL"
 
#define XENSTORE_RING_SIZE   1024
 
#define MASK_XENSTORE_IDX(idx)   ((idx) & (XENSTORE_RING_SIZE-1))
 
#define XENSTORE_PAYLOAD_MAX   4096
 
#define XENSTORE_ABS_PATH_MAX   3072
 
#define XENSTORE_REL_PATH_MAX   2048
 

Typedefs

typedef uint32_t XENSTORE_RING_IDX
 

Enumerations

enum  xsd_sockmsg_type {
  XS_DEBUG, XS_DIRECTORY, XS_READ, XS_GET_PERMS,
  XS_WATCH, XS_UNWATCH, XS_TRANSACTION_START, XS_TRANSACTION_END,
  XS_INTRODUCE, XS_RELEASE, XS_GET_DOMAIN_PATH, XS_WRITE,
  XS_MKDIR, XS_RM, XS_SET_PERMS, XS_WATCH_EVENT,
  XS_ERROR, XS_IS_DOMAIN_INTRODUCED, XS_RESUME, XS_SET_TARGET,
  XS_RESTRICT, XS_RESET_WATCHES
}
 
enum  xs_watch_type { XS_WATCH_PATH = 0, XS_WATCH_TOKEN }
 

Functions

 FILE_LICENCE (MIT)
 

Macro Definition Documentation

◆ XS_WRITE_NONE

#define XS_WRITE_NONE   "NONE"

Definition at line 57 of file xs_wire.h.

◆ XS_WRITE_CREATE

#define XS_WRITE_CREATE   "CREATE"

Definition at line 58 of file xs_wire.h.

◆ XS_WRITE_CREATE_EXCL

#define XS_WRITE_CREATE_EXCL   "CREATE|EXCL"

Definition at line 59 of file xs_wire.h.

◆ XENSTORE_RING_SIZE

#define XENSTORE_RING_SIZE   1024

Definition at line 113 of file xs_wire.h.

◆ MASK_XENSTORE_IDX

#define MASK_XENSTORE_IDX (   idx)    ((idx) & (XENSTORE_RING_SIZE-1))

Definition at line 115 of file xs_wire.h.

◆ XENSTORE_PAYLOAD_MAX

#define XENSTORE_PAYLOAD_MAX   4096

Definition at line 124 of file xs_wire.h.

◆ XENSTORE_ABS_PATH_MAX

#define XENSTORE_ABS_PATH_MAX   3072

Definition at line 127 of file xs_wire.h.

◆ XENSTORE_REL_PATH_MAX

#define XENSTORE_REL_PATH_MAX   2048

Definition at line 128 of file xs_wire.h.

Typedef Documentation

◆ XENSTORE_RING_IDX

Definition at line 114 of file xs_wire.h.

Enumeration Type Documentation

◆ xsd_sockmsg_type

Enumerator
XS_DEBUG 
XS_DIRECTORY 
XS_READ 
XS_GET_PERMS 
XS_WATCH 
XS_UNWATCH 
XS_TRANSACTION_START 
XS_TRANSACTION_END 
XS_INTRODUCE 
XS_RELEASE 
XS_GET_DOMAIN_PATH 
XS_WRITE 
XS_MKDIR 
XS_RM 
XS_SET_PERMS 
XS_WATCH_EVENT 
XS_ERROR 
XS_IS_DOMAIN_INTRODUCED 
XS_RESUME 
XS_SET_TARGET 
XS_RESTRICT 
XS_RESET_WATCHES 

Definition at line 31 of file xs_wire.h.

◆ xs_watch_type

Enumerator
XS_WATCH_PATH 
XS_WATCH_TOKEN 

Definition at line 103 of file xs_wire.h.

104 {
105  XS_WATCH_PATH = 0,
107 };

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( MIT  )