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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user