Modularizando o src
Dependencies: EALib EthernetInterface_vz mbed-rtos mbed
Fork of header_main_colinas_V0-20-09-14 by
Diff: main_app_functions.h
- Revision:
- 121:ee02790d00b7
- Parent:
- 120:770f00554b1e
- Child:
- 123:1d395b5a4cad
diff -r 770f00554b1e -r ee02790d00b7 main_app_functions.h --- a/main_app_functions.h Mon May 04 17:25:29 2015 +0000 +++ b/main_app_functions.h Fri May 08 04:15:23 2015 +0000 @@ -0,0 +1,59 @@ +#ifndef __MAIN_APP_FUNCTIONS_H__ +#define __MAIN_APP_FUNCTIONS_H__ + +#include "main_app_var_configs.h" + +int header_app_init ( void ); +int try_reconnect_with_eth ( void ); +int show_stats ( void ); +int reset_stats ( void ); +int show_cb_list ( Vector * v_cb ); +int show_cb_long_list ( Vector * v_cb ); +int show_cb ( Vector * v_cb ); +int show_cb_sip ( Vector * v_cb ); +int show_sizes ( void ); +int check_udp_packages_pending ( Vector * v_cb ); +int show_cb_content ( void ); +int show_cb_content_all ( void ); +int show_rtp ( void ); +int fuck_rtp ( Vector * v_cb ); +int show_hex_cb_content ( void ); +int show_hex_cb_content_all ( void ); +int show_cB_sip ( void ); +int show_cB_sip_all ( void ); +int show_cB_hex_sip ( void ); +int show_rtp_on_call ( void ); +int show_call ( void ); +int show_hex_call ( void ); +int show_cb_rtp ( void ); +int show_cb_hex_rtp ( void ); +int reset_stats_cks ( void ); +int show_cb_stats ( void ); + +// zera os contadores de pacotes que resultaram em falha de envio vio ETH +int reset_missed_send_udp ( void ); + +// exibe estatisticas de pacotes que resultaram em falha de envio na interface ETH +int show_missed_send_udp_pkg ( void ); + +int invite_ack_to_cb_handler ( Vector * v_cb, Vector * v_call ); + +int check_audio_from_ast ( Vector * v_cb, Vector * v_call ); + +int wake_up_or_refresh_handler ( Vector * v_cb ); + +int check_sip_messages_from_ast ( Vector * v_cb, Vector * v_call ); + +/* rotina de verificação de TS's perdidos */ +int check_for_runaways_ts ( Vector * v_cb, Timeslice * ts ); + +int show_wdt_status ( void ); + +int wdt_update ( void ); + +/* rotina "zeradora" de portas RTP */ +int check_for_unwanted_rtp_ports ( Vector * v_cb ); + +int process_received_pkg_from_cbx ( void ); + +#endif \ No newline at end of file