mirror of
https://github.com/sigmasternchen/Serwer
synced 2025-03-15 23:28:54 +00:00
rename of some files
This commit is contained in:
parent
306c8de7b4
commit
6378ec965e
6 changed files with 11 additions and 15 deletions
8
Makefile
8
Makefile
|
@ -17,14 +17,14 @@ all: example
|
||||||
%.o: %.c
|
%.o: %.c
|
||||||
$(CC) $(CFLAGS) -c -o $@ $<
|
$(CC) $(CFLAGS) -c -o $@ $<
|
||||||
|
|
||||||
example: example.o webserver.o ws_linear.o ws_utils.o help.o
|
example: example.o serwer.o ws_linear.o ws_utils.o help.o
|
||||||
$(CC) $(LDFLAGS) -o $@ $^
|
$(CC) $(LDFLAGS) -o $@ $^
|
||||||
|
|
||||||
example.o: example.c webserver.h
|
example.o: example.c serwer.h help.h
|
||||||
help.o: help.c help.h
|
help.o: help.c help.h
|
||||||
webserver.o: webserver.c webserver.h ws_types.h ws_modes.h ws_utils.h help.h
|
serwer.o: serwer.c serwer.h ws_types.h ws_modes.h ws_utils.h help.h
|
||||||
ws_utils.o: ws_utils.c ws_utils.h ws_types.h
|
ws_utils.o: ws_utils.c ws_utils.h ws_types.h
|
||||||
ws_linear.o: ws_linear.c ws_modes.h ws_types.h webserver.h ws_utils.h
|
ws_linear.o: ws_linear.c ws_modes.h ws_types.h serwer.h ws_utils.h
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *.o example
|
rm -f *.o example
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
#include "webserver.h"
|
#include "serwer.h"
|
||||||
#include "ws_utils.h"
|
|
||||||
#include "help.h"
|
#include "help.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include "webserver.h"
|
#include "serwer.h"
|
||||||
#include "ws_types.h"
|
#include "ws_types.h"
|
||||||
#include "ws_utils.h"
|
#include "ws_utils.h"
|
||||||
#include "ws_modes.h"
|
#include "ws_modes.h"
|
|
@ -3,13 +3,15 @@
|
||||||
|
|
||||||
#include "ws_types.h"
|
#include "ws_types.h"
|
||||||
#include "ws_modes.h"
|
#include "ws_modes.h"
|
||||||
|
#include "ws_utils.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
#define BUFFER_SIZE 1024
|
#define BUFFER_SIZE 1024
|
||||||
#define WS_HTTP_VERSION "HTTP/1.1"
|
#define WS_HTTP_VERSION "HTTP/1.1"
|
||||||
#define WS_VERSION "0.1"
|
#define WS_VERSION "0.1"
|
||||||
#define WS_NAME "SERWER"
|
#define WS_NAME "Serwer"
|
||||||
|
|
||||||
headers_t ws_headers_create(void);
|
headers_t ws_headers_create(void);
|
||||||
void ws_headers_add(headers_t*, const char*, const char*);
|
void ws_headers_add(headers_t*, const char*, const char*);
|
|
@ -1,7 +1,4 @@
|
||||||
#include "webserver.h"
|
#include "serwer.h"
|
||||||
#include "ws_types.h"
|
|
||||||
#include "ws_modes.h"
|
|
||||||
#include "ws_utils.h"
|
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
#include "webserver.h"
|
#include "serwer.h"
|
||||||
#include "ws_types.h"
|
|
||||||
#include "ws_utils.h"
|
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
Loading…
Reference in a new issue