![](/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@121:ee02790d00b7, 2015-05-08 (annotated)
- Committer:
- klauss
- Date:
- Fri May 08 04:15:23 2015 +0000
- Revision:
- 121:ee02790d00b7
- Parent:
- 120:770f00554b1e
- Child:
- 123:1d395b5a4cad
compiling
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
klauss | 121:ee02790d00b7 | 1 | #ifndef __MAIN_APP_FUNCTIONS_H__ |
klauss | 121:ee02790d00b7 | 2 | #define __MAIN_APP_FUNCTIONS_H__ |
klauss | 121:ee02790d00b7 | 3 | |
klauss | 121:ee02790d00b7 | 4 | #include "main_app_var_configs.h" |
klauss | 121:ee02790d00b7 | 5 | |
klauss | 121:ee02790d00b7 | 6 | int header_app_init ( void ); |
klauss | 121:ee02790d00b7 | 7 | int try_reconnect_with_eth ( void ); |
klauss | 121:ee02790d00b7 | 8 | int show_stats ( void ); |
klauss | 121:ee02790d00b7 | 9 | int reset_stats ( void ); |
klauss | 121:ee02790d00b7 | 10 | int show_cb_list ( Vector * v_cb ); |
klauss | 121:ee02790d00b7 | 11 | int show_cb_long_list ( Vector * v_cb ); |
klauss | 121:ee02790d00b7 | 12 | int show_cb ( Vector * v_cb ); |
klauss | 121:ee02790d00b7 | 13 | int show_cb_sip ( Vector * v_cb ); |
klauss | 121:ee02790d00b7 | 14 | int show_sizes ( void ); |
klauss | 121:ee02790d00b7 | 15 | int check_udp_packages_pending ( Vector * v_cb ); |
klauss | 121:ee02790d00b7 | 16 | int show_cb_content ( void ); |
klauss | 121:ee02790d00b7 | 17 | int show_cb_content_all ( void ); |
klauss | 121:ee02790d00b7 | 18 | int show_rtp ( void ); |
klauss | 121:ee02790d00b7 | 19 | int fuck_rtp ( Vector * v_cb ); |
klauss | 121:ee02790d00b7 | 20 | int show_hex_cb_content ( void ); |
klauss | 121:ee02790d00b7 | 21 | int show_hex_cb_content_all ( void ); |
klauss | 121:ee02790d00b7 | 22 | int show_cB_sip ( void ); |
klauss | 121:ee02790d00b7 | 23 | int show_cB_sip_all ( void ); |
klauss | 121:ee02790d00b7 | 24 | int show_cB_hex_sip ( void ); |
klauss | 121:ee02790d00b7 | 25 | int show_rtp_on_call ( void ); |
klauss | 121:ee02790d00b7 | 26 | int show_call ( void ); |
klauss | 121:ee02790d00b7 | 27 | int show_hex_call ( void ); |
klauss | 121:ee02790d00b7 | 28 | int show_cb_rtp ( void ); |
klauss | 121:ee02790d00b7 | 29 | int show_cb_hex_rtp ( void ); |
klauss | 121:ee02790d00b7 | 30 | int reset_stats_cks ( void ); |
klauss | 121:ee02790d00b7 | 31 | int show_cb_stats ( void ); |
klauss | 121:ee02790d00b7 | 32 | |
klauss | 121:ee02790d00b7 | 33 | // zera os contadores de pacotes que resultaram em falha de envio vio ETH |
klauss | 121:ee02790d00b7 | 34 | int reset_missed_send_udp ( void ); |
klauss | 121:ee02790d00b7 | 35 | |
klauss | 121:ee02790d00b7 | 36 | // exibe estatisticas de pacotes que resultaram em falha de envio na interface ETH |
klauss | 121:ee02790d00b7 | 37 | int show_missed_send_udp_pkg ( void ); |
klauss | 121:ee02790d00b7 | 38 | |
klauss | 121:ee02790d00b7 | 39 | int invite_ack_to_cb_handler ( Vector * v_cb, Vector * v_call ); |
klauss | 121:ee02790d00b7 | 40 | |
klauss | 121:ee02790d00b7 | 41 | int check_audio_from_ast ( Vector * v_cb, Vector * v_call ); |
klauss | 121:ee02790d00b7 | 42 | |
klauss | 121:ee02790d00b7 | 43 | int wake_up_or_refresh_handler ( Vector * v_cb ); |
klauss | 121:ee02790d00b7 | 44 | |
klauss | 121:ee02790d00b7 | 45 | int check_sip_messages_from_ast ( Vector * v_cb, Vector * v_call ); |
klauss | 121:ee02790d00b7 | 46 | |
klauss | 121:ee02790d00b7 | 47 | /* rotina de verificação de TS's perdidos */ |
klauss | 121:ee02790d00b7 | 48 | int check_for_runaways_ts ( Vector * v_cb, Timeslice * ts ); |
klauss | 121:ee02790d00b7 | 49 | |
klauss | 121:ee02790d00b7 | 50 | int show_wdt_status ( void ); |
klauss | 121:ee02790d00b7 | 51 | |
klauss | 121:ee02790d00b7 | 52 | int wdt_update ( void ); |
klauss | 121:ee02790d00b7 | 53 | |
klauss | 121:ee02790d00b7 | 54 | /* rotina "zeradora" de portas RTP */ |
klauss | 121:ee02790d00b7 | 55 | int check_for_unwanted_rtp_ports ( Vector * v_cb ); |
klauss | 121:ee02790d00b7 | 56 | |
klauss | 121:ee02790d00b7 | 57 | int process_received_pkg_from_cbx ( void ); |
klauss | 121:ee02790d00b7 | 58 | |
klauss | 121:ee02790d00b7 | 59 | #endif |