#include <stdlib.h>#include <string.h>#include <sys/ioctl.h>#include "common_definitions.h"#include "log.h"#include "ssdp_cache.h"#include "ssdp_cache_output_format.h"
Go to the source code of this file.
Functions | |
| static void | get_window_size (int *width, int *height) |
| static void | move_cursor (int row, int col) |
| void | display_ssdp_cache (ssdp_cache_s *ssdp_cache, BOOL draw_asci) |
Functions for displaying the SSDP cache.
Definition in file ssdp_cache_display.c.
| void display_ssdp_cache | ( | ssdp_cache_s * | ssdp_cache, |
| BOOL | draw_asci | ||
| ) |
Displays the SSDP cache list as a table in the terminal.
| ssdp_cache | The SSDP cache to display. |
| draw_asci | Draw the table with ASCII characters only as oposed to UTF8. |
Definition at line 40 of file ssdp_cache_display.c.
|
static |
Read the terminal width and height.
| width | The buffer to set the width in. |
| height | The buffer to set the height in. |
Definition at line 22 of file ssdp_cache_display.c.
|
static |
Moves the terminal cursor to the given coords.
| row | The row to move the cursor to. |
| col | The column to move the cursor to. |
Definition at line 36 of file ssdp_cache_display.c.
1.8.8