![](/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
main_app_functions.h
- Committer:
- klauss
- Date:
- 2015-05-25
- Revision:
- 128:3ae1c74773a8
- Parent:
- 126:1f90756250fb
- Child:
- 132:05cd37f7e007
File content as of revision 128:3ae1c74773a8:
#ifndef __MAIN_APP_FUNCTIONS_H__ #define __MAIN_APP_FUNCTIONS_H__ #include "main_app_var_configs.h" void check_power_source ( void ); 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, bool show_time = false ); 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 ); void update_all_cb_timer ( Vector * v_cb ); int init_hello ( void ); void send_hello_to_cbx ( void ); void show_hello_status_function ( void ); void show_last_rx_pkg_from_cbx ( void ); void show_last_tx_pkg_from_cbx ( void ); #endif