Allowed HTTPS to be a separately configurable feature.
[people/indolent/gpxe.git/.git] / src / include / gpxe / http.h
1 #ifndef _GPXE_HTTP_H
2 #define _GPXE_HTTP_H
3
4 /** @file
5  *
6  * Hyper Text Transport Protocol
7  *
8  */
9
10 /** HTTP default port */
11 #define HTTP_PORT 80
12
13 /** HTTPS default port */
14 #define HTTPS_PORT 443
15
16 extern int http_open_filter ( struct xfer_interface *xfer, struct uri *uri,
17                               unsigned int default_port,
18                               int ( * filter ) ( struct xfer_interface *,
19                                                  struct xfer_interface ** ) );
20
21 #endif /* _GPXE_HTTP_H */