Greg Hartman | 76d05dc | 2016-11-23 15:51:27 -0800 | [diff] [blame] | 1 | #ifndef _GPXE_HTTP_H |
| 2 | #define _GPXE_HTTP_H |
| 3 | |
| 4 | /** @file |
| 5 | * |
| 6 | * Hyper Text Transport Protocol |
| 7 | * |
| 8 | */ |
| 9 | |
| 10 | FILE_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 | |
| 18 | extern 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 */ |