1 #ifndef	__IPCAD_DISPLAY_H__
2 #define	__IPCAD_DISPLAY_H__
3 
4 void print_ip(FILE *f, struct in_addr ip);
5 void print_aligned_ip(FILE *f, struct in_addr ip);
6 
7 
8 /*
9  * Display the storage contents.
10  */
11 typedef enum {
12 	DS_ACTIVE,
13 	DS_CHECKPOINT,
14 	DS_NETFLOW,
15 } disp_storage_e;
16 int display(FILE *, disp_storage_e);
17 
18 void show_stats(FILE *f);
19 int display_internal_averages(FILE *f, const char *ifname);
20 void show_version(FILE *f);
21 void ipcad_uptime(FILE *f);
22 void display_uptime(FILE *f, time_t uptime);
23 
24 
25 
26 /*
27  * Dump the table or cache contents to the provided file pointer.
28  */
29 struct flow_s;
30 void dump_flow_table(FILE *f, struct flow_s *flow, int entries, disp_storage_e);
31 
32 
33 #endif	/* __IPCAD_DISPLAY_H__ */
34