summaryrefslogtreecommitdiffstats
path: root/qemu/roms/ipxe/src/include/ipxe/http.h
blob: cf8c0c7fa4a549d74793695dc17e259f9f779880 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef _IPXE_HTTP_H
#define _IPXE_HTTP_H

/** @file
 *
 * Hyper Text Transport Protocol
 *
 */

FILE_LICENCE ( GPL2_OR_LATER );

/** HTTP default port */
#define HTTP_PORT 80

/** HTTPS default port */
#define HTTPS_PORT 443

extern int http_open_filter ( struct interface *xfer, struct uri *uri,
			      unsigned int default_port,
			      int ( * filter ) ( struct interface *,
						 const char *,
						 struct interface ** ) );

#endif /* _IPXE_HTTP_H */