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

Split string pool functions into separate file from osscan.cc

This commit is contained in:
dmiller
2020-01-16 19:12:57 +00:00
parent 69e310c7b8
commit dd0ace6d4a
7 changed files with 367 additions and 87 deletions

View File

@@ -217,12 +217,6 @@ struct FingerPrintDB {
/********************** PROTOTYPES ***********************************/
/* The OS database consists of many small strings, many of which appear
thousands of times. It pays to allocate memory only once for each unique
string, and have all references point at the one allocated value. */
const char *string_pool_insert(const char *s);
const char *string_pool_sprintf(const char *fmt, ...);
const char *fp2ascii(FingerPrint *FP);
/* Parses a single fingerprint from the memory region given. If a