Teonet library  0.4.7
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
tr-udp_stat.c File Reference
#include "tr-udp.h"
#include "tr-udp_stat.h"
#include <stdlib.h>

Functions

int ksnTRUDPstatShow (trudpData *tu)
 File: tr-udp_stat.c Author: Kirill Scherba kiril.nosp@m.l@sc.nosp@m.herba.nosp@m..ru More...
 
int ksnTRUDPqueuesShow (trudpData *td)
 Show TR-UDP queues list on terminal. More...
 

Function Documentation

int ksnTRUDPqueuesShow ( trudpData *  td)
inline

Show TR-UDP queues list on terminal.

Print string with queues list on terminal.

Parameters
tdPointer to trudpData
Returns
Number if line in statistics text

References _ANSI_BROWN, _ANSI_NONE, and free().

Referenced by hotkeys_cb(), and tr_udp_idle_cb().

int ksnTRUDPstatShow ( trudpData *  tu)
inline

File: tr-udp_stat.c Author: Kirill Scherba kiril.nosp@m.l@sc.nosp@m.herba.nosp@m..ru

TR-UDP statistic

Created on August 11, 2015, 2:34 PM Show TR-UDP statistics on terminal

Print string with statistics on terminal.

Parameters
tu
Returns
Number if line in statistics text
Examples:
teoackm.c.

References calculate_lines(), and free().

Referenced by event_cb(), hotkeys_cb(), and tr_udp_idle_cb().