Startpunkten
This commit is contained in:
29
header_ftp.h
Normal file
29
header_ftp.h
Normal file
@@ -0,0 +1,29 @@
|
||||
/*================================================================
|
||||
LAB I DATAKOMMUNIKATION
|
||||
FTP_APPLICATION
|
||||
Stefan Sonesson
|
||||
Christian Ohlsson
|
||||
Karlstad 981215
|
||||
-----------------------------------------------------------------*/
|
||||
|
||||
#ifndef ___FTP_APP___
|
||||
#define ___FTP_APP___
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <fcntl.h>
|
||||
#include <sys/stat.h>
|
||||
#define FALSE 0
|
||||
#define TRUE 1
|
||||
#define ENTER 13
|
||||
#define BACKSPACE 8
|
||||
#define PERMS 0644
|
||||
#define BUFSIZE 4000
|
||||
#define FNSIZE 300
|
||||
#define SIGLEN 3
|
||||
#define S_PATH "./ftp_socket"
|
||||
#define L_PATH "./ftp_layer"
|
||||
#define STDIN 0
|
||||
int FSOCK_FD;
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user