![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Modularizando o src
Dependencies: EALib EthernetInterface_vz mbed-rtos mbed
Fork of header_main_colinas_V0-20-09-14 by
prompt.h
- Committer:
- klauss
- Date:
- 2014-10-20
- Revision:
- 50:d9b6577a70f5
- Parent:
- 48:195c97f12e8e
- Child:
- 52:12930cef17c4
File content as of revision 50:d9b6577a70f5:
#ifndef _PROMPT_H #define _PROMPT_H #include "mbed.h" #include "stdint.h" #include "configs.h" #include "vz_protocol.h" #include "parallelcpld.h" #include "flood.h" #define TCP_IDLE_MAX_TIME 60 * 3 extern uint8_t debug_sip; extern uint8_t debug_alive; extern uint8_t debug_prompt; extern uint8_t debug_vector; extern uint8_t debug_cb; extern uint8_t debug_main; extern uint8_t debug_cks; extern uint8_t debug_cb_rx; extern uint8_t debug_cb_tx; extern uint8_t debug_eth_rx; extern uint8_t debug_eth_tx; extern uint8_t debug_prompt_eth; extern uint8_t debug_file; extern uint8_t test_debug; extern uint8_t pcks_s; extern uint8_t pshowcb; extern uint8_t dog; extern FILE *fmask; // mascara de rede extern FILE *fgate; // gateway ip extern FILE *fip; // header ip extern FILE *fext; // header ext extern FILE *fport; // header sip port extern FILE *fsip; // server sip ip extern FILE *fserext; // server sip ext extern FILE *fsport; // server sip port extern FILE *fudpport; extern FILE *ftcpport; char * prompt_process( char * ethernet_pkg ); void init_fsystem(); void init_prompt(); extern bool from_eth; extern bool tcp_session; extern TCPSocketServer tcp_server; extern TCPSocketConnection tcp_client; extern Timer tcp_timer; extern UDPSocket udp_server; extern Endpoint udp_client; extern bool from_eth; extern bool udp_request; extern char * debug_buf; extern bool cb_session; extern bool cb_status; int convert_ext_to_port( int ); #endif