![](/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-06
- Revision:
- 44:cc4996469404
- Parent:
- 43:455522f98de5
- Child:
- 45:c80574f24dc3
File content as of revision 44:cc4996469404:
#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 * 2 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 char * prompt_process( char * ethernet_pkg ); void init_fsystem(); void init_prompt(); extern bool from_eth; extern bool tcp_session; extern TCPSocketServer server; extern TCPSocketConnection eth_client; extern Timer tcp_timer; extern bool udp_pkg; extern bool tcp_pkg; extern bool from_eth; extern bool udp_request; extern char * debug_buf; #endif