cs-3516-assignment-1/client/http_client.h

12 lines
317 B
C
Raw Normal View History

2018-08-27 16:27:59 +00:00
#ifndef HTTP_CLIENT_H
#define HTTP_CLIENT_H
#define RTT_FLAG "-p"
#define USAGE_STRING "Usage: ./http_client [-p] server_url port_number\n"
2018-08-27 17:16:59 +00:00
#define PORT_ERROR "Port must be a number in the range 1-65535"
2018-09-03 01:13:51 +00:00
#define PROTO_PREFIX "http://"
2018-08-27 16:27:59 +00:00
void get_parts(const char *dest, char *path_buffer, char *host_buffer);
#endif