65#define URI_OPENERS __table ( struct uri_opener, "uri_openers" )
68#define __uri_opener __table_entry ( URI_OPENERS, 01 )
86#define SOCKET_OPENERS __table ( struct socket_opener, "socket_openers" )
89#define __socket_opener __table_entry ( SOCKET_OPENERS, 01 )
94 const char *uri_string );
uint32_t type
Operating system type.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
struct mschapv2_challenge peer
Peer challenge.
int xfer_vreopen(struct interface *intf, int type, va_list args)
Reopen location.
int xfer_open_socket(struct interface *intf, int semantics, struct sockaddr *peer, struct sockaddr *local)
Open socket.
int xfer_open_uri(struct interface *intf, struct uri *uri)
Open URI.
@ LOCATION_SOCKET
Location is a socket.
@ LOCATION_URI
Location is a URI.
@ LOCATION_URI_STRING
Location is a URI string.
int xfer_open(struct interface *intf, int type,...)
Open location.
int xfer_open_named_socket(struct interface *intf, int semantics, struct sockaddr *peer, const char *name, struct sockaddr *local)
Open named socket.
int xfer_vopen(struct interface *intf, int type, va_list args)
Open location.
struct uri_opener * xfer_uri_opener(const char *scheme)
Find opener for URI scheme.
int xfer_open_uri_string(struct interface *intf, const char *uri_string)
Open URI string.
__builtin_va_list va_list
Generalized socket address structure.
int(* open)(struct interface *intf, struct sockaddr *peer, struct sockaddr *local)
Open socket.
int semantics
Communication semantics (e.g.
const char * scheme
URI protocol name.
int(* open)(struct interface *intf, struct uri *uri)
Open URI.
A Uniform Resource Identifier.