Go to the documentation of this file.00001
00024 #ifndef API_SERVICES_H_
00025 #define API_SERVICES_H_
00026
00027
00028
00029
00030
00031 #include "../sockets/cli_webSock.h"
00032 #include "../telnetd/telnetd.h"
00033 #include "../httpd/httpd.h"
00034 #include "../dhcp/dhcpc.h"
00035 #include "../sft/sftd.h"
00036
00037
00038
00039
00040
00041
00042
00043
00044 #define TELNET_PORT 23
00045 #define HTTP_PORT 80
00046 #define FTP_PORT 21
00047 #define SFTD_PORT 45
00048 uint32_t CHAT_PORT;
00049
00050 int global_chat_flag;
00051
00058 typedef union {
00059 struct httpd_state * http_st;
00060 struct telnetd_state telnet_st;
00061 struct chat_state * chat_st;
00062
00063 struct sftd_state * sftd_st;
00064 }uip_tcp_appstate_t;
00065
00066
00067 #endif