https.c File Reference

Secure Hyper Text Transfer Protocol (HTTPS). More...

#include <stddef.h>
#include <gpxe/open.h>
#include <gpxe/tls.h>
#include <gpxe/http.h>
#include <gpxe/features.h>

Go to the source code of this file.

Functions

 FILE_LICENCE (GPL2_OR_LATER)
 FEATURE (FEATURE_PROTOCOL,"HTTPS", DHCP_EB_FEATURE_HTTPS, 1)
static int https_open (struct xfer_interface *xfer, struct uri *uri)
 Initiate an HTTPS connection.

Variables

struct uri_opener https_uri_opener __uri_opener
 HTTPS URI opener.


Detailed Description

Secure Hyper Text Transfer Protocol (HTTPS).

Definition in file https.c.


Function Documentation

FILE_LICENCE ( GPL2_OR_LATER   ) 

FEATURE ( FEATURE_PROTOCOL  ,
"HTTPS"  ,
DHCP_EB_FEATURE_HTTPS  ,
 
)

static int https_open ( struct xfer_interface xfer,
struct uri uri 
) [static]

Initiate an HTTPS connection.

Parameters:
xfer Data transfer interface
uri Uniform Resource Identifier
Return values:
rc Return status code

Definition at line 43 of file https.c.

References add_tls(), http_open_filter(), and HTTPS_PORT.

00043                                                                        {
00044         return http_open_filter ( xfer, uri, HTTPS_PORT, add_tls );
00045 }


Variable Documentation

struct uri_opener https_uri_opener __uri_opener

Initial value:

 {
        .scheme = "https",
        .open   = https_open,
}
HTTPS URI opener.

Definition at line 48 of file https.c.


Generated on Tue Apr 6 20:01:56 2010 for gPXE by  doxygen 1.5.7.1