blob: baa6d83ee71326e3a4b3d313ee900e6c7ffb15ea [file] [log] [blame]
Greg Hartman76d05dc2016-11-23 15:51:27 -08001#ifndef _GPXE_HTTP_H
2#define _GPXE_HTTP_H
3
4/** @file
5 *
6 * Hyper Text Transport Protocol
7 *
8 */
9
10FILE_LICENCE ( GPL2_OR_LATER );
11
12/** HTTP default port */
13#define HTTP_PORT 80
14
15/** HTTPS default port */
16#define HTTPS_PORT 443
17
18extern int http_open_filter ( struct xfer_interface *xfer, struct uri *uri,
19 unsigned int default_port,
20 int ( * filter ) ( struct xfer_interface *,
21 struct xfer_interface ** ) );
22
23#endif /* _GPXE_HTTP_H */