1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

merge soc07 r4868:4871 - nmapoutputtable dynamic tables and traceroute fixes

This commit is contained in:
fyodor
2007-08-11 04:02:49 +00:00
parent e81becd90f
commit 1540fe57c4
4 changed files with 43 additions and 46 deletions

View File

@@ -148,8 +148,13 @@ class NmapOutputTable {
// the ASCII table in bytes (not including the terminating NUL)
char *printableTable(int *size);
// same as printableTable() but with excess empty rows removed
char *printableTrimmedTable(int *size);
private:
char *internalPrintableTable(int *size, bool trim);
bool emptyRow(unsigned int nrow);
// The table, squished into 1D. Access a member via getCellAddy
struct NmapOutputTableCell *table;
struct NmapOutputTableCell *getCellAddy(unsigned int row, unsigned int col) {