issue #3 (rejecting http)
This commit is contained in:
2
fiche.h
2
fiche.h
@@ -60,11 +60,11 @@ const char *symbols = "abcdefghijklmnopqrstuvwxyz0123456789";
|
||||
|
||||
int create_socket();
|
||||
int create_directory(char *slug);
|
||||
int check_protocol(char *buffer);
|
||||
|
||||
void bind_to_port(int listen_socket, struct sockaddr_in serveraddr);
|
||||
void display_line(){printf("====================================\n");}
|
||||
void error(char *error_code){perror(error_code); exit(1);}
|
||||
void nerror(char *error_code){perror(error_code);}
|
||||
void display_date();
|
||||
void perform_connection(int listen_socket);
|
||||
void generate_url(char *buffer, char *slug, size_t slug_length);
|
||||
|
||||
Reference in New Issue
Block a user