Rename http_message.h to http_types.h
This commit is contained in:
parent
b89ec823b8
commit
533f695dcb
|
@ -1,5 +1,5 @@
|
|||
#include "http_client.h"
|
||||
#include "../common/http_message.h"
|
||||
#include "../common/http_types.h"
|
||||
#include "http_socket.h"
|
||||
#include <stdbool.h>
|
||||
#include <stdio.h>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef HTTP_SOCKET_H
|
||||
#define HTTP_SOCKET_H
|
||||
|
||||
#include "../common/http_message.h"
|
||||
#include "../common/http_types.h"
|
||||
|
||||
#define HTTP_VERSION "HTTP/1.1"
|
||||
#define MIN_PORT 1
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
#ifndef HTTP_MESSAGE_H
|
||||
#define HTTP_MESSAGE_H
|
||||
#ifndef HTTP_TYPES_H
|
||||
#define HTTP_TYPES_H
|
||||
|
||||
struct http_message {
|
||||
char *address;
|
||||
int port;
|
||||
char *path;
|
||||
char *contents;
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Reference in a new issue